4.12.3 • Published 7 months ago

@proicons/svelte v4.12.3

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

ProIcons for Svelte

Features

  • All icons are available as customizable Svelte components
  • Supports ESM tree-shaking

Read the full documentation here

Installation

Install via NPM:

npm install @proicons/svelte

Usage

All icons are available as Svelte components named in PascalCase and may end in Icon.

To import the Add Square icon:

<script>
import { SearchIcon } from '@proicons/svelte'

</script>

<SearchIcon color="red" size={32} />

There are several ways to import an icon into your Svelte component. These are all the same:

import { AddIcon } from '@proicons/svelte'
import { AddIcon } from '@proicons/svelte/icons'
import AddIcon from '@proicons/svelte/AddIcon'

Contributing

For more info on how to contribute, please see our contributing guide.

4.12.3

7 months ago

4.12.2

7 months ago

4.12.1

10 months ago

4.12.0

10 months ago

4.11.4

11 months ago

4.11.2

12 months ago