Icons

A typed icon component with size variants, Lucide icons, and a custom icon set.

Loading preview…

Installation

Usage

Use Icon with a typed icon key and optional size. Browse the whole set with IconGallery, or import individual SVGs from icon-set directly.

1<script lang="ts">
2	import { Icon } from '~/components/icons';
3</script>
4
5<Icon icon="chevron-right" size="md" />
6<Icon icon="shopping-cart" size="lg" />