{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "features-11",
  "type": "registry:block",
  "description": "Accordion list of security features that swaps a live mini-visual in an adjacent panel.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [],
  "files": [
    {
      "path": "registry/designali/blocks/features/features-11.tsx",
      "content": "\"use client\"\n\nimport { useState } from \"react\"\nimport {\n  FingerprintPattern as Fingerprint,\n  KeyRound,\n  Lock,\n  Shield,\n} from \"@designali/icons\"\n\nimport { cn } from \"@workspace/ui/lib/utils\"\n\nconst items = [\n  {\n    icon: Fingerprint,\n    title: \"A brand that is yours\",\n    body: \"Designali crafts a unique brand identity — logo, type and colour — so your product is instantly recognisable.\",\n    visual: \"passkey\",\n  },\n  {\n    icon: KeyRound,\n    title: \"Packages you can install\",\n    body: \"Icons, logos and vectors ship as npm packages, so the same assets work across every Designali template and block.\",\n    visual: \"tokens\",\n  },\n  {\n    icon: Shield,\n    title: \"Reviewed before release\",\n    body: \"Every block is checked for accessibility, responsiveness and dark mode before it lands on designali.com.\",\n    visual: \"anomaly\",\n  },\n  {\n    icon: Lock,\n    title: \"Design tokens built in\",\n    body: \"Semantic tokens keep colour, spacing and type consistent, so switching themes never breaks your layout.\",\n    visual: \"encryption\",\n  },\n]\n\nfunction Visual({ kind }: { kind: string }) {\n  if (kind === \"passkey\")\n    return (\n      <div className=\"flex flex-col items-center gap-4\">\n        <div className=\"flex size-24 items-center justify-center rounded-full border-2 border-dashed border-primary/60\">\n          <Fingerprint className=\"size-12 text-primary dark:text-primary\" />\n        </div>\n        <span className=\"text-xs text-muted-foreground\">Your brand, uniquely yours</span>\n      </div>\n    )\n  if (kind === \"tokens\")\n    return (\n      <div className=\"w-full max-w-xs space-y-2 font-sans text-xs\">\n        {[\n          [\"@designali/icons\", \"4000+\", \"new\"],\n          [\"@designali/logos\", \"brands\", \"new\"],\n          [\"@designali/vectors\", \"shapes\", \"new\"],\n        ].map(([id, scope, exp]) => (\n          <div key={id} className=\"flex items-center justify-between gap-2 border border-border bg-background px-3 py-2\">\n            <span>{id}</span>\n            <span className=\"text-muted-foreground\">{scope}</span>\n            <span className=\"text-primary dark:text-primary\">{exp}</span>\n          </div>\n        ))}\n      </div>\n    )\n  if (kind === \"anomaly\")\n    return (\n      <div className=\"w-full max-w-xs space-y-2 text-xs\">\n        {[\n          [\"Hero block\", \"Passed\", \"text-primary dark:text-primary\"],\n          [\"Pricing block\", \"Fix needed\", \"text-destructive dark:text-destructive\"],\n          [\"Footer block\", \"Passed\", \"text-primary dark:text-primary\"],\n          [\"Header block\", \"Review\", \"text-primary dark:text-primary\"],\n        ].map(([loc, status, tone], i) => (\n          <div key={i} className=\"flex justify-between border border-border bg-background px-3 py-2\">\n            <span>{loc}</span>\n            <span className={tone}>{status}</span>\n          </div>\n        ))}\n      </div>\n    )\n  return (\n    <div className=\"w-full max-w-xs space-y-2 font-sans text-xs\">\n      <div className=\"border border-border bg-background px-3 py-2\">\n        email: <span className=\"text-muted-foreground\">hello@designali.com</span>\n      </div>\n      <div className=\"border border-border bg-background px-3 py-2\">\n        primary: <span className=\"text-primary dark:text-primary\">var(--primary)</span>\n      </div>\n      <div className=\"border border-border bg-background px-3 py-2\">\n        radius: <span className=\"text-primary dark:text-primary\">var(--radius)</span>\n      </div>\n    </div>\n  )\n}\n\nexport default function Features11() {\n  const [active, setActive] = useState(0)\n\n  return (\n    <section className=\"w-full bg-background px-6 py-20 md:py-28\">\n      <div className=\"mx-auto max-w-6xl\">\n        <h2 className=\"max-w-2xl text-3xl font-medium tracking-tight md:text-5xl\">\n          Craft and quality built into every Designali release.\n        </h2>\n        <div className=\"mt-14 grid gap-8 lg:grid-cols-2 lg:gap-14\">\n          <div className=\"border-t border-border\">\n            {items.map((item, i) => {\n              const Icon = item.icon\n              const open = i === active\n              return (\n                <div key={item.title} className=\"border-b border-border\">\n                  <button\n                    type=\"button\"\n                    onClick={() => setActive(i)}\n                    aria-expanded={open}\n                    className=\"flex w-full items-center gap-4 py-5 text-left\"\n                  >\n                    <Icon className={cn(\"size-5 shrink-0\", open ? \"text-foreground\" : \"text-muted-foreground\")} />\n                    <span className={cn(\"text-lg font-medium\", !open && \"text-muted-foreground\")}>\n                      {item.title}\n                    </span>\n                  </button>\n                  <div className={cn(\"grid transition-all duration-300\", open ? \"grid-rows-[1fr] pb-6\" : \"grid-rows-[0fr]\")}>\n                    <p className=\"overflow-hidden pl-9 text-sm leading-7 text-muted-foreground\">\n                      {item.body}\n                    </p>\n                  </div>\n                </div>\n              )\n            })}\n          </div>\n          <div className=\"flex min-h-80 items-center justify-center border border-border bg-muted/40 p-8\">\n            <Visual kind={items[active]!.visual} />\n          </div>\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "720px"
  },
  "categories": [
    "features"
  ]
}