Component packs › Aerosol › Sprayed Checkbox
A can swings in and sprays the tick through a stencil; uncheck and the tick is buffed off the board.
Sprayed Checkbox is a checkbox from Aerosol, a component pack with 6 spray paint controls: Buttons, headings and controls spray-painted through stencils, droplet by droplet. Price: $2 for the whole pack.
Built with: stencil tick, buff off, painted board.
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 |
|---|---|---|---|
checked | boolean | ||
disabled | boolean | ||
label | string | ||
dark | boolean | follows the page | Force the dark (true) or light (false) look. Default: follows the page. |
onChange | (checked: boolean) => void | ||
autoplay | number | false | Showcase mode: toggles every N ms while visible. |
readonly checked: booleansetChecked(v: boolean, silent?: boolean): voiddestroy(): voidimport SprayedCheckbox from './SprayedCheckbox';
<SprayedCheckbox />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Skeuomorphic UI.