SuperdindaDocs
Consent & billing

QueueCard

The connection queue card (Figma "Queue Card" 188:1708): the place in line and a word estimate in a polite live region while Waiting, then Your turn, then Reserved with the clock time and an explicit way back to the line.

The breathing rings are decorative and only move with motion allowed.

<QueueCard state="waiting" position="2º" estimate="Uns 4 minutos" positionLabel="Posição na fila" title="Você está na fila" body="Conectamos poucas pessoas por vez." notifyLabel="Me avisar quando for a vez" onNotify={notify} />

Playground

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

Queue Card

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

WaitingYour turnReserved
2ºUns 4 minutos

Você está na fila

Conectamos poucas pessoas por vez, pro WhatsApp não bloquear ninguém. A gente avisa quando for sua vez.

  • Lia
  • Marlene

Chegou sua vez

Pegue o celular da Lia. Leva uns 3 minutos.

  • Lia
  • Marlene

Chegou sua vez

Sua vez fica reservada até 14:32. Tenha o celular da Lia em mãos.

  • Lia
  • Marlene

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
"reserved" | "waiting" | "your-turn""waiting"Figma State: Waiting (place in line), Your turn, Reserved (a 5-minute hold with the clock time).
string—Waiting: the place in line as said ("2º").
string—Waiting: the estimate in words ("Uns 4 minutos").
string—Accessible name of the place ("Posição na fila").
string—
string—The sentence under the title; on Reserved it holds the time ("Sua vez fica reservada até 14:32. Tenha o celular da Lia em mãos.").
QueueCardPerson[][]Who the wait is for, so the card is about people, not about us.
string—Waiting: outline "Me avisar quando for a vez".
string—Your turn / Reserved: brand "Começar agora".
string—Reserved: ghost 44 "Agora não dá, voltar pra fila".
(() => void)—
(() => void)—
(() => void)—
string—

On this page