Icon

A Lucide icon by kebab-case name (for example "arrow-right"), or an A2UI icon name (for example "arrowBack"). Set label when no text next to the icon says what it means.

Examples

Loading examples…

Props

PropTypeDescription
namestring | objectA Lucide icon name in kebab-case ("arrow-right"), an A2UI icon name ("arrowBack"), or { "svgPath" } on a 24px grid
labelstringWhat the icon means, for screen readers. Leave it unset when text next to the icon says the same
size"sm" | "md" | "lg" | "xl" | numberDefault "md"
colorstring
inlinebooleanDefault false
strokeWeight"normal" | "medium" | "semibold" | "bold"The stroke width
weightnumberflex-grow in a Row or Column

Link to Icon · All standard components

On this page