This package is still in alpha! Use at your own risk.
An unofficial port of Lucide icons.
Lucide is a fork of feather icons.
npm install --save-dev lucide-icons-svelte
<script>
import SearchIcon from "lucide-icons-svelte/search.svelte"
</script>
<SearchIcon />
You can also use named imports:
import { Search } from "lucide-icons-svelte"
This is however not recommended, as it will lead to massive performance issues while in dev mode in SvelteKit.
The following props are available:
class
All icons have the"lucide"
class by defaultsize
Sets width and heightcolor
strokeWidth
Clone this repo, run npm install
and then npm run build