SuperdindaDocs
Consent & billing

SetupDependentRow

One person in the setup list (Figma "Setup Dependent Row" 186:1475): a selectable row with the warm avatar, the name and the status chips.

A native button with aria-pressed for the selected row.

<SetupDependentRow state="consented" name="Lia Alves" avatarInitials="LA" status={<Badge tone="ok" icon={<Check />}>Autorizou</Badge>} selected onClick={open} />

Playground

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

Setup Dependent Row

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

PendingConsentedConnectedSelectedDeclined

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
"connected" | "consented" | "declined" | "pending"—Figma State (domain): where the person is on the way to protection.
booleanfalseFigma State=Selected: the row whose details are open (aria-pressed).
string—The person's name.
string—Initials in the warm avatar.
ReactNode—The chips under the name (icon + word each). Declined shows a single "Não aceitou" chip; the person is shown but not counted.
string—

On this page