Component packs › Nib › Signature Pad
A steel nib follows your pen; the line swells where you slow and thins on fast sweeps, then dries from wet gloss to matte ink.
Signature Pad is a signature input from Nib, a component pack with 6 pen components: Pen and signature components that write like a fountain pen: speed-shaped strokes, wet ink that dries. Price: $2 for the whole pack.
Built with: pressure from speed, ink drying, PNG and SVG export.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
label | string | ||
hint | string | "Sign above the line" | Line under the signature. Default "Sign above the line". |
nibWidth | number | 2.6 | Base nib width in px. Default 2.6. |
dark | boolean | ||
onChange | (empty: boolean) => void | ||
autoplay | number | false | Showcase mode: signs, then clears, every N ms while visible. |
readonly empty: booleanclear(): voidundo(): voidtoDataURL(): stringtoSVG(): stringdestroy(): voidimport SignaturePad from './SignaturePad';
<SignaturePad />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Checkboxes, Signature pads.