{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "glyph-field-portrait-demo",
  "type": "registry:block",
  "title": "Glyph Field: Studio Team",
  "description": "ASCII Art Effect example, Studio Team: A studio's team cards with each portrait printed from a photo. `tone=\"auto\"` keeps the white backdrops as paper in both color schemes, and the brush inks orange. A take on the ASCII art (monospace) and animated background (backdrop). Fits hero, 404 page, CTA and team sections.",
  "author": "KeyframeUI <https://keyframeui.com>",
  "categories": [
    "hero",
    "404-page",
    "cta",
    "team",
    "ascii-art",
    "animated-background",
    "text-animation",
    "canvas",
    "hover",
    "text"
  ],
  "docs": "Live preview, examples and props: https://keyframeui.com/components/glyph-field#glyph-field-portrait-demo",
  "registryDependencies": [
    "https://keyframeui.com/r/glyph-field.json"
  ],
  "files": [
    {
      "path": "components/glyph-field-portrait-demo.tsx",
      "type": "registry:component",
      "content": "import { GlyphField } from \"@/components/ui/glyph-field\";\n\nconst photo = (id: string) => `https://images.unsplash.com/photo-${id}?auto=format&fit=crop&w=600&h=750&q=80`;\n\nconst team = [\n  {\n    name: \"Ines Duarte\",\n    role: \"Creative director\",\n    note: \"Twelve years of identities, two of them for orchestras.\",\n    photo: \"1765005204058-10418f5123c5\",\n  },\n  {\n    name: \"Jonah Pike\",\n    role: \"Motion lead\",\n    note: \"Builds every brand a way to move before it gets a logo.\",\n    photo: \"1791573454618-67d47fca4dc8\",\n  },\n  {\n    name: \"Mara Lindqvist\",\n    role: \"Type and editorial\",\n    note: \"Draws the custom faces. Owns the studio's only Linotype.\",\n    photo: \"1580489944761-15a19d654956\",\n  },\n];\n\nexport function GlyphFieldPortraitDemo() {\n  return (\n    <section className=\"@container w-full max-w-4xl rounded-2xl border border-stone-900/10 bg-stone-50 p-5 text-stone-900 sm:p-8 dark:border-white/10 dark:bg-stone-950 dark:text-stone-100\">\n      <div className=\"flex flex-wrap items-end justify-between gap-3\">\n        <h2 className=\"font-serif text-3xl tracking-[-0.02em] sm:text-4xl\">The studio, in type</h2>\n        <p className=\"text-sm text-stone-500 dark:text-stone-400\">Field &amp; Fold · Lisbon</p>\n      </div>\n\n      <ul className=\"mt-6 grid grid-cols-1 gap-4 @md:grid-cols-3\">\n        {team.map((person) => (\n          <li key={person.name} className=\"group rounded-xl border border-stone-900/10 bg-white p-2 dark:border-white/10 dark:bg-stone-900\">\n            <GlyphField\n              src={photo(person.photo)}\n              fit=\"cover\"\n              cellSize={8}\n              glyphs=\" .,:;i1tfLCG08@\"\n              ink={64}\n              label={`Portrait of ${person.name}, printed in type`}\n              glyphClassName=\"text-stone-900 dark:text-stone-200\"\n              accentClassName=\"text-orange-600 dark:text-orange-400\"\n              className=\"aspect-[4/5] w-full overflow-hidden rounded-lg bg-stone-100 dark:bg-stone-950\"\n            />\n            <div className=\"px-2 pt-3 pb-2\">\n              <div className=\"flex items-baseline justify-between gap-2\">\n                <h3 className=\"font-medium\">{person.name}</h3>\n                <p className=\"text-xs text-stone-500 dark:text-stone-400\">{person.role}</p>\n              </div>\n              <p className=\"mt-1 text-sm/5 text-pretty text-stone-600 dark:text-stone-400\">{person.note}</p>\n            </div>\n          </li>\n        ))}\n      </ul>\n    </section>\n  );\n}\n"
    }
  ]
}