Component packs › Nib › Stroke Checkbox
Each tick is one quick pen stroke, heavy at the turn and flicking off thin, wet then dry, and never quite the same twice.
Stroke Checkbox is a checkbox 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: pen-stroke tick, ink lifts on untick, native checkbox.
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 |
|---|---|---|---|
items | string[] | Labels for a group of checkboxes. | |
checked | number[] | Initially ticked indexes. | |
label | string | ||
dark | boolean | ||
onChange | (checked: number[]) => void | ||
autoplay | number | false | Showcase mode: ticks and unticks boxes every N ms while visible. |
readonly checked: number[]set(i: number, on: boolean): voiddestroy(): voidimport StrokeCheckbox from './StrokeCheckbox';
<StrokeCheckbox />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Checkboxes, Signature pads.