{
  "name": "newsletter-subscription",
  "kind": "block",
  "primary": "card-ui",
  "page": "/catalog/ui-patterns/app/newsletter-subscription/newsletter-subscription.contents.html",
  "slots": [],
  "nested": [],
  "attrs": {},
  "html": "<card-ui>\n  <header>\n    <text-ui slot=\"heading\" size=\"lg\" weight=\"semibold\">Stay in the loop</text-ui>\n    <p slot=\"description\">Get product updates, feature releases, and tips — straight to your inbox.</p>\n  </header>\n  <section>\n    <col-ui gap=\"4\">\n      <row-ui gap=\"2\" align=\"end\">\n        <col-ui style=\"flex:1\">\n          <input-ui type=\"email\" name=\"email\" placeholder=\"Enter your email\"></input-ui>\n        </col-ui>\n        <button-ui text=\"Subscribe\" variant=\"primary\"></button-ui>\n      </row-ui>\n      <text-ui size=\"xs\" color=\"subtle\">No spam. Unsubscribe anytime.</text-ui>\n      <col-ui gap=\"2\">\n        <row-ui gap=\"2\" align=\"center\">\n          <icon-ui name=\"check-circle\" color=\"var(--a-success-strong)\" size=\"16\"></icon-ui>\n          <text-ui size=\"sm\">Weekly product highlights</text-ui>\n        </row-ui>\n        <row-ui gap=\"2\" align=\"center\">\n          <icon-ui name=\"check-circle\" color=\"var(--a-success-strong)\" size=\"16\"></icon-ui>\n          <text-ui size=\"sm\">Early access to new features</text-ui>\n        </row-ui>\n        <row-ui gap=\"2\" align=\"center\">\n          <icon-ui name=\"check-circle\" color=\"var(--a-success-strong)\" size=\"16\"></icon-ui>\n          <text-ui size=\"sm\">Tips from the team</text-ui>\n        </row-ui>\n      </col-ui>\n    </col-ui>\n  </section>\n</card-ui>",
  "source": "catalog/ui-patterns/app/newsletter-subscription/newsletter-subscription.contents.html",
  "metadata": {
    "domain": "forms",
    "description": "Newsletter subscription form — email input with subscribe button. Compact signup card with headline, email input-ui, subscribe button, and a privacy reassurance note.",
    "keywords": [
      "newsletter",
      "subscription",
      "form",
      "email",
      "subscribe",
      "signup",
      "subscribe-button",
      "input-ui",
      "email-input",
      "form",
      "cta",
      "opt-in",
      "mailing"
    ]
  },
  "captured_at": "2026-06-07T19:28:13.657Z",
  "template": [
    {
      "id": "text",
      "component": "Text",
      "slot": "heading",
      "size": "lg",
      "weight": "semibold",
      "textContent": "Stay in the loop"
    },
    {
      "id": "text-2",
      "component": "Text",
      "variant": "body",
      "slot": "description",
      "textContent": "Get product updates, feature releases, and tips — straight to your inbox."
    },
    {
      "id": "header",
      "component": "Header",
      "children": [
        "text",
        "text-2"
      ]
    },
    {
      "id": "email",
      "component": "Input",
      "type": "email",
      "name": "email",
      "placeholder": "Enter your email"
    },
    {
      "id": "button",
      "component": "Button",
      "text": "Subscribe",
      "variant": "primary"
    },
    {
      "id": "row",
      "component": "Row",
      "align": "end",
      "gap": "2",
      "children": [
        "email",
        "button"
      ]
    },
    {
      "id": "text-3",
      "component": "Text",
      "color": "subtle",
      "size": "xs",
      "textContent": "No spam. Unsubscribe anytime."
    },
    {
      "id": "check-circle",
      "component": "Icon",
      "name": "check-circle",
      "size": "16"
    },
    {
      "id": "text-4",
      "component": "Text",
      "size": "sm",
      "textContent": "Weekly product highlights"
    },
    {
      "id": "row-2",
      "component": "Row",
      "align": "center",
      "gap": "2",
      "children": [
        "check-circle",
        "text-4"
      ]
    },
    {
      "id": "icon",
      "component": "Icon",
      "name": "check-circle",
      "size": "16"
    },
    {
      "id": "text-5",
      "component": "Text",
      "size": "sm",
      "textContent": "Early access to new features"
    },
    {
      "id": "row-3",
      "component": "Row",
      "align": "center",
      "gap": "2",
      "children": [
        "icon",
        "text-5"
      ]
    },
    {
      "id": "icon-2",
      "component": "Icon",
      "name": "check-circle",
      "size": "16"
    },
    {
      "id": "text-6",
      "component": "Text",
      "size": "sm",
      "textContent": "Tips from the team"
    },
    {
      "id": "row-4",
      "component": "Row",
      "align": "center",
      "gap": "2",
      "children": [
        "icon-2",
        "text-6"
      ]
    },
    {
      "id": "column-3",
      "component": "Column",
      "gap": "2",
      "children": [
        "row-2",
        "row-3",
        "row-4"
      ]
    },
    {
      "id": "column",
      "component": "Column",
      "gap": "4",
      "children": [
        "row",
        "text-3",
        "column-3"
      ]
    },
    {
      "id": "section",
      "component": "Section",
      "children": [
        "column"
      ]
    },
    {
      "id": "root",
      "component": "Card",
      "children": [
        "header",
        "section"
      ]
    }
  ]
}
