Expandable Tabs
- from @karaui
- by kara <ztzyrant@gmail.com>
A bar of icon tabs where the selected one widens to show its label in a pill while a panel above it resizes to fit, sliding its content left or right by the direction you moved; Escape or an outside click closes it.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @karaui/expandable-tabsRegistry dependencies0
The CLI adds no other registry items with this one.
