SuperdindaDocs
Foundations

Icon

The DS icon wrapper (Figma "Icon/*" instances on Components 162:3, no component set).

Fixes the size from the 4 px grid, keeps colour on currentColor and decides the accessibility role in one place.

<Icon icon={ShieldCheck} size="20" label="Protegido" />

Playground

Um preset por valor do primeiro eixo do Figma. Mude as props; dsState força hover, foco ou pressionado, como na matriz.

Icon

Variantes, tamanhos e estados

Cada célula é o componente real, marcada com a variante do Figma que reproduz (passe o mouse pra ver o node).

Glyph · shield-check

SizeIcon
12
14
16
20
24

Glyph · plus

SizeIcon
24

Glyph · x

SizeIcon
24

Glyph · arrow-right

SizeIcon
24

Glyph · check

SizeIcon
24

Glyph · google

SizeIcon
24

Glyph · apple

SizeIcon
24

Props

As props que o arquivo do DS declara. O componente também repassa as do primitivo (base-ui), quando ele tem um.

PropTipoPadrãoDescrição
IconGlyph—The glyph: a lucide-react icon or a provider icon from this family.
"12" | "14" | "16" | "20" | "24" | null"16"
string—Accessible name. Without it the icon is decorative (aria-hidden), which is right whenever text next to it already says the same thing.
string—

On this page