Tab Switch
A compact switch between a few views.
$ npx shadcn@latest add https://ui.elysiumdesigns.in/r/tab-switch.jsonDayWeekMonthYear
When to use
- A compact switch between a few views.
- You want a inputs piece that already handles empty, loading and dark states.
Installation
Add Tab Switch with the shadcn CLI – your project needs a components.json – or copy the file by hand.
$ npx shadcn@latest add https://ui.elysiumdesigns.in/r/tab-switch.jsonAPI reference
TabSwitch
| Prop | Type | Default | Description |
|---|---|---|---|
className | string | – | Extra classes on the root element. |
look | "classic" | "clean" | "classic" | Visual style. Both follow your light or dark theme. |