{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Empty State component",
  "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. -->\n<script lang=\"ts\" module>\n  import type { Snippet } from \"svelte\";\n\n  export type EmptyStateProps = {\n    icon?: string;\n    title: string;\n    text?: string;\n    class?: string;\n    action?: Snippet;\n  };\n</script>\n\n<script lang=\"ts\">\n  import Box from \"../compose/Box.svelte\";\n  import IconBadge from \"../compose/IconBadge.svelte\";\n  import LucideIcon from \"../icons/LucideIcon.svelte\";\n  import Text from \"../compose/Text.svelte\";\n  import { cn } from \"../utils\";\n\n  let { icon = \"inbox\", title, text, class: className, action }: EmptyStateProps = $props();\n</script>\n\n<Box\n  class={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 class=\"m-0 text-sm font-bold text-foreground\">\n    {title}\n  </Text>\n  {#if text}\n    <Text class=\"m-0 max-w-80 text-xs font-medium text-muted-foreground\">\n      {text}\n    </Text>\n  {/if}\n  {@render action?.()}\n</Box>\n",
      "path": "components/empty-state.svelte",
      "target": "components/empty-state.svelte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "svelte",
      "component"
    ]
  },
  "name": "empty-state",
  "registryDependencies": [
    "box",
    "icon-badge",
    "lucide-icon",
    "text",
    "utils"
  ],
  "runtime": "svelte",
  "title": "Empty State",
  "type": "registry:component"
}
