Skip to content
TrademarkTrademark
Docs
Basics

Icons

Updated: November 28, 2026

Once UI ships its own icons: 178 names drawn on a 24 grid with a 1.5 stroke, each in a line and a solid version. The SVG data is inlined in the package, so there is no icon dependency to install, and every icon is one Icon component away.

Pick an icon below to see it at every size, then try it in your theme's colours, line or solid, and with round or square caps. Copy the name or the JSX when you have the one you want.

sparkle
<Icon name="sparkle" />

Shape follows your theme

Icons take their caps and joins from the theme's border style. They are round by default and square and mitred under data-border="conservative", so crisp corners get crisp icons with no extra prop. "Square" above previews that.

Line and solid

Line is the default. variant="solid" draws the filled version, for a selected tab or nav item, say. The solid set is its own entry, so only apps that use it ship it: register it once on IconProvider.

Colour and size

An icon is currentColor, so it takes the colour of the text around it. Set onBackground or onSolid to give it its own, and size (xs to xl) to set how large it draws. See Icon for every prop.

Typed names

name is typed as IconName, a union of the built-in names, so a typo is a build error rather than a blank space at runtime. The list is exported as iconLibrary, and BuiltInIconName is the type of its keys, if you need to build your own picker:

Your own icons

To add icons from react-icons, another set, or hand-written SVG, and to extend IconName with them, see IconProvider.

Edit this page on GitHub