Svelte VK Icons

SVG icons, provided as a Svelte components.

Based on VKCOM/icons

Setup

npm i @sveltevk/icons

Example

<script>
    import Icon24Cancel from '@sveltevk/icons/dist/24/cancel';
</script>

<Icon24Cancel />

or base import:

<script>
    import { Icon24LogoVk } from '@sveltevk/icons';
</script>

<Icon24LogoVk width={20} height={20} color="#4bb34b" />

Note: Even if using the base import method, a modern application bundler like Rollup or webpack should tree shake unused imports.

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes