Component packs › Dune › Raked Tabs
A stone marks the active tab in a raked sand garden; the grooves part around it in rings and flow back as it slides.
Raked Tabs is a tabs 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: live raked grooves, spring stone, wake behind it.
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 |
|---|---|---|---|
tabs | string[] | ||
active | number | ||
width | number | 380 | Width in px. Default 380. |
onChange | (index: number) => void | ||
autoplay | number | false | Showcase mode: moves to the next tab every N ms. |
select(index: number): voiddestroy(): voidimport RakedTabs from './RakedTabs';
<RakedTabs />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Toggle switches, Loaders and progress, Physics UI components.