Components / Signature block in the PDF

In the PDF

Signature block in the PDF

What a signature looks like on paper. The top line says what was checked, never a brand claim.

  • In the server and the free signer
  • AGPL-3.0-only
  • Client only · no backend

The first line states what was checked: “Email verified with a one-time code” for envelopes, “Self-declared: identity not checked” in the free signer, red TEST or MOCK for test output (ADR 0015).

The typed signature uses the same face as on screen, embedded in the PDF. The server and the free signer draw it with the same code.

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.

Tall field

Rendered from a real PDF stamped in your browser, marked MOCK.

Loading document…

Short field

The same block in a lower field.

Loading document…

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.

drawSignatureBlock

NameTypeDefaultDescription
signaturetyped | drawnThe typed text with its font, or the drawn image.
assurancestringFirst line: what was checked. Never a brand claim.
warningbooleanfalseRed bracket and text for test or mock output.
titlestringThe signer's name under the line.
detailstringTime and evidence id, or the fingerprint note.