Segmented Control
- from @ssych
A segmented control for timeframes and view modes like 24h, 7d and 30d, with a thumb that slides between the options.
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 @ssych/segmented-controlLive preview
No live preview has been built for this component yet.
Registry dependencies0
The CLI adds no other registry items with this one.
