{
  "name": "ui-avatar",
  "type": "registry:ui",
  "title": "Avatar",
  "description": "Panelo primitive: avatar.",
  "author": "Panelo UI <https://www.paneloui.com>",
  "dependencies": [
    "@ui-sdk/react@0.1.0-beta.2"
  ],
  "registryDependencies": [
    "https://www.paneloui.com/r/panelo-theme.json",
    "https://www.paneloui.com/r/lib-utils.json"
  ],
  "files": [
    {
      "path": "components/panelo-ui/ui/avatar.tsx",
      "type": "registry:file",
      "target": "components/panelo-ui/ui/avatar.tsx",
      "content": "'use client'\n\nimport * as React from 'react'\nimport { Avatar as AvatarPrimitive, AvatarFallback as AvatarFallbackPrimitive, AvatarImage as AvatarImagePrimitive } from '@ui-sdk/react/avatar'\n\nimport { cn } from '@/components/panelo-ui/lib/utils'\n\nfunction Avatar({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive>) {\n    return (\n        <AvatarPrimitive\n            className={cn('relative flex size-8 shrink-0 overflow-hidden rounded-full after:absolute after:inset-0 after:rounded-full after:border after:border-border after:mix-blend-darken dark:after:mix-blend-lighten', className)}\n            {...props}\n        />\n    )\n}\n\nfunction AvatarImage({ className, ...props }: React.ComponentProps<typeof AvatarImagePrimitive>) {\n    return (\n        <AvatarImagePrimitive\n            className={cn('aspect-square size-full', className)}\n            {...props}\n        />\n    )\n}\n\nfunction AvatarFallback({ className, ...props }: React.ComponentProps<typeof AvatarFallbackPrimitive>) {\n    return (\n        <AvatarFallbackPrimitive\n            className={cn('bg-muted text-muted-foreground flex size-full items-center justify-center rounded-full', className)}\n            {...props}\n        />\n    )\n}\n\nexport { Avatar, AvatarImage, AvatarFallback }\n"
    }
  ]
}