Component packs › Dune › Groove Checkbox

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.

Groove Checkbox props

PropTypeDefaultDescription
checkedboolean
labelstring
disabledboolean
sizenumberScale factor. 1 = 44 px box.
onChange(checked: boolean) => void
autoplaynumber | falseShowcase mode: toggles itself every N ms while visible.

Methods on the ref

Use it in React

import GrooveCheckbox from './GrooveCheckbox';

<GrooveCheckbox />

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

More in Dune

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