{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "avatar",
"type": "registry:ui",
"title": "Avatar",
"description": "An easily stylable avatar component.",
"dependencies": [
"clsx",
"tailwind-merge",
"@base-ui/react"
],
"registryDependencies": [
"classes"
],
"files": [
{
"path": "src/registry/pure-ui/ui/avatar/index.tsx",
"content": "\"use client\";\r\n\r\nimport { Avatar as AvatarPrimitive } from \"@base-ui/react/avatar\";\r\n\r\nimport { cn } from \"@/lib/classes\";\r\n\r\nexport interface AvatarProps extends AvatarPrimitive.Root.Props {}\r\n\r\nfunction Avatar({ className, ...props }: AvatarProps) {\r\n return (\r\n \r\n );\r\n}\r\n\r\nexport interface AvatarImageProps extends AvatarPrimitive.Image.Props {}\r\n\r\nfunction AvatarImage({ className, ...props }: AvatarImageProps) {\r\n return (\r\n \r\n );\r\n}\r\n\r\nexport interface AvatarFallbackProps extends AvatarPrimitive.Fallback.Props {}\r\n\r\nfunction AvatarFallback({ className, ...props }: AvatarFallbackProps) {\r\n return (\r\n \r\n );\r\n}\r\n\r\nexport { Avatar, AvatarImage, AvatarFallback };\r\n",
"type": "registry:ui",
"target": "components/ui/avatar.tsx"
}
]
}