{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "state-empty",
  "type": "registry:component",
  "title": "State Empty",
  "description": "Canonical empty state for M8 table and page surfaces.",
  "dependencies": [
    "lucide-react"
  ],
  "files": [
    {
      "path": "registry/blocks/state/state-empty.tsx",
      "content": "\"use client\";\n// astro-ui-m8-skin-version: 1.5.3 (A-C6 — run `npx astro-ui-m8-skin-lock` to compare against your installed @mano8/astro-ui-m8)\n\nimport * as React from \"react\";\nimport { Inbox } from \"lucide-react\";\n\nexport interface StateEmptyProps {\n  title?: string;\n  description?: string;\n  action?: React.ReactNode;\n  icon?: React.ReactNode;\n}\n\nexport function StateEmpty({\n  title = \"No results\",\n  description = \"Nothing matches the current view.\",\n  action,\n  icon,\n}: StateEmptyProps) {\n  return (\n    <div className=\"flex min-h-40 flex-col items-center justify-center rounded-md border bg-card p-6 text-center text-card-foreground\">\n      <div className=\"mb-3 rounded-full border bg-background p-3 text-muted-foreground\">\n        {icon ?? <Inbox className=\"size-5\" aria-hidden=\"true\" />}\n      </div>\n      <div className=\"space-y-2\">\n        <p className=\"text-sm font-medium\">{title}</p>\n        <p className=\"max-w-md text-sm text-muted-foreground\">{description}</p>\n      </div>\n      {action ? <div className=\"mt-4\">{action}</div> : null}\n    </div>\n  );\n}\n\n",
      "type": "registry:component",
      "target": "components/m8-ui/state-empty.tsx"
    }
  ]
}
