Component packs › Nib › Sign to Confirm
Draw one stroke along the line to approve: reach most of the way and it dries and stamps the date; a short stroke lifts back off.
Sign to Confirm is a confirm control 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: stroke as consent, date stamp, Enter to sign.
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 |
|---|---|---|---|
text | string | What is being agreed to. | |
label | string | ||
reach | number | 0.7 | Share of the line a stroke must cover. Default 0.7. |
dark | boolean | ||
onConfirm | () => void | ||
autoplay | number | false | Showcase mode: signs, then resets, every N ms while visible. |
readonly signed: booleanreset(): voiddestroy(): voidimport SignConfirm from './SignConfirm';
<SignConfirm />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Checkboxes, Signature pads.