Skip to content
caliper ui pro docs

Signature pad

Draw a signature with a pointer or finger, with undo and clear.

Pro

Signature

Sign in the frame.

Signing as Kofi Mensah, Head of Operations.

When to use

  • Agreements and approvals that need a drawn signature.
  • Touch and pen devices.

When not to use

  • A typed name is legally enough; use an input.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/signature-pad

Adds its 2 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.

API reference

SignaturePad

3 props
PropTypeDefault
labelstring"Signature"
onChange((empty: boolean) => void)—
classNamestring—

Keyboard

  • No custom key handling; Tab and the native activation keys do the work.

Accessibility

It exposes img and status semantics, with aria-roledescription and aria-label kept in step with state. Changes that matter are announced through a live region.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/signature-pad.md

The index of every part is at /llms.txt.

More in Signature