{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Empty list or nothing found: a round icon, a title, a hint and an optional action.",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "// Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n/** Empty list or nothing found: a round icon, a title, a hint and an optional action. */\nimport { type ReactNode } from \"react\";\nimport { Box, IconBadge, Text } from \"../compose\";\nimport { LucideIcon } from \"../icons/LucideIcon\";\nimport { cn } from \"../utils\";\n\nexport type EmptyStateProps = {\n  icon?: string;\n  title: string;\n  text?: string;\n  className?: string;\n  action?: ReactNode;\n};\n\nexport function EmptyState({ icon = \"inbox\", title, text, className, action }: EmptyStateProps) {\n  return (\n    <Box\n      className={cn(\n        \"flex min-w-0 flex-col items-center gap-4 rounded bg-card px-6 py-14 text-center inset-ring inset-ring-border\",\n        className\n      )}\n      role=\"status\"\n      data-slot=\"empty-state\"\n    >\n      <IconBadge size=\"lg\">\n        <LucideIcon name={icon} size={20} />\n      </IconBadge>\n      <Text className=\"m-0 text-sm font-bold text-foreground\">\n        {title}\n      </Text>\n      {text ? (\n        <Text className=\"m-0 max-w-80 text-xs font-medium text-muted-foreground\">\n          {text}\n        </Text>\n      ) : null}\n      {action}\n    </Box>\n  );\n}\n",
      "path": "components/empty-state.tsx",
      "target": "components/empty-state.tsx"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "react",
      "component"
    ]
  },
  "name": "empty-state",
  "registryDependencies": [
    "compose",
    "lucide-icon",
    "utils"
  ],
  "runtime": "react",
  "title": "Empty State",
  "type": "registry:component"
}
