ComponentsPrimitivesSegmented control
Segmented control
Radio group styled as a compact segmented control.
1 file
Loading documentation…
import { Segmented } from "@/components/ui/segmented"
The exports above are the public API. Each component forwards className and is sized with the --density token, so it follows the appearance settings automatically. Read the source in the Code tab of the preview or in src/components/ui/segmented.tsx for the full prop types.