{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "avatar",
  "title": "Avatar",
  "description": "An image avatar with a reliable fallback.",
  "dependencies": [
    "@radix-ui/react-avatar"
  ],
  "registryDependencies": [
    "@rivelle/utils"
  ],
  "files": [
    {
      "path": "registry/nova/ui/avatar.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as AvatarPrimitive from \"@radix-ui/react-avatar\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction Avatar({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root>) { return <AvatarPrimitive.Root data-slot=\"avatar\" className={cn(\"relative flex size-9 shrink-0 overflow-hidden rounded-xl border border-foreground/10 bg-foreground/[.04] shadow-[inset_0_1px_0_color-mix(in_oklch,var(--background)_60%,transparent),0_8px_20px_-14px_var(--foreground)]\", className)} {...props} /> }\nfunction AvatarImage({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>) { return <AvatarPrimitive.Image data-slot=\"avatar-image\" className={cn(\"aspect-square size-full object-cover\", className)} {...props} /> }\nfunction AvatarFallback({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Fallback>) { return <AvatarPrimitive.Fallback data-slot=\"avatar-fallback\" className={cn(\"flex size-full items-center justify-center rounded-[inherit] bg-primary/8 text-xs font-semibold tracking-[-0.01em] text-primary\", className)} {...props} /> }\n\nexport { Avatar, AvatarFallback, AvatarImage }\n",
      "type": "registry:ui"
    }
  ],
  "type": "registry:ui"
}