Skip to content

Commit 56d43b2

Browse files
authored
docs: explain how to install icon sets (#2045)
1 parent 8f530f7 commit 56d43b2

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

docs/features/icons.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,23 @@ The naming follows [Iconify](https://iconify.design/)'s convention of `{collecti
2121
- `<logos-vue />` - <logos-vue /> from [SVG Logos](https://github.com/gilbarbara/logos) - [`@iconify-json/logos`](https://npmjs.com/package/@iconify-json/logos)
2222
- And much more...
2323

24-
Browse and search for all the icons available with [Icônes](https://icones.js.org/).
24+
::: code-group
25+
26+
```bash [pnpm]
27+
pnpm add @iconify-json/[the-collection-you-want]
28+
```
29+
30+
```bash [npm]
31+
npm install @iconify-json/[the-collection-you-want]
32+
```
33+
34+
```bash [yarn]
35+
yarn add @iconify-json/[the-collection-you-want]
36+
```
37+
38+
:::
39+
40+
We use [Iconify](https://iconify.design) as our data source of icons. You need to install the corresponding icon-set in `dependencies` by following the `@iconify-json/*` pattern. For example, `@iconify-json/mdi` for [Material Design Icons](https://materialdesignicons.com/), `@iconify-json/tabler` for [Tabler](https://tabler-icons.io/). You can refer to [Icônes](https://icones.js.org/) or [Iconify](https://icon-sets.iconify.design/) for all the collections available.
2541

2642
### Styling Icons
2743

0 commit comments

Comments
 (0)