@ng-icons/ionicons 13.1.0 → 13.2.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,97 +1,100 @@
1
- # Ng Icons
2
-
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.
5
-
6
- Currently, we support the following libraries:
7
-
8
- - [Bootstrap Icons](https://icons.getbootstrap.com/)
9
- - [Heroicons](https://heroicons.com/)
10
- - [Ionicons](https://ionic.io/ionicons)
11
- - [Material Icons](https://fonts.google.com/icons?selected=Material+Icons)
12
- - [CSS.gg](https://css.gg/)
13
- - [Feather Icons](https://feathericons.com/)
14
- - [Jam Icons](https://jam-icons.com/)
15
- - [Octicons](https://github.com/primer/octicons)
16
- - [Radix UI Icons](https://icons.modulz.app/)
17
- - [Tabler Icons](https://tabler-icons.io/)
18
- - [Akar Icons](https://akaricons.com/)
19
-
20
- Got suggestions for additional iconsets? Create an issue and we can consider adding them!
21
-
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 |
29
-
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.
31
-
32
- ## Installation
33
-
34
- You must install the `@ng-icons/core` package, however you only need to install the iconset libraries you intend to use.
35
-
36
- E.g:
37
-
38
- ```bash
39
- npm i @ng-icons/core @ng-icons/heroicons ...
40
- ```
41
-
42
- or
43
-
44
- ```bash
45
- yarn add @ng-icons/core @ng-icons/heroicons ...
46
- ```
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
-
67
- ## Usage
68
-
69
- Import the `NgIconsModule` and register the icons you wish to use:
70
-
71
- ```ts
72
- import { NgIconsModule } from '@ng-icons/core';
73
- import { FeatherAirplay } from '@ng-icons/feather-icons';
74
- import { HeroUsers } from '@ng-icons/heroicons';
75
-
76
- @NgModule({
77
- imports: [
78
- BrowserModule,
79
- NgIconsModule.withIcons({ FeatherAirplay, HeroUsers }),
80
- ],
81
- })
82
- export class AppModule {}
83
- ```
84
-
85
- You can register icons in multiple modules, this allows icons to be lazy loaded in child modules.
86
-
87
- You can then use the icon in your templates:
88
-
89
- ```html
90
- <ng-icon name="feather-airplay"></ng-icon>
91
- ```
92
-
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. |
1
+
2
+ <img width="847" alt="logo" src="https://user-images.githubusercontent.com/20795331/142078474-da890691-b524-4144-9640-2f7f9da3a3a3.png">
3
+
4
+ # Ng Icons
5
+
6
+ The all-in-one icon library for Angular. This allows you to use icons from multiple icon sets with a single icon component.
7
+ Containing over 17000+ icons for you to use in your projects.
8
+
9
+ Currently, we support the following libraries:
10
+
11
+ - [Bootstrap Icons](https://icons.getbootstrap.com/)
12
+ - [Heroicons](https://heroicons.com/)
13
+ - [Ionicons](https://ionic.io/ionicons)
14
+ - [Material Icons](https://fonts.google.com/icons?selected=Material+Icons)
15
+ - [CSS.gg](https://css.gg/)
16
+ - [Feather Icons](https://feathericons.com/)
17
+ - [Jam Icons](https://jam-icons.com/)
18
+ - [Octicons](https://github.com/primer/octicons)
19
+ - [Radix UI Icons](https://icons.modulz.app/)
20
+ - [Tabler Icons](https://tabler-icons.io/)
21
+ - [Akar Icons](https://akaricons.com/)
22
+
23
+ Got suggestions for additional iconsets? Create an issue and we can consider adding them!
24
+
25
+ ## Supported Versions
26
+
27
+ | Angular Version | Ng Icon Version |
28
+ | --------------- | ------------------ |
29
+ | 11.x.x | 12.x.x |
30
+ | 12.x.x | 13.x.x (or 12.x.x) |
31
+ | 13.x.x | 13.x.x |
32
+
33
+ > 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.
34
+
35
+ ## Installation
36
+
37
+ You must install the `@ng-icons/core` package, however you only need to install the iconset libraries you intend to use.
38
+
39
+ E.g:
40
+
41
+ ```bash
42
+ npm i @ng-icons/core @ng-icons/heroicons ...
43
+ ```
44
+
45
+ or
46
+
47
+ ```bash
48
+ yarn add @ng-icons/core @ng-icons/heroicons ...
49
+ ```
50
+
51
+ ## Packages
52
+
53
+ The following packages are available:
54
+
55
+ | Package | License |
56
+ | --------------------------- | ---------- |
57
+ | `@ng-icons/core` | MIT |
58
+ | `@ng-icons/bootstrap-icons` | MIT |
59
+ | `@ng-icons/heroicons` | MIT |
60
+ | `@ng-icons/ionicons` | MIT |
61
+ | `@ng-icons/material-icons` | Apache 2.0 |
62
+ | `@ng-icons/css.gg` | MIT |
63
+ | `@ng-icons/feather-icons` | MIT |
64
+ | `@ng-icons/jam-icons` | MIT |
65
+ | `@ng-icons/octicons` | MIT |
66
+ | `@ng-icons/radix-icons` | MIT |
67
+ | `@ng-icons/tabler-icons` | MIT |
68
+ | `@ng-icons/akar-icons` | MIT |
69
+
70
+ ## Usage
71
+
72
+ Import the `NgIconsModule` and register the icons you wish to use:
73
+
74
+ ```ts
75
+ import { NgIconsModule } from '@ng-icons/core';
76
+ import { FeatherAirplay } from '@ng-icons/feather-icons';
77
+ import { HeroUsers } from '@ng-icons/heroicons';
78
+
79
+ @NgModule({
80
+ imports: [
81
+ BrowserModule,
82
+ NgIconsModule.withIcons({ FeatherAirplay, HeroUsers }),
83
+ ],
84
+ })
85
+ export class AppModule {}
86
+ ```
87
+
88
+ You can register icons in multiple modules, this allows icons to be lazy loaded in child modules.
89
+
90
+ You can then use the icon in your templates:
91
+
92
+ ```html
93
+ <ng-icon name="feather-airplay"></ng-icon>
94
+ ```
95
+
96
+ | Name | Type | Description |
97
+ | ----------- | -------------------- | ---------------------------------------------------------------------------------- |
98
+ | size | `string` | Define the size of the icon. This defaults to the current font size. |
99
+ | color | `string` | Define the color of the icon. This defaults to the current text color. |
100
+ | strokeWidth | `string` \| `number` | Define the stroke-width of the icon. This only works on iconsets that use strokes. |