Radio Group
View in FigmaA set of mutually exclusive options where only one can be selected at a time.
FormsImport
import { RadioGroup, RadioGroupItem } from "@/components/ui"API
| Prop | Type | Default | Description |
|---|---|---|---|
| value | string | — | Currently selected value. |
| onValueChange | (value: string) => void | — | Callback when selection changes. |
| orientation | "horizontal" | "vertical" | "vertical" | Layout direction of the options. |
| size | "sm" | "md" | "lg" | "md" | Radio button dimensions. |