Shell
Tab bar
Bottom navigation for the panel, with real tab semantics and badges.
Install
npx shadcn@latest add https://ui.inflection.network/r/tab-bar.jsonPulls in utils automatically.
Usage
Props
| Name | Type | Description |
|---|---|---|
| items* | TabItem[] | `{ key, label, icon?, badge? }`. |
| value* | string | The active tab's key. |
| onChange* | (key: string) => void |
* required