Radio Group
A group of mutually exclusive options in the glass material.
Install
npx shadcn add @clearly/radio-groupPreview
Usage
import { RadioGroup } from "@/components/ui/radio-group"
<RadioGroup />Every Clearly component also accepts glass (subtle·medium·strong), specular and className.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
value | string | — | Selected value (controlled). |
defaultValue | string | — | Initial selected value. |
onValueChange | (value: string) => void | — | Selection callback. |