stylexcn

Radio Group

Single-choice radios, including disabled.

Preview

Installation

pnpm dlx shadcn@latest add https://stylexcn.vercel.app/r/radio-group.json
pnpm dlx shadcn@latest add @stylexcn/radio-group

Usage

<RadioGroup defaultValue="one">
  <RadioGroupItem value="one" id="one" />
  <Label htmlFor="one">One</Label>
</RadioGroup>