About
A set of mutually-exclusive radio buttons with a glowing neon ring and glass surface for selecting one option from a list.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Radio Group to your project and fits it to your theme.
Code
How Radio Group is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import { RadioGroup, RadioGroupItem } from "@/components/ui/radio-group";
export default function RadioGroupDemo() {
return (
<div className="glass-panel overflow-hidden rounded-lg">
<div className="flex min-h-40 items-center justify-center gap-4 p-6">
<div className="flex flex-wrap items-center justify-center gap-4">
<RadioGroup defaultValue="comfy" className="text-sm text-foreground">
<label className="flex items-center gap-3">
<RadioGroupItem value="comfy" />
Comfy
</label>
<label className="flex items-center gap-3">
<RadioGroupItem value="compact" />
Compact
</label>
<label className="flex items-center gap-3">
<RadioGroupItem value="ultra" disabled />
Ultra (disabled)
</label>
</RadioGroup>
</div>
</div>
</div>
);
}
















