042
A place to sign with a finger, mouse or pen: strokes come out smooth and swell with pressure or slow down, with undo, a typed fallback and a stamped, timestamped signed state.
akasignature·signature pad·e-signature
Run this in any project set up for the shadcn CLI. It copies the Signature Pad source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/signature-pad.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { SignaturePad } from "@/components/signature-pad";
export default function Page() {
return <SignaturePad />;
}A free React component in the Forms collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Signature Pad source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| signerrequired | string | — |
| label | string | "Signature" |
| onSign | (png: string, signedAt: Date) => void | — |
| onClear | () => void | — |
| className | string | — |