ghaerdi

Radio Group

Forms

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>
  );
}

Dependencies

More by ghaerdi

View all
  • Toast Notification

    Toast Notification

    3
  • Chart

    Chart

    1
  • Accordion

    Accordion

  • Calendar

    Calendar

  • Neon Glass Select

    Neon Glass Select

  • Skeleton

    Skeleton

  • Neon Status Badge

    Neon Status Badge

  • Neon Tabs

    Neon Tabs

More in Forms

View all
  • Premium Auth

    Premium Auth

    577
  • Login 1

    Login 1

    68
  • Contact Card

    Contact Card

    1.1K
  • Form

    Form

    18
  • Login Card

    Login Card

    36
  • Login 2

    Login 2

    15
  • Change Password Form

    Change Password Form

    11
  • Form

    Form

    3