Foundations
Icons
omaris ships none, on purpose. Any set works.
An icon set is a taste decision and a bundle decision, and both are yours. So omaris bundles none. Every component sizes and colours whatever <svg> you hand it — [&_svg]:size-* at its own density, currentColor for its tone — which means any set works and none is required.
Any svg
Hand a component an <svg>; it sets the size and the colour.
<script lang="ts"> import { Button, IconButton, Chip } from 'omaris';</script>{#snippet search()} <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"> <circle cx="11" cy="11" r="7" /><path d="m20 20-3.5-3.5" stroke-linecap="round" /> </svg>{/snippet}<Button>{@render search()}Search</Button><Button variant="tonal" size="md">{@render search()}Bigger</Button><IconButton aria-label="Search">{@render search()}</IconButton><Chip>{#snippet start()}{@render search()}{/snippet}Filtered</Chip> The recommendation
Lucide: 24×24, stroked, currentColor. It is what omaris's own built-in glyphs are drawn to match, so a mixed page looks deliberate.
omaris init installs it for you. By hand:
bun add @lucide/svelte <script> import { Search, Trash2 } from '@lucide/svelte'; import { Button, IconButton } from 'omaris';</script><Button><Search />Search</Button><IconButton aria-label="Delete"><Trash2 /></IconButton> For a closer match to Material, use @iconify/svelte with the material-symbols:* set.
Where icons go
Most components take an icon as a snippet in a named slot rather than as children, because the position matters:
<Input label="Search"> {#snippet start()}<Search />{/snippet}</Input><Chip> {#snippet start()}<Filter />{/snippet} Filtered</Chip> Each component page lists its snippet props under Props — start, end, icon, badge and so on.
Sizing
Don't set a size on the icon. The component does it, at its own density, and a size of your own will fight the component at every breakpoint. If you need a different size, that is usually the component's size prop.