Radio Group
Radio group button for single selection.
Radio Group
Installation
1pnpm dlx shadcn@latest add @glasswave/radio-groupUsage
1import { RadioGroup, RadioGroupItem } from "glasswave";1<RadioGroup defaultValue="one" className="space-y-3">2 <div className="flex items-center gap-3">3 <RadioGroupItem value="one" id="one" />4 <label htmlFor="one" className="text-slate-600 text-sm">5 Option one6 </label>7 </div>8 <div className="flex items-center gap-3">9 <RadioGroupItem value="two" id="two" />10 <label htmlFor="two" className="text-slate-600 text-sm">11 Option two12 </label>13 </div>14</RadioGroup>API Reference
See the Radix UI Radio Group documentation.