SuperdindaDocs
Protection

AlertDetail

Playground

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

Alert Signals

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

Alert Signals ·

Alert Signals

Sinais

  • pediu segredo
  • quer mudar de app
  • marcou encontro

Props

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

AlertSignalsProps

PropTipoPadrãoDescrição
string"Sinais"Figma "label": the heading word.
string[]—Figma "Signal 1..4": what the Superdinda noticed, in a few words each.
string—

AlertStepsProps

PropTipoPadrãoDescrição
string"O que fazer agora"Figma "title".
2 | 3 | 43Heading level of the title, so it nests under the alert heading.
ReactNode[]—Figma "step1..3": what to do, in order (showStep3 = a third item).
string—

AlertScriptProps

PropTipoPadrãoDescrição
string"Como puxar o assunto"Figma "label": the toggle text.
ReactNode—Figma "script": the sentence to start the conversation, quoted.
ReactNode—Figma "hint" (showHint): when and how to say it.
string—

AlertResolutionProps

PropTipoPadrãoDescrição
"not-a-risk" | "resolved" | null"resolved"
string—The overline word; defaults to the outcome ("Resolvido", "Não era risco").
string—Figma "title": who closed it and when ("Resolvido pela Mariana · hoje, 19:30").
ReactNode—Figma "reason" (showReason): the note left when closing, quoted.
ReactNode—Figma "Action" (showAction): e.g. an outline "Reabrir aviso" Button.
string—

AlertStatusCardProps

PropTipoPadrãoDescrição
AlertStatusCardState"new"
string"Este aviso"The overline ("Este aviso").
string—Replaces the status badge word.
string—Figma "meta": when it arrived ("Chegou hoje às 22:47").
ReactNode—Figma "body": who else knows and what to do here.
ReactNode—Figma "Primary action": e.g. an outline "Registrar como a Lia está" Button.
ReactNode—Figma "Link action": "Esse aviso não faz sentido?". Shown only while the alert is New; never make it prominent for self-harm.
string—

AlertHistoryItemProps

PropTipoPadrãoDescrição
string—Figma "time": hour or date, already formatted ("19:30").
string—ISO date-time for the `<time>` element.
string—
ReactNode—

AlertHistoryProps

PropTipoPadrãoDescrição
string"Histórico"The overline ("Histórico").
ReactNode—Figma "footnote": what is kept and for how long.
string—
ReactNode—AlertHistoryItem elements, newest first.

AlertShareBannerProps

PropTipoPadrãoDescrição
ReactNode—Figma "Avatar": who shared it, e.g. <Avatar.Root tone="brand"><Avatar.Fallback>MA</Avatar.Fallback></Avatar.Root>.
string—Figma "title": "A Mariana pediu pra você conversar com a Lia".
ReactNode—Figma "note" (showNote): the message they left, quoted.
string—Figma "meta": when it was shared.
string—

On this page