{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "avatar-tailwind",
  "type": "registry:item",
  "title": "Avatar (Tailwind)",
  "description": "An image element with a fallback for representing the user.",
  "files": [
    {
      "path": "registry/brook/tailwind/ui/avatar.tsx",
      "content": "\"use client\";\n\nimport { Avatar } from \"@base-ui/react/avatar\";\nimport { cn } from \"@/lib/utils\";\n\nfunction AvatarRoot({ className, ...props }: Avatar.Root.Props) {\n  return (\n    <Avatar.Root\n      className={cn(\n        \"relative inline-flex h-10 w-10 select-none items-center justify-center overflow-hidden rounded-full bg-muted align-middle\",\n        className\n      )}\n      data-slot=\"avatar-root\"\n      {...props}\n    />\n  );\n}\n\nfunction AvatarImage({ className, ...props }: Avatar.Image.Props) {\n  return (\n    <Avatar.Image\n      className={cn(\"h-full w-full rounded-[inherit] object-cover\", className)}\n      data-slot=\"avatar-image\"\n      {...props}\n    />\n  );\n}\n\nfunction AvatarFallback({ className, ...props }: Avatar.Fallback.Props) {\n  return (\n    <Avatar.Fallback\n      className={cn(\n        \"flex h-full w-full items-center justify-center rounded-[inherit] bg-muted font-medium text-muted-foreground text-sm uppercase\",\n        className\n      )}\n      data-slot=\"avatar-fallback\"\n      {...props}\n    />\n  );\n}\n\nexport { AvatarRoot as Avatar, AvatarFallback, AvatarImage };\n",
      "type": "registry:file",
      "target": "~/components/ui/avatar/avatar.tsx"
    }
  ]
}