This component no longer exists. It was in gmhlab’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-09 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.
radio-group
gmhlab/radio-groupRemovedComponent
gmhlab publishes no description for this item.
Install it
npx shadcn@latest add https://raw.githubusercontent.com/gmhlab/monorepo/main/packages/ui/public/r/radio-group.jsonSource
1import * as React from "react"2import { CircleIcon } from "lucide-react"3import { RadioGroup as RadioGroupPrimitive } from "radix-ui"45import { cn } from "@/lib/utils"67function RadioGroup({8 className,9 ...props10}: React.ComponentProps<typeof RadioGroupPrimitive.Root>) {11 return (12 <RadioGroupPrimitive.Root13 data-slot="radio-group"14 className={cn("grid gap-3", className)}15 {...props}16 />17 )18}1920function RadioGroupItem({21 className,22 ...props23}: React.ComponentProps<typeof RadioGroupPrimitive.Item>) {24 return (25 <RadioGroupPrimitive.Item26 data-slot="radio-group-item"27 className={cn(28 "border-input text-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",29 className30 )}31 {...props}32 >33 <RadioGroupPrimitive.Indicator34 data-slot="radio-group-indicator"35 className="relative flex items-center justify-center"36 >37 <CircleIcon className="fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2" />38 </RadioGroupPrimitive.Indicator>39 </RadioGroupPrimitive.Item>40 )41}4243export { RadioGroup, RadioGroupItem }
What it pulls in
npm packages
