{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The newsletter sign-up of FooterSplit in a card: a title with a glyph, the email field and button, and a note.",
  "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/** The newsletter sign-up of FooterSplit in a card: a title with a glyph, the email field and button, and a note. */\nimport { For, type JSX } from \"solid-js\";\nimport { Button, Form, Group, Input, Label, Stack, Text } from \"../compose\";\nimport { LucideIcon } from \"../icons/LucideIcon\";\nimport { cn, tpl } from \"../utils\";\nimport type { FooterExtras, FooterSplitLabels } from \"../blocks/footer-split.types\";\n\nexport type FooterSignupCardProps = {\n  id: string;\n  labels: FooterSplitLabels;\n};\n\nexport function FooterSignupCard({ id, labels }: FooterSignupCardProps) {\n  return (\n    <Stack gap=\"4\" align=\"stretch\" class=\"rounded bg-card inset-ring inset-ring-border p-6\" data-slot=\"signup\">\n      <Group gap=\"2\" align=\"center\">\n        <LucideIcon name=\"mail\" size={16} />\n        <Text size=\"sm\" weight=\"semibold\">\n          {labels.signup}\n        </Text>\n      </Group>\n      <Form method=\"dialog\" class={cn(\"w-full max-w-md\", (false ? \"mx-auto\" : \"\"))} data-slot=\"email-form\">\n        <Label for={tpl(\"{0}-email\", id)} class=\"sr-only\">\n          {labels.email}\n        </Label>\n        <Group gap=\"2\" align=\"start\" class=\"w-full flex-wrap\">\n          <Input type=\"email\" name=\"email\" class=\"min-w-0 flex-1\" id={tpl(\"{0}-email\", id)} data-slot=\"field\" />\n          <Button variant=\"default\" size=\"default\" type=\"submit\">\n            {labels.subscribe}\n          </Button>\n        </Group>\n      </Form>\n      <Text size=\"xs\" class=\"text-muted-foreground\">\n        {labels.note}\n      </Text>\n    </Stack>\n  );\n}\n",
      "path": "components/footer-signup-card.tsx",
      "target": "components/footer-signup-card.tsx"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "solid",
      "component"
    ]
  },
  "name": "footer-signup-card",
  "registryDependencies": [
    "compose",
    "footer-split",
    "lucide-icon",
    "utils"
  ],
  "runtime": "solid",
  "title": "Footer Signup Card",
  "type": "registry:component"
}
