IN-08Inputs
Signature Pad
A signature field with a sprung pen tip, speed-weighted ink and SVG output.
no extra packages
PRONatural Date Input and more like it are in Kokonut UI Pro
Installation
Signature Pad is a free, open-source React component in the Kokonut UI Inputs collection. Add it with the shadcn CLI, which copies the source into components/kokonutui/signature-pad.tsx, so the code is yours to change.
npx shadcn@latest add @kokonutui/signature-padUsage
import SignaturePad from "@/components/kokonutui/signature-pad";
export default function Example() {
return <SignaturePad />;
}Props
onChange(svg: string | null) => voidCalled after each stroke, undo or clear, with the signature as SVG, or null once it's empty.
labelstringDefault "Signature"Accessible name of the drawing area.
classNamestringExtra classes for the root element.
Dependencies
| Needs | Version | Comes from |
|---|---|---|
cn from lib/utils.ts | shadcn init | |
| React | 19 | Your app |
| Tailwind CSS | 4 | Your app |
No provider, font or global CSS to set up: the file works as soon as it lands.

