Icon

The Icon component provides a reusable pattern for icon in the interface.

Size

API

Parameter Default Description
inherit Sizes: xs, sm, md, lg, xl, xxl
A label on the icon
The icon name or a url to a svg file
The color of the icon
A custom HEX color
span Icon HTML tag
If the icons should be filled or not
false If the icon is decorative only or serves a purpose.

CSS API

Variable Default Type Values Description
var(--base) range - Main unit that drives radius and spacing scales.