SuperdindaDocs
Inputs

RadioGroup

Playground

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

Radio Group

string
string
boolean

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

Orientation · Vertical

DefaultErrorDisabled
Por quanto tempo?
Por quanto tempo?

Escolha por quanto tempo pausar.

Por quanto tempo?

Orientation · Horizontal

DefaultErrorDisabled
Por quanto tempo?
Por quanto tempo?

Escolha por quanto tempo pausar.

Por quanto tempo?

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
ReactNode—The group label (Figma "Legend"). Without it, pass `aria-label`.
booleanfalseRed asterisk on the legend and `aria-required` on the group.
ReactNode—Validation message under the options (Figma "Field Error"); makes the group invalid.
boolean—
"horizontal" | "vertical""vertical"Figma "Orientation": stacked options, or a row that wraps.
"md" | "touch""touch"Size of every option: md = 40 px rows, touch = 48 px.
ReactNode—
string—
boolean—Whether the component should ignore user interaction.

On this page