Radio Group
Neumorphic radio group on the Radix primitive. A carved well; checking raises an accent cap out of it.
Installation
bunx --bun shadcn@latest add https://neu.beyondtheinnovation.com/r/neu-radio-group.jsonUsage
import { Label } from "@/components/ui/neu/label"
import { RadioGroup, RadioGroupItem } from "@/components/ui/neu/radio-group"<RadioGroup defaultValue="comfortable">
<div className="flex items-center gap-3">
<RadioGroupItem value="default" id="r1" />
<Label htmlFor="r1">Default</Label>
</div>
<div className="flex items-center gap-3">
<RadioGroupItem value="comfortable" id="r2" />
<Label htmlFor="r2">Comfortable</Label>
</div>
</RadioGroup>