Svelte component for creating Heroicon components with tailwindcss
npm i -D @bobthered/svelte-heroicons
<script>
import { Check } from '@bobthered/svelte-heroicons/small'
import { Menu } from '@bobthered/svelte-heroicons/medium'
</script>
<Check class="h-5 w-5"/>
<Menu class="h-6 w-6"/>
Prop | Default | Description |
---|---|---|
class | "" |
Add classes here for styling |
strokeWidth | 2 |
Set the stroke width for medium icons |