{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "avatar-fallbacks",
  "title": "Avatar with fallback",
  "description": "Avatar with fallback, built from the avatar component.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "avatar"
  ],
  "files": [
    {
      "path": "registry/patterns/avatar-fallbacks/avatar-fallbacks.tsx",
      "content": "/**\n * Avatar with fallback - adapted for tealmac UI from the ReUI example \"c-avatar-2\"\n * (https://github.com/keenthemes/reui), MIT License, Copyright (c) 2025\n * Keenthemes Inc. The full licence text is in THIRD_PARTY_NOTICES.md.\n * Changes: tealmac UI import paths and theme tokens, lucide icons, logical\n * (RTL-safe) spacing and alignment, reduced-motion support and sample\n * content.\n */\nimport { UserIcon } from \"lucide-react\"\n\nimport { Avatar, AvatarFallback } from \"@/components/ui/avatar\"\n\nexport function AvatarFallbacks() {\n  return (\n    <div className=\"flex items-center gap-2\">\n      <Avatar>\n        <AvatarFallback>AJ</AvatarFallback>\n      </Avatar>\n      <Avatar>\n        <AvatarFallback>\n          <UserIcon className=\"size-4\" aria-hidden=\"true\" />\n        </AvatarFallback>\n      </Avatar>\n    </div>\n  )\n}\n",
      "type": "registry:block"
    }
  ],
  "type": "registry:block"
}