A segmented control for timeframes and view modes like 24h, 7d and 30d, with a thumb that slides between the options.
npx shadcn@latest add @ssych/segmented-control
—
segmented-control