Skip to content
This repository was archived by the owner on Sep 26, 2022. It is now read-only.

Commit cfc5e43

Browse files
docs: update icons page
Signed-off-by: Florian-Schoenherr <[email protected]>
1 parent 2c4f4f3 commit cfc5e43

File tree

1 file changed

+9
-3
lines changed
  • packages/docs/src/routes/components

1 file changed

+9
-3
lines changed

packages/docs/src/routes/components/icons.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,13 @@ related:
2020

2121
# Icons
2222

23-
The `Icon` component provides a large set of glyphs to provide context to various aspects of your application. We recommend the official [Material Design Icons](https://materialdesignicons.com/) page. To use any of these icons simply use the mdi- prefix followed by the icon name.
23+
The `Icon` component allows to provide visual context to various aspects of your application. It is iconset agnostic, so you can use any icon from any vendor you like.
24+
25+
:warning: Don't use a webfont, like we are doing here. Use a library which just exports svg path data.
26+
27+
We recommend the @mdi/js library:
28+
`npm install @mdi/js`
29+
See: [Material Design Icons](https://materialdesignicons.com/).
2430

2531
## Playground
2632

@@ -36,9 +42,9 @@ Icons come in two themes (light and dark), and can have any size.
3642

3743
Below is a collection of simple to complex examples.
3844

39-
### Types of Icons
45+
### Icon size and spinning
4046

41-
The `Icon` component is iconset agnostic, you can use any icon from any vendor you like. Just include thier icon font file if you want to use them.
47+
You can specify if the icon should spin.
4248
<Components.Example file="Icon/types" />
4349

4450
### Color

0 commit comments

Comments
 (0)