Component packs › Dune › Sand Progress

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.

Sand Progress props

PropTypeDefaultDescription
valuenumber0 to 1.
widthnumber300Width in px. Default 300.
labelstring
onChange(v: number) => void
autoplaynumber | falseShowcase mode: moves to a new value every N ms.

Methods on the ref

Use it in React

import SandProgress from './SandProgress';

<SandProgress />

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.