{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "features-15",
  "type": "registry:block",
  "description": "Developer feature list beside a dark code window with language tabs and a copy button.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [],
  "files": [
    {
      "path": "registry/designali/blocks/features/features-15.tsx",
      "content": "\"use client\"\n\nimport { useState } from \"react\"\nimport {\n  Check,\n  Copy,\n} from \"@designali/icons\"\n\nimport { cn } from \"@workspace/ui/lib/utils\"\n\nconst snippets: Record<string, string> = {\n  Icons: `// npm install @designali/icons\nimport { ArrowRight } from \"@designali/icons\"\n\nexport function Cta() {\n  return <ArrowRight className=\"size-4\" />\n}`,\n  Logos: `// npm install @designali/logos\nimport { Github, Vercel } from \"@designali/logos\"\n\nexport function Stack() {\n  return (\n    <>\n      <Github size={24} />\n      <Vercel size={24} />\n    </>\n  )\n}`,\n  Vectors: `// npm install @designali/vectors\nimport { Abstract12Shapes } from \"@designali/vectors\"\n\nexport function Hero() {\n  return <Abstract12Shapes size={160} />\n}`,\n}\n\nconst features = [\n  [\"Typed end to end\", \"Every Designali package ships with TypeScript types and autocomplete.\"],\n  [\"Tree-shakable\", \"Import only the icons, logos and vectors you use. Nothing more.\"],\n  [\"4000+ icons\", \"Lucide-compatible names, so switching to @designali/icons is painless.\"],\n]\n\nexport default function Features15() {\n  const langs = Object.keys(snippets)\n  const [lang, setLang] = useState(langs[0]!)\n  const [copied, setCopied] = useState(false)\n\n  return (\n    <section className=\"w-full bg-background px-6 py-20 md:py-28\">\n      <div className=\"mx-auto grid max-w-6xl gap-12 lg:grid-cols-[1fr_1.2fr] lg:items-center\">\n        <div>\n          <p className=\"text-xs tracking-[0.2em] text-muted-foreground uppercase\">\n            For developers\n          </p>\n          <h2 className=\"mt-4 text-3xl font-medium tracking-tight md:text-5xl\">\n            Add Designali assets in three lines.\n          </h2>\n          <ul className=\"mt-10 space-y-6\">\n            {features.map(([title, body]) => (\n              <li key={title} className=\"flex gap-4\">\n                <Check className=\"mt-0.5 size-4 shrink-0 text-primary dark:text-primary\" />\n                <div>\n                  <div className=\"text-sm font-medium\">{title}</div>\n                  <p className=\"mt-1 text-sm leading-6 text-muted-foreground\">{body}</p>\n                </div>\n              </li>\n            ))}\n          </ul>\n        </div>\n        <div className=\"min-w-0 border border-foreground bg-foreground text-background\">\n          <div className=\"flex items-center justify-between border-b border-foreground\">\n            <div className=\"flex overflow-x-auto\">\n              {langs.map((l) => (\n                <button\n                  key={l}\n                  type=\"button\"\n                  onClick={() => setLang(l)}\n                  className={cn(\n                    \"border-r border-foreground px-4 py-2.5 text-xs whitespace-nowrap transition-colors\",\n                    l === lang ? \"bg-foreground text-background\" : \"text-muted-foreground hover:text-white\"\n                  )}\n                >\n                  {l}\n                </button>\n              ))}\n            </div>\n            <button\n              type=\"button\"\n              aria-label=\"Copy code\"\n              onClick={() => {\n                navigator.clipboard?.writeText(snippets[lang]!).catch(() => {})\n                setCopied(true)\n                setTimeout(() => setCopied(false), 1500)\n              }}\n              className=\"px-3 text-muted-foreground hover:text-white\"\n            >\n              {copied ? <Check className=\"size-4\" /> : <Copy className=\"size-4\" />}\n            </button>\n          </div>\n          <pre className=\"overflow-x-auto p-5 font-mono text-[13px] leading-6\">\n            <code>{snippets[lang]}</code>\n          </pre>\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "620px"
  },
  "categories": [
    "features"
  ]
}