RootUI
Icon

Icon

Primitive SVG component using a spritesheet.

Set up with Vite using vite-plugin-icons-spritesheet with exported types.

<Icon name="star" />
<Icon name="magnifying-glass" />
<Icon name="person-to-portal" />

Props

name

name?: Icons;

The name of the icon.