{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "features-18",
  "type": "registry:block",
  "description": "Before and after toggle that flips a list of pain points into their solved counterparts.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [],
  "files": [
    {
      "path": "registry/designali/blocks/features/features-18.tsx",
      "content": "\"use client\"\n\nimport { useState } from \"react\"\nimport {\n  Check,\n  X,\n} from \"@designali/icons\"\n\nimport { cn } from \"@workspace/ui/lib/utils\"\n\nconst rows = [\n  { without: \"Designing every section from a blank canvas\", with: \"460+ ready-made blocks to start from\" },\n  { without: \"Hand-off files lost between design and code\", with: \"Figma designs shipped as production-ready Next.js\" },\n  { without: \"Mixing icon sets from five different sources\", with: \"4000+ consistent icons in @designali/icons\" },\n  { without: \"Weeks spent on a landing page\", with: \"240+ landing pages you can launch today\" },\n]\n\nexport default function Features18() {\n  const [mode, setMode] = useState<\"without\" | \"with\">(\"with\")\n\n  return (\n    <section className=\"w-full bg-muted/30 px-6 py-20 md:py-28\">\n      <div className=\"mx-auto max-w-4xl\">\n        <h2 className=\"text-center text-3xl font-medium tracking-tight md:text-5xl\">\n          Building websites, before and after Designali.\n        </h2>\n        <div className=\"mx-auto mt-10 grid w-full max-w-xs grid-cols-2 border border-border bg-background p-1\">\n          {([\"without\", \"with\"] as const).map((m) => (\n            <button\n              key={m}\n              type=\"button\"\n              onClick={() => setMode(m)}\n              className={cn(\n                \"py-2 text-sm transition-colors\",\n                mode === m ? \"bg-foreground text-background\" : \"text-muted-foreground hover:text-foreground\"\n              )}\n            >\n              {m === \"with\" ? \"With Designali\" : \"Without\"}\n            </button>\n          ))}\n        </div>\n        <ul className=\"mt-10 space-y-3\">\n          {rows.map((row) => (\n            <li\n              key={row.with}\n              className={cn(\n                \"flex items-center gap-4 border p-5 transition-colors\",\n                mode === \"with\"\n                  ? \"border-chart-2/30 bg-background\"\n                  : \"border-border bg-background/50\"\n              )}\n            >\n              <span\n                className={cn(\n                  \"flex size-7 shrink-0 items-center justify-center\",\n                  mode === \"with\"\n                    ? \"bg-chart-2 text-white\"\n                    : \"bg-destructive/10 text-destructive dark:bg-destructive/15 dark:text-destructive\"\n                )}\n              >\n                {mode === \"with\" ? <Check className=\"size-4\" /> : <X className=\"size-4\" />}\n              </span>\n              <span className={cn(\"text-sm md:text-base\", mode === \"without\" && \"text-muted-foreground\")}>\n                {mode === \"with\" ? row.with : row.without}\n              </span>\n            </li>\n          ))}\n        </ul>\n        <p className=\"mt-8 text-center text-xs text-muted-foreground\">\n          Design se code tak — from first idea to launch.\n        </p>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "640px"
  },
  "categories": [
    "features"
  ]
}