Tabs wraps Tabs, TabsList, and TabsTrigger for selection that updates local state only—filters, view switchers, and panels without routing. Use TabsTrigger children; each needs a stable value. Optional counter, leadIcon, and iconTitle match TabsTrigger capabilities.
Tabs
Storybook
TabsTrigger
Name
Type
Default
Description
value
string
required
Id matching Tabs content if used.
counter
number | string
—
Badge when > 0.
leadIcon
Icon
—
Icon before label.
iconTitle
LocalizedMessage
—
Accessible name for lead icon.
Default (uncontrolled)
Controlled
Fixed selection (controlled value)
Sliding animation
Small
With counters
Small with counters
Picking the right component
Scenario
Component
Why
Filter or view-switch without URL change
Tabs
Selection state only—no content panels, no routing.