{
  "name": "single-select-card-form",
  "kind": "block",
  "primary": "form",
  "page": "/apps/user-flow/app/registration/use-case/use-case.contents.html",
  "slots": [],
  "nested": [
    "reg-step-header",
    "reg-usecase-picker",
    "reg-step-footer",
    "reg-step-progress"
  ],
  "attrs": {
    "data-reg-input": "",
    "action": "/site/examples/registration/team-size",
    "method": "get"
  },
  "html": "<form data-reg-input action=\"/site/examples/registration/team-size\" method=\"get\">\n        <header data-reg-heading><!-- nested: reg-step-header --></header>\n\n        <section data-reg-form role=\"radiogroup\" aria-label=\"Use case\"><!-- nested: reg-usecase-picker --></section>\n\n        <footer><!-- nested: reg-step-footer --></footer>\n      </form>",
  "source": "apps/user-flow/app/registration/use-case/use-case.contents.html",
  "metadata": {
    "domain": "forms",
    "description": "Complete single-select option-card form — heading, a vertical radio group of selectable cards each with a title and description, with a free-text textarea revealed on the 'Something else' option, and a submit footer. The full single-choice form composition with header and footer. Use for 'option picker form', 'single-select card form', 'radio card form', 'survey question form'.",
    "keywords": [
      "single-select",
      "form",
      "option-card",
      "radio",
      "group",
      "cards",
      "heading",
      "description",
      "pick",
      "choose",
      "use-case",
      "survey",
      "question",
      "textarea",
      "other",
      "complete",
      "card",
      "footer",
      "submit",
      "continue",
      "full-form"
    ],
    "related": [
      "reg-usecase-picker",
      "radio-button-group",
      "reg-step-footer"
    ],
    "tags": {
      "complexity": "simple",
      "form": "single-select"
    }
  },
  "captured_at": "2026-06-10T14:28:57.979Z",
  "template": [
    {
      "id": "text",
      "component": "Text",
      "variant": "display",
      "textContent": "What brings you here?"
    },
    {
      "id": "text-2",
      "component": "Text",
      "color": "subtle",
      "textContent": "Pick the option that's closest to your situation."
    },
    {
      "id": "header-2",
      "component": "Header",
      "data-reg-heading": "",
      "children": [
        "text",
        "text-2"
      ]
    },
    {
      "id": "header",
      "component": "Header",
      "data-reg-heading": "",
      "children": [
        "header-2"
      ]
    },
    {
      "id": "option-card",
      "component": "OptionCard",
      "description": "Spinning up a new project — design, ship, iterate.",
      "checked": true,
      "heading": "I'm building a product",
      "name": "use-case",
      "value": "build"
    },
    {
      "id": "option-card-2",
      "component": "OptionCard",
      "description": "Kicking the tires before bringing a team along.",
      "heading": "I'm exploring the product",
      "name": "use-case",
      "value": "explore"
    },
    {
      "id": "option-card-3",
      "component": "OptionCard",
      "description": "Moving an existing workspace and want a smooth port.",
      "heading": "I'm migrating from another tool",
      "name": "use-case",
      "value": "migrate"
    },
    {
      "id": "option-card-4",
      "component": "OptionCard",
      "description": "Comparing options and want to dig into specifics.",
      "heading": "I'm evaluating for my team",
      "name": "use-case",
      "value": "evaluate"
    },
    {
      "id": "use-case-detail",
      "component": "TextArea",
      "name": "use-case-detail",
      "placeholder": "What brings you to AdiaUI?",
      "rows": "3"
    },
    {
      "id": "option-card-5",
      "component": "OptionCard",
      "description": "Tell us more — we read every response.",
      "heading": "Something else",
      "name": "use-case",
      "value": "other",
      "children": [
        "use-case-detail"
      ]
    },
    {
      "id": "column",
      "component": "Column",
      "gap": "2",
      "children": [
        "option-card",
        "option-card-2",
        "option-card-3",
        "option-card-4",
        "option-card-5"
      ]
    },
    {
      "id": "section",
      "component": "Section",
      "data-reg-form": "",
      "children": [
        "column"
      ]
    },
    {
      "id": "use-case",
      "component": "Section",
      "data-reg-form": "",
      "children": [
        "section"
      ]
    },
    {
      "id": "column-2",
      "component": "Column"
    },
    {
      "id": "text-3",
      "component": "Text",
      "textContent": "Back",
      "variant": "body"
    },
    {
      "id": "link",
      "component": "Link",
      "href": "/site/examples/registration/profile",
      "text": "Back",
      "data-reg-back": "",
      "children": [
        "text-3"
      ]
    },
    {
      "id": "button",
      "component": "Button",
      "type": "submit",
      "text": "Continue",
      "variant": "primary"
    },
    {
      "id": "column-3",
      "component": "Column",
      "data-reg-actions": "",
      "children": [
        "link",
        "button"
      ]
    },
    {
      "id": "footer-2",
      "component": "Footer",
      "children": [
        "column-2",
        "column-3"
      ]
    },
    {
      "id": "footer",
      "component": "Footer",
      "children": [
        "footer-2"
      ]
    },
    {
      "id": "root",
      "component": "FormContainer",
      "data-reg-input": "",
      "children": [
        "header",
        "use-case",
        "footer"
      ]
    }
  ]
}
