Component packs › Domino › Toppling Tabs

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.

Toppling Tabs props

PropTypeDefaultDescription
tabsstring[]
panelsstring[]Panel text per tab.
selectednumber
onChange(index: number) => void
theme'light' | 'dark'
autoplaynumber | falseShowcase mode: moves to another tab every N ms while visible.

Methods on the ref

Use it in React

import TopplingTabs from './TopplingTabs';

<TopplingTabs />

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

More in Domino

Good for: Skeuomorphic UI.