{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "header-19",
  "type": "registry:block",
  "description": "Checkout header with back link, centered wordmark, secure badge and a four-step progress indicator.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [],
  "files": [
    {
      "path": "registry/designali/blocks/header/header-19.tsx",
      "content": "import {\n  Check,\n  ChevronLeft,\n  LockKeyhole,\n} from \"@designali/icons\"\n\nconst steps = [\"Cart\", \"Details\", \"Payment\", \"Download\"]\nconst current = 2\n\nexport default function Header19() {\n  return (\n    <section className=\"w-full bg-background\">\n      <header className=\"border-b\">\n        <div className=\"mx-auto grid h-16 max-w-7xl grid-cols-[auto_1fr_auto] items-center gap-4 px-6\">\n          <a href=\"#\" className=\"flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground\">\n            <ChevronLeft className=\"size-4\" />\n            <span className=\"hidden sm:inline\">Back to templates</span>\n          </a>\n          <a href=\"#\" className=\"justify-self-center text-lg font-semibold tracking-[0.2em] uppercase\">\n            designali\n          </a>\n          <p className=\"flex items-center gap-1.5 text-xs text-muted-foreground\">\n            <LockKeyhole className=\"size-3.5\" />\n            <span className=\"hidden sm:inline\">Secure checkout</span>\n          </p>\n        </div>\n      </header>\n      <div className=\"border-b bg-muted/30\">\n        <ol className=\"mx-auto flex max-w-3xl items-center px-6 py-4\">\n          {steps.map((step, index) => {\n            const done = index < current\n            const active = index === current\n            return (\n              <li key={step} className=\"flex flex-1 items-center last:flex-none\">\n                <span className=\"flex items-center gap-2\">\n                  <span\n                    className={`flex size-6 shrink-0 items-center justify-center rounded-full text-[11px] font-medium ${\n                      done\n                        ? \"bg-foreground text-background\"\n                        : active\n                          ? \"border-2 border-foreground\"\n                          : \"border text-muted-foreground\"\n                    }`}\n                  >\n                    {done ? <Check className=\"size-3.5\" /> : index + 1}\n                  </span>\n                  <span\n                    className={`text-sm ${active ? \"font-medium\" : done ? \"\" : \"text-muted-foreground\"} ${\n                      active ? \"\" : \"hidden sm:inline\"\n                    }`}\n                  >\n                    {step}\n                  </span>\n                </span>\n                {index < steps.length - 1 && (\n                  <span className={`mx-3 h-px flex-1 ${done ? \"bg-foreground\" : \"bg-border\"}`} />\n                )}\n              </li>\n            )\n          })}\n        </ol>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "240px"
  },
  "categories": [
    "header"
  ]
}