Component packs › Domino › Toppling Tabs
The indicator is a domino that tumbles end over end to the new tab, quarter turn by quarter turn, and rocks to rest.
Toppling Tabs is a tabs from Domino, a component pack with 6 chain reaction controls: Controls built from real dominoes that tip, lean on each other and fall in a chain. Price: $2 for the whole pack.
Built with: tumble over the leading edge, more turns for far tabs, roving focus.
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[] | ||
panels | string[] | Panel text per tab. | |
selected | number | ||
onChange | (index: number) => void | ||
theme | 'light' | 'dark' | ||
autoplay | number | false | Showcase mode: moves to another tab every N ms while visible. |
readonly selected: numberselect(index: number): voiddestroy(): voidimport TopplingTabs from './TopplingTabs';
<TopplingTabs />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Skeuomorphic UI.