0.0.5 • Published 1 year ago

sveltekit-feather-icons v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

sveltekit-feather-icons

Type-safe Feather icons support for Sveltekit.

Update: Support for Tailwind classes as well as custom global CSS classes.

Usage

<script>
	// can be imported like this
	import { Feather } from 'sveltekit-feather-icons'
	// or this
	import Feather from 'sveltekit-feather-icons/feather.svelte'
</script>

<Feather icon="github" />

<Feather icon="github" size="18" classes="text-blue-500" />

Parameters

The parameters that can be passed to Feather component are

Required

Field nameTypeDescription
iconstringname of icon; for reference search here

Optional

Field nameTypeDescription
sizestringsize of icon
colorstringcolor of icon
classesstringTailwind classes as well as custom global CSS classes
0.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago