@ng-icons/heroicons 12.5.0 → 13.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,31 +1,35 @@
1
1
  # Ng Icons
2
2
 
3
3
  The all-in-one icon library for Angular. This allows you to use icons from multiple icon sets with a single icon component.
4
+ Containing over 17000+ icons for you to use in your projects.
4
5
 
5
6
  Currently, we support the following libraries:
6
7
 
8
+ - [Bootstrap Icons](https://icons.getbootstrap.com/)
7
9
  - [Heroicons](https://heroicons.com/)
10
+ - [Ionicons](https://ionic.io/ionicons)
11
+ - [Material Icons](https://fonts.google.com/icons?selected=Material+Icons)
8
12
  - [CSS.gg](https://css.gg/)
9
13
  - [Feather Icons](https://feathericons.com/)
10
14
  - [Jam Icons](https://jam-icons.com/)
11
15
  - [Octicons](https://github.com/primer/octicons)
12
16
  - [Radix UI Icons](https://icons.modulz.app/)
13
17
  - [Tabler Icons](https://tabler-icons.io/)
18
+ - [Akar Icons](https://akaricons.com/)
14
19
 
15
20
  Got suggestions for additional iconsets? Create an issue and we can consider adding them!
16
21
 
17
- ## Installation
22
+ ## Supported Versions
23
+
24
+ | Angular Version | Ng Icon Version |
25
+ | --------------- | ------------------ |
26
+ | 11.x.x | 12.x.x |
27
+ | 12.x.x | 13.x.x (or 12.x.x) |
28
+ | 13.x.x | 13.x.x |
18
29
 
19
- Ng Icons consists of multiple packages:
30
+ > Note: Ng Icons relies on modern browser features and is designed to work on evergreen browsers. We do not support older browsers such as IE11.
20
31
 
21
- - `@ng-icons/core` - This contains the icon component and the `NgIconsModule` that is used to register the icons you want to include in your application.
22
- - `@ng-icons/heroicons` - The Heroicons iconset including both outline and solid variants.
23
- - `@ng-icons/css.gg` - The CSS.gg iconset.
24
- - `@ng-icons/feather-icons` - The Feather Icons iconset.
25
- - `@ng-icons/jam-icons` - The Jam Icons iconset.
26
- - `@ng-icons/octicons` - The Octicons iconset.
27
- - `@ng-icons/radix-icons` - The Radix UI iconset.
28
- - `@ng-icons/tabler-icons` - The Tabler iconset.
32
+ ## Installation
29
33
 
30
34
  You must install the `@ng-icons/core` package, however you only need to install the iconset libraries you intend to use.
31
35
 
@@ -41,6 +45,25 @@ or
41
45
  yarn add @ng-icons/core @ng-icons/heroicons ...
42
46
  ```
43
47
 
48
+ ## Packages
49
+
50
+ The following packages are available:
51
+
52
+ | Package | License |
53
+ | --------------------------- | ---------- |
54
+ | `@ng-icons/core` | MIT |
55
+ | `@ng-icons/bootstrap-icons` | MIT |
56
+ | `@ng-icons/heroicons` | MIT |
57
+ | `@ng-icons/ionicons` | MIT |
58
+ | `@ng-icons/material-icons` | Apache 2.0 |
59
+ | `@ng-icons/css.gg` | MIT |
60
+ | `@ng-icons/feather-icons` | MIT |
61
+ | `@ng-icons/jam-icons` | MIT |
62
+ | `@ng-icons/octicons` | MIT |
63
+ | `@ng-icons/radix-icons` | MIT |
64
+ | `@ng-icons/tabler-icons` | MIT |
65
+ | `@ng-icons/akar-icons` | MIT |
66
+
44
67
  ## Usage
45
68
 
46
69
  Import the `NgIconsModule` and register the icons you wish to use:
@@ -67,7 +90,8 @@ You can then use the icon in your templates:
67
90
  <ng-icon name="feather-airplay"></ng-icon>
68
91
  ```
69
92
 
70
- | Name | Type | Description |
71
- | ----------- | ---------------- | ------------------------------------ |
72
- | size | string | Define the size of the icon. |
73
- | strokeWidth | string \| number | Define the stroke-width of the icon. |
93
+ | Name | Type | Description |
94
+ | ----------- | -------------------- | ---------------------------------------------------------------------------------- |
95
+ | size | `string` | Define the size of the icon. This defaults to the current font size. |
96
+ | color | `string` | Define the color of the icon. This defaults to the current text color. |
97
+ | strokeWidth | `string` \| `number` | Define the stroke-width of the icon. This only works on iconsets that use strokes. |