0.0.5 • Published 2 years ago

sveltekit-feather-icons v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago