Segmented control
adire/segmented-controlUnverifiedComponent
A row of mutually exclusive options — sort orders, filters, view modes. Real radios in a fieldset, so arrow keys work, the group is announced with its legend, and it submits inside a plain form. Selected styling is peer-checked:, so the uncontrolled version needs no JavaScript. For two options with a track use dual-toggle; for switching content panels use tabs.
Install it
npx shadcn@latest add https://raw.githubusercontent.com/Timonwa/adire-ui/main/r/segmented-control.jsonThis registry does not serve an item endpoint we could read, so we hold its metadata but not its source.
What it pulls in
Other registry items
Files it writes
More from adire
All 97 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Accordionaccordion | adire | Components | Unverified | no deps | |
| Alertalert | adire | Components | Unverified | no deps | |
| Announcement bannerannouncement-banner | adire | Components | Unverified | no deps | |
| Avataravatar | adire | Components | Unverified | no deps | |
| Avatar groupavatar-group | adire | Components | Unverified | no deps | |
| Badgebadge | adire | Components | Unverified | no deps | |
| Breadcrumbsbreadcrumbs | adire | Components | Unverified | no deps | |
| Bullet listbullet-list | adire | Components | Unverified | no deps |
