Component packs › Dune › Sand Progress
A spout rides to the new value and pours real grains that pile into a dune; drop the value and the wind takes them.
Sand Progress is a progress 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: poured fill, dune front, count from grains.
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 |
|---|---|---|---|
value | number | 0 to 1. | |
width | number | 300 | Width in px. Default 300. |
label | string | ||
onChange | (v: number) => void | ||
autoplay | number | false | Showcase mode: moves to a new value every N ms. |
set(value: number): voiddestroy(): voidimport SandProgress from './SandProgress';
<SandProgress />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Toggle switches, Loaders and progress, Physics UI components.