ProIcons icon library for Svelte
npm install @proicons/svelte
alt="Version">
alt="Stars">
alt="NPM Package">
alt="License">
![]()
![]()
An implementation of the ProIcons icon library for Svelte applications.
Browse icons |
Documentation |
GitHub |
NPM
- All icons are available as customizable Svelte components
- Supports ESM tree-shaking
Read the full documentation here
Install via NPM:
``shell`
npm install @proicons/svelte
All icons are available as Svelte components named in PascalCase and may end in Icon.
To import the Add Square icon:
`svelte
`
There are several ways to import an icon into your Svelte component. These are all the same:
`javascript``
import { AddIcon } from '@proicons/svelte'
import { AddIcon } from '@proicons/svelte/icons'
import AddIcon from '@proicons/svelte/AddIcon'
If an icon you want isn't in the set, you can request an icon in discussions.
For more info on how to contribute, please see our contributing guide.