{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "A short confirmation toast: fixed bottom right, read out by screen readers through role status. Empty text renders nothing visible.",
  "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/**\n * A short confirmation toast: fixed bottom right, read out by screen readers through role status. Empty text\n * renders nothing visible.\n */\nimport { type JSX } from \"solid-js\";\nimport { Box, Text } from \"../compose\";\nimport { LucideIcon } from \"../icons/LucideIcon\";\n\nexport type NoticeProps = {\n  text: string;\n};\n\nexport function Notice({ text }: NoticeProps) {\n  return (\n    <Box class=\"contents\" role=\"status\" data-slot=\"notice\">\n      {text ? (\n        <Text\n          class={\"fixed right-4 bottom-4 z-40 m-0 flex items-center gap-2 rounded bg-foreground p-4 text-xs font-bold \" +\n            \"text-background shadow-lg\"}\n        >\n          <LucideIcon name=\"circle-check\" size={16} />\n          {text}\n        </Text>\n      ) : null}\n    </Box>\n  );\n}\n",
      "path": "components/notice.tsx",
      "target": "components/notice.tsx"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "solid",
      "component"
    ]
  },
  "name": "notice",
  "registryDependencies": [
    "compose",
    "lucide-icon",
    "utils"
  ],
  "runtime": "solid",
  "title": "Notice",
  "type": "registry:component"
}
