{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "kanban",
  "title": "Kanban board",
  "description": "A three-column kanban board with card counts, tagged task cards, and an add-card affordance per column.",
  "registryDependencies": [
    "badge",
    "https://www.quilldesignsystem.com/r/icon.json"
  ],
  "files": [
    {
      "path": "registry/blocks/kanban.tsx",
      "content": "import { Badge } from '@/components/ui/badge'\nimport { Icon } from '@/components/ui/icon'\n\nconst columns = [\n  { title: 'Backlog', cards: [{ t: 'Audit color contrast', tag: 'a11y' }, { t: 'Draft migration guide', tag: 'docs' }] },\n  { title: 'In progress', cards: [{ t: 'Wave B components', tag: 'design' }, { t: 'Icon gallery search', tag: 'feat' }] },\n  { title: 'Done', cards: [{ t: 'Token foundation', tag: 'core' }, { t: 'Material Symbols', tag: 'icons' }] },\n]\n\n/** A three-column kanban board with card counts, tagged task cards, and an add-card affordance per column. */\nexport function Kanban() {\n  return (\n    <div className=\"flex gap-4 text-foreground\">\n      {columns.map((col) => (\n        <div key={col.title} className=\"flex w-rail shrink-0 flex-col gap-3 rounded-xl bg-muted/50 p-3\">\n          <div className=\"flex items-center justify-between px-1\">\n            <span className=\"text-sm font-medium\">{col.title}</span>\n            <Badge variant=\"secondary\">{col.cards.length}</Badge>\n          </div>\n          <div className=\"flex flex-col gap-2\">\n            {col.cards.map((c) => (\n              <div key={c.t} className=\"flex flex-col gap-2 rounded-lg bg-card p-3 ring-1 ring-foreground/10\">\n                <span className=\"text-sm\">{c.t}</span>\n                <div className=\"flex items-center justify-between\">\n                  <Badge variant=\"outline\">{c.tag}</Badge>\n                  <div className=\"flex size-6 items-center justify-center rounded-full bg-muted text-2xs font-medium text-muted-foreground\">\n                    AL\n                  </div>\n                </div>\n              </div>\n            ))}\n          </div>\n          <button className=\"flex items-center gap-1.5 rounded-lg px-1 py-1.5 text-sm text-muted-foreground transition-colors hover:text-foreground outline-hidden focus-visible:ring-3 focus-visible:ring-ring/50\">\n            <Icon name=\"add\" className=\"size-icon-md\" /> Add card\n          </button>\n        </div>\n      ))}\n    </div>\n  )\n}\n",
      "type": "registry:component",
      "target": "components/quill/kanban.tsx"
    }
  ],
  "meta": {
    "intent": [
      "productivity"
    ],
    "use_when": "You need to manage work across status columns with draggable, tagged task cards.",
    "not_for": "status is one column among many sortable fields — a table reads better than columns once you need to sort or filter across many records → data-table; the steps are a single sequential checklist, not parallel work items across independent columns → onboarding"
  },
  "docs": "A three-column kanban board with card counts, tagged task cards, and an add-card affordance per column. Do: Keep each column's card-count badge in sync with its actual card list — it's a running total, not a caption. Don't: Let the count badge drift out of sync when cards move between columns. Use data-table when status is one column among many sortable fields — a table reads better than columns once you need to sort or filter across many records. Use onboarding when the steps are a single sequential checklist, not parallel work items across independent columns.",
  "categories": [
    "productivity"
  ],
  "type": "registry:block"
}