Components / Callout

Signer page kit

Callout

Information inside a page. Tone always comes with an icon, and with a title when the text is long.

  • In the signer page, not yet in the package
  • AGPL-3.0-only
  • Client only · no backend
Theme
The CSS variables this sets
:root {
  --signing-accent: #3157e8;
  --sig-accent: #3157e8;
  --sig-accent-soft: color-mix(in oklab, #3157e8 14%, white);
  --sig-radius: 8px;
  --radius-control: 8px;
  --radius-panel: 12px;
  --font-sans: var(--font-inter), ui-sans-serif, system-ui, sans-serif;
}

In the signer page kit, set the accent with accentProps(accent) on the element around the surface; it sets data-signing-accent and --signing-accent. The secure elements take the same values as a checked appearance object instead.

Info

Sandbox document

Signed with a test key. It shows how signing works and has no legal effect.

Success

Seal verified

The evidence matches this PDF, byte for byte.

Warning

Identity not verified

The name was typed by the signer. Nobody checked it.

Danger, with an action

Neutral, one line

Your file never leaves your browser.

Installation

npx shadcn@latest add …

Not published yet

Not in the registry (packages/ui/registry.json) yet.

Props

className and children are left out: every component that takes them passes them on.

Callout

NameTypeDefaultDescription
tone"info" | "success" | "warning" | "danger" | "neutral""info"Always with its icon. Danger is announced.
titleReactNodeBold first line.
actionReactNodeA button or link under the text.
role"alert" | "status"Announce it. Danger is an alert by default.

Accessibility

  • Danger is announced as an alert by default. Pass role to announce another tone.
  • Tone is never only a colour: each has its own icon.