# Radio Group URL: /docs/web/components/radio-group Radio Group component with multiple variants and sizes. **Demo:** ```tsx 'use client'; import { useState } from 'react'; import { RadioGroup, type RadioGroupOption } from '@docyrus/ui/components/radio-group'; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@docyrus/ui/primitives/ui/select'; import { cn } from '@docyrus/ui/primitives/lib/utils'; const planOptions: RadioGroupOption[] = [ { value: 'starter', label: 'Starter', description: 'For individuals and small projects', icon: 'hi-user-02', color: '#3b82f6' }, { value: 'pro', label: 'Professional', description: 'For growing teams with advanced needs', icon: 'hi-briefcase-02', color: '#8b5cf6' }, { value: 'enterprise', label: 'Enterprise', description: 'Custom solutions for large organizations', icon: 'hi-building-06', color: '#f59e0b' }, { value: 'legacy', label: 'Legacy', description: 'No longer available for new signups', disabled: true } ]; const priorityOptions: RadioGroupOption[] = [ { value: 'low', label: 'Low', color: '#22c55e' }, { value: 'medium', label: 'Medium', color: '#f59e0b' }, { value: 'high', label: 'High', color: '#ef4444' }, { value: 'critical', label: 'Critical', color: '#dc2626' } ]; export function RadioGroupDemo() { type Variant = 'default' | 'card'; type ColumnCount = 1 | 2 | 3 | 4; const [variant, setVariant] = useState
Selected: {selected}