{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "file-type-family-glyphs",
  "title": "Family glyphs",
  "description": "One glyph per family, drawn on one grid, for family types and the glyph option.",
  "registryDependencies": [
    "@tealmac/reui-file-type"
  ],
  "files": [
    {
      "path": "registry/patterns/file-type-family-glyphs/file-type-family-glyphs.tsx",
      "content": "/**\n * Family glyphs - adapted for tealmac UI from the ReUI example \"c-file-type-4\"\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 { FILE_TYPE_CATEGORIES, FileType } from \"@/components/reui/file-type\"\n\n// The blank page goes last: it stands for a file with no type, so it closes\n// the set instead of sitting between two families.\nconst families = [\n  ...FILE_TYPE_CATEGORIES.filter((family) => family !== \"empty\"),\n  \"empty\",\n] as const\n\nexport function FileTypeFamilyGlyphs() {\n  // Cells fit \"Presentation\" in a monospace font. The width cap holds a row\n  // to 5, so with room the 13 families wrap as 5, 5 and a centered 3.\n  return (\n    <ul className=\"mx-auto flex max-w-lg flex-wrap justify-center gap-x-1 gap-y-5\">\n      {families.map((family) => (\n        <li key={family} className=\"flex w-22 flex-col items-center gap-2\">\n          {/* The caption names the family, so the icon would read twice. */}\n          <FileType type={family} aria-hidden=\"true\" />\n          <span className=\"text-muted-foreground text-xs capitalize\">\n            {family}\n          </span>\n        </li>\n      ))}\n    </ul>\n  )\n}\n",
      "type": "registry:block"
    }
  ],
  "type": "registry:block"
}