Component packs › Nib › Signature Pad

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.

Signature Pad props

PropTypeDefaultDescription
labelstring
hintstring"Sign above the line"Line under the signature. Default "Sign above the line".
nibWidthnumber2.6Base nib width in px. Default 2.6.
darkboolean
onChange(empty: boolean) => void
autoplaynumber | falseShowcase mode: signs, then clears, every N ms while visible.

Methods on the ref

Use it in React

import SignaturePad from './SignaturePad';

<SignaturePad />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Nib

Good for: Checkboxes, Signature pads.