{
  "$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/server-organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n    Source: packages/compose-gen/specs/organisms/footer-signup-card.json\n    The newsletter sign-up of FooterSplit in a card: a title with a glyph, the email field and button, and a note.\n    Props (p): id, labels. -#}\n{%- set v_id = (p.id ?? null) -%}\n{%- set v_labels = (p.labels ?? null) -%}\n{%- set c_8 -%}\n  {%- set c_2 -%}\n    {{ include('icons/LucideIcon.html.twig', {'name': 'mail', 'size': 16}, with_context = false) }}\n    {%- set c_1 -%}\n      {{ og_text(og_get(v_labels, ['signup'])) }}\n    {%- endset -%}\n    {{ include('compose/Text.html.twig', {'size': 'sm', 'weight': 'semibold', 'children': c_1}, with_context = false) }}\n  {%- endset -%}\n  {{ include('compose/Group.html.twig', {'gap': '2', 'align': 'center', 'children': c_2}, with_context = false) }}\n  {%- set c_6 -%}\n    {%- set c_3 -%}\n      {{ og_text(og_get(v_labels, ['email'])) }}\n    {%- endset -%}\n    {{ include('compose/Label.html.twig', {'htmlFor': og_s(og_tpl('{0}-email', [v_id])), 'class': 'sr-only', 'children': c_3}, with_context = false) }}\n    {%- set c_5 -%}\n      {{ include('compose/Input.html.twig', {'type': 'email', 'name': 'email', 'class': 'min-w-0 flex-1', 'attrs': og_attrs(['id', og_tpl('{0}-email', [v_id]), 'data-slot', 'field'])}, with_context = false) }}\n      {%- set c_4 -%}\n        {{ og_text(og_get(v_labels, ['subscribe'])) }}\n      {%- endset -%}\n      {{ include('compose/Button.html.twig', {'variant': 'default', 'size': 'default', 'type': 'submit', 'children': c_4}, with_context = false) }}\n    {%- endset -%}\n    {{ include('compose/Group.html.twig', {'gap': '2', 'align': 'start', 'class': 'w-full flex-wrap', 'children': c_5}, with_context = false) }}\n  {%- endset -%}\n  {{ include('compose/Form.html.twig', {'method': 'dialog', 'class': og_s(og_cnv(['w-full max-w-md', (og_t(false) ? 'mx-auto' : '')])), 'attrs': og_attrs(['data-slot', 'email-form']), 'children': c_6}, with_context = false) }}\n  {%- set c_7 -%}\n    {{ og_text(og_get(v_labels, ['note'])) }}\n  {%- endset -%}\n  {{ include('compose/Text.html.twig', {'size': 'xs', 'class': 'text-muted-foreground', 'children': c_7}, with_context = false) }}\n{%- endset -%}\n{{ include('compose/Stack.html.twig', {'gap': '4', 'align': 'stretch', 'class': 'rounded bg-card inset-ring inset-ring-border p-6', 'attrs': og_attrs(['data-slot', 'signup']), 'children': c_8}, with_context = false) }}\n",
      "path": "blocks/footer-signup-card.html.twig",
      "target": "blocks/footer-signup-card.html.twig"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "twig",
      "component"
    ]
  },
  "name": "footer-signup-card",
  "registryDependencies": [
    "button",
    "form",
    "group",
    "input",
    "label",
    "lucide-icon",
    "stack",
    "text",
    "utils"
  ],
  "runtime": "twig",
  "title": "Footer Signup Card",
  "type": "registry:component"
}
