Home / Function/ RadioGroupItem() — ui Function Reference

RadioGroupItem() — ui Function Reference

Architecture documentation for the RadioGroupItem() function in radio-group.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  07a645ea_a3dc_5ccc_9f4d_7023d33f0d17["RadioGroupItem()"]
  be324f96_05e9_78f9_19fd_bcbbc6aafbae["radio-group.tsx"]
  07a645ea_a3dc_5ccc_9f4d_7023d33f0d17 -->|defined in| be324f96_05e9_78f9_19fd_bcbbc6aafbae
  style 07a645ea_a3dc_5ccc_9f4d_7023d33f0d17 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/new-york/ui/radio-group.tsx lines 26–41

>(({ className, ...props }, ref) => {
  return (
    <RadioGroupPrimitive.Item
      ref={ref}
      className={cn(
        "aspect-square h-4 w-4 rounded-full border border-primary text-primary shadow focus:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
        className
      )}
      {...props}
    >
      <RadioGroupPrimitive.Indicator className="flex items-center justify-center">
        <Circle className="h-3.5 w-3.5 fill-primary" />
      </RadioGroupPrimitive.Indicator>
    </RadioGroupPrimitive.Item>
  )
})

Subdomains

Frequently Asked Questions

What does RadioGroupItem() do?
RadioGroupItem() is a function in the ui codebase, defined in deprecated/www/registry/new-york/ui/radio-group.tsx.
Where is RadioGroupItem() defined?
RadioGroupItem() is defined in deprecated/www/registry/new-york/ui/radio-group.tsx at line 26.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free