Component packs › Fulcrum › Mobile Tabs
Tabs hang from a mobile; the chosen plate takes the weight and every rod and plate rebalances and swings at its own pace.
Mobile Tabs is a tabs from Fulcrum, a component pack with 6 balance controls: Controls that weigh things: beams tip, pans swing and mobiles rebalance. Price: $2 for the whole pack.
Built with: nested balance, plates on threads, 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[] | Four tab labels. | |
panels | string[] | ||
selected | number | ||
onChange | (index: number) => void | ||
theme | 'light' | 'dark' | ||
autoplay | number | false | Showcase mode: picks another tab every N ms while visible. |
readonly selected: numberselect(index: number): voiddestroy(): voidimport MobileTabs from './MobileTabs';
<MobileTabs />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Skeuomorphic UI.