lucide-icons-svelte

0.1.0 • Public • Published

lucide-icons-svelte

This package is still in alpha! Use at your own risk.

An unofficial port of Lucide icons.
Lucide is a branch of feather icons.

Usage

Install

npm install --save-dev lucide-icons-svelte

Import as component

<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.

Props

The following props are available:

  • class All icons have the "lucide" class by default
  • size Sets width and height
  • color
  • strokeWidth

Compiling

Clone this repo, run npm install and then npm run build

Package Sidebar

Install

npm i lucide-icons-svelte

Weekly Downloads

0

Version

0.1.0

License

ISC

Unpacked Size

1.95 MB

Total Files

1031

Last publish

Collaborators

  • electronicblueberry