{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "gallery-16",
  "type": "registry:block",
  "description": "Album overview grid of stacked-deck cards with photo counts and shared avatars.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [],
  "files": [
    {
      "path": "registry/designali/blocks/gallery/gallery-16.tsx",
      "content": "import {\n  Lock,\n  Plus,\n} from \"@designali/icons\"\n\nconst albums = [\n  { name: \"Designali brand assets\", count: 342, updated: \"2 days ago\", shared: 14, colors: ['url(\"/og.jpg\") center / cover', 'url(\"/images/templates/design-agency.jpg\") center / cover', 'url(\"/images/templates/aliimam-comp.jpg\") center / cover'] },\n  { name: \"Dalim Agency archive\", count: 86, updated: \"1 week ago\", shared: 3, colors: ['url(\"/images/templates/dalim-agency-old.jpg\") center / cover', 'url(\"/images/templates/dalim-works-old.jpg\") center / cover', 'url(\"/images/templates/dalim-visuals-old.jpg\") center / cover'] },\n  { name: \"Templates - Spring drop\", count: 128, updated: \"3 weeks ago\", shared: 6, colors: ['url(\"/images/templates/portfolio-simple.jpg\") center / cover', 'url(\"/images/templates/resort.jpg\") center / cover', 'url(\"/images/templates/ai.jpg\") center / cover'] },\n  { name: \"Dalim archive\", count: 512, updated: \"1 month ago\", shared: 0, colors: ['url(\"/images/templates/dalim-old.jpg\") center / cover', 'url(\"/images/templates/dalim-fonts-old.jpg\") center / cover', 'url(\"/images/templates/dalim-icons-old.jpg\") center / cover'] },\n  { name: \"Ali Imam portraits\", count: 44, updated: \"2 months ago\", shared: 2, colors: ['url(\"/ali.jpg\") center / cover', 'url(\"/ai.jpg\") center / cover', 'url(\"/stock/design.jpg\") center / cover'] },\n]\n\nexport default function Gallery16() {\n  return (\n    <section className=\"w-full bg-background py-20\">\n      <div className=\"mx-auto max-w-7xl px-6\">\n        <div className=\"flex flex-wrap items-center justify-between gap-4\">\n          <div>\n            <h2 className=\"text-2xl font-semibold tracking-tight md:text-3xl\">Albums</h2>\n            <p className=\"mt-1 text-sm text-muted-foreground\">5 Designali albums - 1,112 files - 18.4 GB used</p>\n          </div>\n        </div>\n        <div className=\"mt-10 grid grid-cols-1 gap-x-8 gap-y-12 sm:grid-cols-2 lg:grid-cols-3\">\n          {albums.map((album) => (\n            <a key={album.name} href=\"#\" className=\"group block\">\n              <div className=\"relative mx-3 aspect-[4/3]\">\n                <div\n                  className=\"absolute inset-0 -translate-x-3 -rotate-6 border border-border opacity-70 transition duration-300 group-hover:-translate-x-6 group-hover:-rotate-[10deg]\"\n                  style={{ background: album.colors[2] }}\n                />\n                <div\n                  className=\"absolute inset-0 translate-x-3 rotate-3 border border-border opacity-85 transition duration-300 group-hover:translate-x-6 group-hover:rotate-6\"\n                  style={{ background: album.colors[1] }}\n                />\n                <div\n                  className=\"absolute inset-0 border border-border shadow-lg transition duration-300 group-hover:-translate-y-2\"\n                  style={{ background: album.colors[0] }}\n                />\n                <span className=\"absolute top-3 right-3 bg-background/85 px-2 py-0.5 font-sans text-[11px] tabular-nums backdrop-blur\">\n                  {album.count}\n                </span>\n              </div>\n              <div className=\"mt-6 flex items-start justify-between gap-3\">\n                <div className=\"min-w-0\">\n                  <p className=\"truncate font-medium\">{album.name}</p>\n                  <p className=\"mt-0.5 text-xs text-muted-foreground\">Updated {album.updated}</p>\n                </div>\n                {album.shared > 0 ? (\n                  <div className=\"flex -space-x-1.5\">\n                    {Array.from({ length: Math.min(album.shared, 3) }).map((_, i) => (\n                      <span key={i} className=\"flex size-6 items-center justify-center rounded-full border-2 border-background bg-muted text-[9px] font-medium\">\n                        {[\"AI\", \"SR\", \"MK\"][i]}\n                      </span>\n                    ))}\n                    {album.shared > 3 && (\n                      <span className=\"flex size-6 items-center justify-center rounded-full border-2 border-background bg-foreground text-[9px] font-medium text-background\">\n                        +{album.shared - 3}\n                      </span>\n                    )}\n                  </div>\n                ) : (\n                  <span className=\"flex items-center gap-1 text-xs text-muted-foreground\">\n                    <Lock className=\"size-3\" /> Private\n                  </span>\n                )}\n              </div>\n            </a>\n          ))}\n          <a\n            href=\"#\"\n            className=\"flex aspect-[4/3] flex-col items-center justify-center gap-2 border border-dashed border-border text-sm text-muted-foreground transition-colors hover:bg-muted hover:text-foreground sm:mx-3\"\n          >\n            <Plus className=\"size-5\" />\n            New album\n          </a>\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "1000px"
  },
  "categories": [
    "gallery"
  ]
}