Consistent, accessible, and scalable icons for your application
import { IconSystem, ChartIcon } from '$lib/components/icons';
// Basic usage
<IconSystem icon={ChartIcon} />
// With size and color
<IconSystem
icon={ChartIcon}
size="lg"
color="primary"
/>
// Interactive icon
<IconSystem
icon={ChartIcon}
size="xl"
interactive
aria-label="View chart"
on:click={handleClick}
/>xs
12px
sm
16px
md
20px
lg
24px
xl
32px
2xl
40px
3xl
48px
default
filled
outlined
duotone
current
primary
secondary
muted
accent
destructive
success
warning
gray
white
Default
Hoverable
Interactive
Disabled
<IconSystem icon={ChartIcon} size="lg" color="primary" /><IconSystem icon={ArrowIcon} variant="outlined" interactive /><IconSystem icon={BrainIcon} size="xl" color="success" aria-label="AI Feature" /><Icon icon={ChartIcon} class="w-6 h-6 text-blue-500" /><IconSystem icon={ChartIcon} size="lg" color="primary" />Standardized sizes and colors across your app
Built-in ARIA attributes and proper contrast
Easy to update and scale your icon system
Standard icon appearance
Solid fill with current color
Stroke only, no fill
Filled with reduced opacity + stroke