lucide-svelte-animated Svelte Themes

Lucide Svelte Animated

Animated lucide icons in svelte.

@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?: number default 24
  • color?: string default currentColor
  • strokeWidth?: number default 2
  • animate?: boolean
  • class?: string

Icons animate on hover and can also be rendered in an animated state with animate.

Top categories

Loading Svelte Themes