---import { Label } from '@bejamas/registry/ui/label';import { RadioGroup, RadioGroupItem } from '@bejamas/registry/ui/radio-group';---
<RadioGroup name="plan" defaultValue="free"> <div class="flex items-center gap-2"> <RadioGroupItem value="free" id="free" /> <Label for="free">Free</Label> </div> <div class="flex items-center gap-2"> <RadioGroupItem value="pro" id="pro" /> <Label for="pro">Pro</Label> </div></RadioGroup>Installation
Section titled “Installation”bunx bejamas add radio-groupnpx bejamas add radio-grouppnpm dlx bejamas add radio-groupyarn dlx bejamas add radio-group---import { RadioGroup, RadioGroupItem } from '@bejamas/ui/components/radio-group';import { Label } from '@bejamas/ui/components/label';---
<RadioGroup name="plan" defaultValue="free"> <div class="flex items-center gap-2"> <RadioGroupItem value="free" id="free" /> <Label for="free">Free</Label> </div></RadioGroup>| Prop | Type | Default |
|---|---|---|
class | string | "" |
defaultValue | string | |
name | string | |
disabled | boolean | false |
readOnly | boolean | false |
required | boolean | false |
”aria-label” | string | |
”aria-labelledby” | string |