{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "grid-14",
  "type": "registry:block",
  "description": "Multi-select onboarding card grid with check states and a create workspace footer.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "button"
  ],
  "files": [
    {
      "path": "registry/designali/blocks/grid/grid-14.tsx",
      "content": "\"use client\"\n\nimport { useState } from \"react\"\nimport {\n  BookOpen,\n  Check,\n  SquareKanban as KanbanSquare,\n  Megaphone,\n  Palette,\n  Rocket,\n  Users,\n} from \"@designali/icons\"\n\nimport { Button } from \"@workspace/ui/components/button\"\nimport { cn } from \"@workspace/ui/lib/utils\"\n\nimport type * as React from \"react\"\n\ntype IconComponent = React.ComponentType<React.SVGProps<SVGSVGElement> & { size?: number | string; strokeWidth?: number }>\n\nconst options: { id: string; icon: IconComponent; title: string; text: string; includes: string }[] = [\n  { id: \"product\", icon: Rocket, title: \"Product launch\", text: \"Landing page, pricing and launch blocks in one starter.\", includes: \"4 pages · 32 blocks\" },\n  { id: \"design\", icon: Palette, title: \"Design system\", text: \"Tokens, components and a Figma library kept in sync.\", includes: \"3 pages · 18 blocks\" },\n  { id: \"marketing\", icon: Megaphone, title: \"Brand identity\", text: \"Logo, colour and type guidelines for your brand.\", includes: \"5 pages · 40 assets\" },\n  { id: \"sprint\", icon: KanbanSquare, title: \"Web app\", text: \"Dashboard, auth and settings screens built with Next.js.\", includes: \"4 pages · 26 blocks\" },\n  { id: \"hiring\", icon: Users, title: \"Portfolio\", text: \"A personal site to show your work, like Ali Imam's.\", includes: \"3 pages · 12 blocks\" },\n  { id: \"wiki\", icon: BookOpen, title: \"Docs site\", text: \"Guides, components and changelog pages.\", includes: \"2 pages · 24 blocks\" },\n]\n\nexport default function Grid14() {\n  const [selected, setSelected] = useState<string[]>([\"product\"])\n\n  const toggle = (id: string) =>\n    setSelected((current) =>\n      current.includes(id) ? current.filter((item) => item !== id) : [...current, id]\n    )\n\n  return (\n    <section className=\"w-full bg-muted/30 py-24\">\n      <div className=\"mx-auto max-w-5xl px-6\">\n        <p className=\"font-sans text-xs text-muted-foreground\">Step 2 of 3</p>\n        <h2 className=\"mt-3 text-3xl font-semibold tracking-tight md:text-4xl\">\n          What will you build with Designali?\n        </h2>\n        <p className=\"mt-3 text-sm text-muted-foreground\">\n          Pick as many as you like. We&apos;ll set up starter blocks so nobody faces a blank page.\n        </p>\n\n        <div className=\"mt-10 grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3\">\n          {options.map((option) => {\n            const isSelected = selected.includes(option.id)\n            return (\n              <button\n                key={option.id}\n                type=\"button\"\n                aria-pressed={isSelected}\n                onClick={() => toggle(option.id)}\n                className={cn(\n                  \"group relative flex flex-col items-start gap-4 border bg-background p-5 text-left transition-colors\",\n                  isSelected ? \"border-foreground ring-1 ring-foreground\" : \"border-border hover:border-foreground/40\"\n                )}\n              >\n                <span\n                  className={cn(\n                    \"absolute top-4 right-4 flex size-5 items-center justify-center border transition-colors\",\n                    isSelected ? \"border-foreground bg-foreground text-background\" : \"border-border\"\n                  )}\n                >\n                  {isSelected && <Check className=\"size-3\" />}\n                </span>\n                <span className=\"flex size-10 items-center justify-center bg-muted\">\n                  <option.icon className=\"size-5\" />\n                </span>\n                <span>\n                  <span className=\"block font-medium\">{option.title}</span>\n                  <span className=\"mt-1 block text-sm leading-6 text-muted-foreground\">{option.text}</span>\n                </span>\n                <span className=\"font-sans text-[10px] tracking-wider text-muted-foreground uppercase\">\n                  {option.includes}\n                </span>\n              </button>\n            )\n          })}\n        </div>\n\n        <div className=\"mt-8 flex flex-col-reverse gap-3 border-t border-border pt-6 sm:flex-row sm:items-center sm:justify-between\">\n          <Button variant=\"ghost\">Skip for now</Button>\n          <div className=\"flex items-center justify-between gap-4 sm:justify-end\">\n            <span className=\"text-xs text-muted-foreground\">{selected.length} selected</span>\n            <Button disabled={selected.length === 0}>Create project</Button>\n          </div>\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "750px"
  },
  "categories": [
    "grid"
  ]
}