A signature pad with pressure-like ink from pen speed, a ruled baseline, undo, replay at real timing with a ring on the pen tip, PNG and SVG export, and a stamp that pops in once signed.
pnpm dlx shadcn@latest add @beautiful-ui-pro/signature-padNeeds your registry key. Your components.json style picks the Base UI or Radix build: radix-*, new-york and default get Radix, base-* gets Base UI.
The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.
Import it and pass your content. The props that matter most are listed next.
"use client";
import { SignaturePad, type SignatureResult } from "@/components/ui/notchset/signature-pad";
/** Your server stores the signature and returns a stamp and hash to show under it. */
async function signOnServer(result: SignatureResult) {
const res = await fetch("/api/sign", { method: "POST", headers: { "content-type": "application/json" }, body: JSON.stringify({ svg: result.svg }) });
if (!res.ok) throw new Error(`Signing failed (${res.status})`);
return (await res.json()) as { stamp: string; hash: string };
}
export function SignOff() {
return <SignaturePad signer={{ name: "Maya Kerr", title: "ML Lead" }} date="OCT 02 2026" onSign={signOnServer} />;
}signer–
{ name, title? }Printed under the line.
date–
stringPrinted at the line's end.
onSign–
(result) => Promise<{ stamp, hash }>Gets PNG, SVG and the strokes; returns the stamp's lines.
weights / weightLabels–
number[] / string[]Pen widths (default 1.3, 2.1, 3.1).
fileName–
stringFor PNG and SVG downloads.
components/ui/notchset/signature-pad.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.