Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion docs/usage/svg/astro/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@ npm i -D astro-icon

## Usage

Astro Icon can inline SVG directly in your HTML:
After choosing your desired icon set, ensure you install it into your Astro project - preferrably as a dev dependency. For example, let us choose the Material Design iconset.

```sh
npm i -D @iconify-json/mdi
```

Astro Icon can now inline SVG directly in your HTML:

```astro
---
Expand Down