Component packs › Fulcrum › Mobile Tabs

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.

Mobile Tabs props

PropTypeDefaultDescription
tabsstring[]Four tab labels.
panelsstring[]
selectednumber
onChange(index: number) => void
theme'light' | 'dark'
autoplaynumber | falseShowcase mode: picks another tab every N ms while visible.

Methods on the ref

Use it in React

import MobileTabs from './MobileTabs';

<MobileTabs />

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

More in Fulcrum

Good for: Skeuomorphic UI.