Animated Lucide icons as Svelte 5 components.
<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 24color?: string default currentColorstrokeWidth?: number default 2animate?: booleanclass?: stringIcons animate on hover and can also be rendered in an animated state with animate.