Tabs
Switch between content views within the same region.
Content and panel height update immediately without transition animations. The tab bar's selection indicator keeps its movement animation.
The card-style tab bar fits its labels by default and scrolls within the bar when space is limited. size controls the entire tab bar; content panels use the available width.
Basic usage
Sizes
Compare small, default and large sizes for both line and card tabs.
Closable tabs
Use the plus button to add a tab. Closing every tab hides the component; the example's add button can reopen it.
Extended features
Bottom and right placement
Tabs API
TabItem
Types
Import the component props and item types when preparing your own values.
Usage notes
Content mounts on first visit. Visited panels and their input state are kept by default. Arrow keys skip disabled tabs, and Home / End move to the first / last tab. Use manual activation when changing content takes time.