SuperdindaDocs
Inputs

Select

Playground

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

Select Trigger

string

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).

Size · 48

DefaultHoverOpenFocusDisabledError

Size · Default

DefaultHoverOpenFocusDisabledError

Props

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

SelectTriggerProps

PropTipoPadrãoDescrição
"48" | "default""48"Figma Size: 48 (phone forms) or Default (32, compact settings and backoffice).
ReactNode—Shown while nothing is picked; never a substitute for a label.
boolean—Error look + `aria-invalid` (Figma `State=Error`). Inside a Form Field, pass `error` there instead.
string—

SelectContentProps

PropTipoPadrãoDescrição
HTMLElement | React.RefObject<HTMLElement | ShadowRoot | null> | ShadowRoot | null—Where the popup is portalled (a dialog keeps it inside itself).
Side"bottom"
Align"start"
string—
ReactNode—

SelectItemProps

PropTipoPadrãoDescrição
ReactNode—The option label (Figma "Label").
string—

On this page