SuperdindaDocs
Consent & billing

SetupPersonCard

One person during setup and connect (Figma "Setup Person Card" 2137:11156): avatar, name, age and phone, the Protection Status chip, the Progress Track, two lines of status copy and the actions.

Use Person Card once the person is protected. Stacked on phone, Wide on desktop; below ~560 px the Wide row wraps the actions under the copy.

<SetupPersonCard name="Lia" meta="16 anos · (11) 98765-4321" avatarInitials="LA" status={<ProtectionStatus status="awaiting-consent" />} progress={<ProgressTrack step="authorization" status="waiting" />} statusTitle="Esperando a Lia aceitar" statusBody="Mandamos o link às 10:40. Ela ainda não abriu." actions={<Button variant="outline" size="44">Reenviar o link</Button>} />

Playground

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

Setup Person Card

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

Layout · Stacked

Setup Person Card

Lia

16 anos · (11) 98765-4321

Esperando o sim
  1. AutorizaçãoEsperando o sim
  2. Conexão
  3. Protegendo

Esperando a Lia aceitar

Mandamos o link às 10:40. Ela ainda não abriu.

Layout · Wide

Setup Person Card

Lia

16 anos · (11) 98765-4321

Esperando o sim
  1. AutorizaçãoEsperando o sim
  2. Conexão
  3. Protegendo

Esperando a Lia aceitar

Mandamos o link às 10:40. Ela ainda não abriu.

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
"stacked" | "wide""stacked"Figma Layout: Stacked (phone) or Wide (desktop, copy beside actions).
string—Figma `name` ("Lia").
string—Figma `meta`: age and phone ("16 anos · (11) 98765-4321").
string—Initials in the brand avatar.
ReactNode—The Protection Status chip (exposed instance in Figma).
ReactNode—The Progress Track (Autorização → Conexão → Protegendo).
string—Figma `statusTitle` ("Esperando a Lia aceitar").
string—Figma `statusBody`; its presence is `showStatusBody`.
ReactNode—Figma Actions (`showActions`): Outline 44 primary, Ghost 44 secondary.
string—

On this page