Component packs › Dune › Groove Checkbox
A fingertip draws the tick through sand, heaping lit ridges on both sides; unchecking lets the sand trickle back in.
Groove Checkbox is a checkbox from Dune, a component pack with 6 sand controls: Controls made of real sand: every grain falls, tumbles and piles up. Price: $2 for the whole pack.
Built with: height-field sand, lit ridges, grain-by-grain refill.
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 | ||
label | string | ||
disabled | boolean | ||
size | number | Scale factor. 1 = 44 px box. | |
onChange | (checked: boolean) => void | ||
autoplay | number | false | Showcase mode: toggles itself every N ms while visible. |
readonly checked: booleansetChecked(checked: boolean, silent?: boolean): voiddestroy(): voidimport GrooveCheckbox from './GrooveCheckbox';
<GrooveCheckbox />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Toggle switches, Loaders and progress, Physics UI components.