Skip to content
Sign upGet access
MicrointeractionsActing tab barMenu

Acting tab bar (Pro)

ProIncluded in $99

A tab bar where each icon acts out what it means.

ProPick a tab and its icon acts: the house door swings open, the lens sweeps and glints, a letter drops into the tray, the face blinks and smiles.

Pick a tab and its icon acts it out: the house hops and its door swings open on a warm room, the lens sweeps across the page and glints, a letter drops into the inbox tray and sinks into the slot, and the face looks round, blinks and smiles. The dark pill stretches to the new tab leading edge first, and the icons inside it are a second, inverted copy clipped to the pill, so they change colour exactly where it passes. For the bottom bar of a mobile AI app.

Installation

$ pnpm dlx shadcn@latest add @chatcn-pro/acting-tab-bar

Needs chatcn Pro

This command works with a Pro license, along with every Pro component.

Or start free: sign up and get three Pro components on us, with a new one every month.

Usage

tsx
import { ActingTabBar } from "@/components/ui/chatcn/pro/acting-tab-bar"

<ActingTabBar value={tab} onValueChange={setTab} inboxBadge={unread > 0} />

Props

PropTypeNotes
value / defaultValue / onValueChange"home" | "search" | "inbox" | "profile"
labelsRecord<tab, string>Accessible names
inboxBadgebooleanA red dot on the inbox

Keyboard

KeyAction
Arrow keysPrevious or next tab

Accessibility

  • A labelled nav with a real tablist; the inbox name says when it has something new.

Motion

  • Each act runs about a second on keyframes; the pill rides a two edge spring. Reduced motion: no acts, the pill jumps.