@joknoll/lucide-svelte-animated
v0.0.3
Published
Animated lucide icons in svelte.
Downloads
47
Readme
@joknoll/lucide-svelte-animated
Animated Lucide icons as Svelte 5 components.
Usage
<script lang="ts">
import { Activity, ArrowRight, Bell } from '@joknoll/lucide-svelte-animated';
</script>
<Activity />
<ArrowRight size={20} />
<Bell color="#0f766e" strokeWidth={1.5} animate />For smaller import graphs, you can import a single icon directly:
<script lang="ts">
import Activity from '@joknoll/lucide-svelte-animated/icons/activity';
</script>
<Activity />All icons are exported as named components and share the same props:
size?: numberdefault24color?: stringdefaultcurrentColorstrokeWidth?: numberdefault2animate?: booleanclass?: string
Icons animate on hover and can also be rendered in an animated state with animate.
