Components (172)
Segmented Control
Reusable Clean-style UI component built on Base UI and Tailwind CSS v4.
Loading Segmented Control…
Usage
import { SegmentedControl } from "ui-kit/components/segmented-control";Props
| Prop | Type | Default | Description |
|---|---|---|---|
options* | SegmentOption<T>[] | — | — |
value | T | — | — |
defaultValue | T | — | — |
onChange | (value: T) => void | — | — |
size | Size | "md" | — |
variant | "tray" | "underline" | "tray" | — |
fullWidth | boolean | false | — |
kind | "radio" | "tabs" | "radio" | — |
disabled | boolean | false | — |
aria-label | string | — | — |
aria-labelledby | string | — | — |
className | string | — | — |