Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

svelte-lucide-icons

siarie69ISC0.6.0TypeScript support: included

Lucide icon as Svelte components

svelte, svelte component, icon, svg, lucide

readme

svelte-lucide-icons

npm version GitHub Workflow Status

Svelte Package for Lucide Icons

Installation

$ npm install svelte-lucide-icons # or using yarn

Usage

<script>
  import { Activity, Camera } from 'svelte-lucide-icons'
  // or
  import Bookmark from 'svelte-lucide-icons/icons/Bookmark.svelte'
</script>

<Activity fill="#ff00ff" />
<Camera size={48}/>
<Bookmark stroke="#ff0000"/>