Component packs › Stitch › Cross Checkbox

Cross Checkbox

Checking sews a cross-stitch into evenweave cloth, arm by arm with the needle at the front, and unchecking pulls it out.

Cross Checkbox is a checkbox from Stitch, a component pack with 6 thread controls: Controls that are sewn, knitted and embroidered, with real thread physics. Price: $2 for the whole pack.

Built with: stitch by stitch, needle, evenweave cloth.

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.

Cross Checkbox props

PropTypeDefaultDescription
checkedboolean
disabledboolean
labelstring
sizenumber
onChange(checked: boolean) => void
autoplaynumber | false

Methods on the ref

Use it in React

import CrossCheckbox from './CrossCheckbox';

<CrossCheckbox />

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

More in Stitch

Good for: Toggle switches, Loaders and progress, Physics UI components.