Component packs › Toolbelt › Bottom Tab Bar

Bottom Tab Bar

The pill springs across to the tapped tab, stretching on the way, as the icon fills and the screen changes.

Bottom Tab Bar is a navigation from Toolbelt, a component pack with 6 toolbar components: Toolbars, menus and tab bars with one highlight that springs from tool to tool. Price: $2 for the whole pack.

Built with: stretching pill, filled icons, tablist keys.

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.

Bottom Tab Bar props

PropTypeDefaultDescription
tabsBottomTab[]
activenumber
darkbooleanfollows the pageForce the dark (true) or light (false) look. Default: follows the page.
onChange(index: number) => void
autoplaynumber | falseShowcase mode: moves to another tab every N ms while visible.

Methods on the ref

Use it in React

import BottomTabBar from './BottomTabBar';

<BottomTabBar />

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

More in Toolbelt

Good for: Menus and popovers.