An iOS-style segmented control: a row of equal segments with a raised thumb that slides to the checked one, for switching how one view shows its content in place, such as list or grid.
npx shadcn@latest add @ouro/segmented-control
Loading the source for segmented-control…
Registry Items
segmented-control
Configuration
Name
segmented-control
Type
UI
Description
An iOS-style segmented control: a row of equal segments with a raised thumb that slides to the checked one, for switching how one view shows its content in place, such as list or grid.
Files · 2
Dependencies
npm packages
@base-ui/react@^1.8.0
Registry items
@ouro/lib-class-name-check
@ouro/lib-cn
@ouro/lib-dev
@ouro/lib-disabled-reason
@ouro/lib-env
@ouro/lib-touch-target
@ouro/lib-use-dev-messages
@ouro/tooltip
Registry Items
segmented-control
Configuration
Name
segmented-control
Type
UI
Description
An iOS-style segmented control: a row of equal segments with a raised thumb that slides to the checked one, for switching how one view shows its content in place, such as list or grid.