{
  "name": "Radios",
  "component": "radios",
  "fixtures": [
    {
      "name": "default",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "size": "l",
            "isPageHeading": true
          }
        },
        "name": "example",
        "items": [
          {
            "value": "email",
            "text": "Email"
          },
          {
            "value": "phone",
            "text": "Phone"
          },
          {
            "value": "text",
            "text": "Text message"
          }
        ]
      },
      "screenshot": {
        "viewports": [
          "mobile",
          "tablet",
          "desktop"
        ]
      },
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--l\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      How do you want to be contacted about this?\n    </h1>\n  </legend>\n  <div class=\"nhsuk-radios\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"example\" name=\"example\" type=\"radio\" value=\"email\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"example\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"example-2\" name=\"example\" type=\"radio\" value=\"phone\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"example-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"example-3\" name=\"example\" type=\"radio\" value=\"text\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"example-3\">\n        Text message\n      </label>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "default",
      "description": "small",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "size": "m",
            "isPageHeading": true
          }
        },
        "name": "example",
        "items": [
          {
            "value": "email",
            "text": "Email"
          },
          {
            "value": "phone",
            "text": "Phone"
          },
          {
            "value": "text",
            "text": "Text message"
          }
        ],
        "small": true
      },
      "screenshot": {
        "viewports": [
          "mobile",
          "tablet",
          "desktop"
        ]
      },
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--m\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      How do you want to be contacted about this?\n    </h1>\n  </legend>\n  <div class=\"nhsuk-radios nhsuk-radios--small\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"example\" name=\"example\" type=\"radio\" value=\"email\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"example\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"example-2\" name=\"example\" type=\"radio\" value=\"phone\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"example-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"example-3\" name=\"example\" type=\"radio\" value=\"text\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"example-3\">\n        Text message\n      </label>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "disabled",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "size": "l",
            "isPageHeading": true
          }
        },
        "idPrefix": "disabled",
        "name": "example",
        "disabled": true,
        "items": [
          {
            "value": "email",
            "text": "Email"
          },
          {
            "value": "phone",
            "text": "Phone"
          },
          {
            "value": "text",
            "text": "Text message"
          }
        ]
      },
      "screenshot": {
        "viewports": [
          "mobile",
          "tablet",
          "desktop"
        ]
      },
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--l\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      How do you want to be contacted about this?\n    </h1>\n  </legend>\n  <div class=\"nhsuk-radios\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"disabled\" name=\"example\" type=\"radio\" value=\"email\" disabled>\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"disabled\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"disabled-2\" name=\"example\" type=\"radio\" value=\"phone\" disabled>\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"disabled-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"disabled-3\" name=\"example\" type=\"radio\" value=\"text\" disabled>\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"disabled-3\">\n        Text message\n      </label>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "disabled",
      "description": "small",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "size": "m",
            "isPageHeading": true
          }
        },
        "idPrefix": "disabled",
        "name": "example",
        "disabled": true,
        "items": [
          {
            "value": "email",
            "text": "Email"
          },
          {
            "value": "phone",
            "text": "Phone"
          },
          {
            "value": "text",
            "text": "Text message"
          }
        ],
        "small": true
      },
      "screenshot": {
        "viewports": [
          "mobile",
          "tablet",
          "desktop"
        ]
      },
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--m\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      How do you want to be contacted about this?\n    </h1>\n  </legend>\n  <div class=\"nhsuk-radios nhsuk-radios--small\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"disabled\" name=\"example\" type=\"radio\" value=\"email\" disabled>\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"disabled\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"disabled-2\" name=\"example\" type=\"radio\" value=\"phone\" disabled>\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"disabled-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"disabled-3\" name=\"example\" type=\"radio\" value=\"text\" disabled>\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"disabled-3\">\n        Text message\n      </label>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "disabled input",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "size": "l",
            "isPageHeading": true
          }
        },
        "idPrefix": "disabled-input",
        "name": "example",
        "items": [
          {
            "value": "email",
            "text": "Email"
          },
          {
            "value": "phone",
            "text": "Phone"
          },
          {
            "value": "text",
            "text": "Text message",
            "disabled": true
          }
        ]
      },
      "screenshot": false,
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--l\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      How do you want to be contacted about this?\n    </h1>\n  </legend>\n  <div class=\"nhsuk-radios\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"disabled-input\" name=\"example\" type=\"radio\" value=\"email\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"disabled-input\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"disabled-input-2\" name=\"example\" type=\"radio\" value=\"phone\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"disabled-input-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"disabled-input-3\" name=\"example\" type=\"radio\" value=\"text\" disabled>\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"disabled-input-3\">\n        Text message\n      </label>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "disabled input",
      "description": "small",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "size": "m",
            "isPageHeading": true
          }
        },
        "idPrefix": "disabled-input",
        "name": "example",
        "items": [
          {
            "value": "email",
            "text": "Email"
          },
          {
            "value": "phone",
            "text": "Phone"
          },
          {
            "value": "text",
            "text": "Text message",
            "disabled": true
          }
        ],
        "small": true
      },
      "screenshot": false,
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--m\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      How do you want to be contacted about this?\n    </h1>\n  </legend>\n  <div class=\"nhsuk-radios nhsuk-radios--small\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"disabled-input\" name=\"example\" type=\"radio\" value=\"email\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"disabled-input\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"disabled-input-2\" name=\"example\" type=\"radio\" value=\"phone\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"disabled-input-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"disabled-input-3\" name=\"example\" type=\"radio\" value=\"text\" disabled>\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"disabled-input-3\">\n        Text message\n      </label>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "disabled with enabled input",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "size": "l",
            "isPageHeading": true
          }
        },
        "idPrefix": "disabled-enabled-input",
        "name": "example",
        "disabled": true,
        "items": [
          {
            "value": "email",
            "text": "Email"
          },
          {
            "value": "phone",
            "text": "Phone"
          },
          {
            "value": "text",
            "text": "Text message",
            "disabled": false
          }
        ]
      },
      "screenshot": false,
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--l\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      How do you want to be contacted about this?\n    </h1>\n  </legend>\n  <div class=\"nhsuk-radios\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"disabled-enabled-input\" name=\"example\" type=\"radio\" value=\"email\" disabled>\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"disabled-enabled-input\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"disabled-enabled-input-2\" name=\"example\" type=\"radio\" value=\"phone\" disabled>\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"disabled-enabled-input-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"disabled-enabled-input-3\" name=\"example\" type=\"radio\" value=\"text\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"disabled-enabled-input-3\">\n        Text message\n      </label>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "disabled with enabled input",
      "description": "small",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "size": "m",
            "isPageHeading": true
          }
        },
        "idPrefix": "disabled-enabled-input",
        "name": "example",
        "disabled": true,
        "items": [
          {
            "value": "email",
            "text": "Email"
          },
          {
            "value": "phone",
            "text": "Phone"
          },
          {
            "value": "text",
            "text": "Text message",
            "disabled": false
          }
        ],
        "small": true
      },
      "screenshot": false,
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--m\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      How do you want to be contacted about this?\n    </h1>\n  </legend>\n  <div class=\"nhsuk-radios nhsuk-radios--small\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"disabled-enabled-input\" name=\"example\" type=\"radio\" value=\"email\" disabled>\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"disabled-enabled-input\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"disabled-enabled-input-2\" name=\"example\" type=\"radio\" value=\"phone\" disabled>\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"disabled-enabled-input-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"disabled-enabled-input-3\" name=\"example\" type=\"radio\" value=\"text\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"disabled-enabled-input-3\">\n        Text message\n      </label>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "inline",
      "context": {
        "fieldset": {
          "legend": {
            "text": "Are you 18 or over?",
            "size": "l",
            "isPageHeading": true
          }
        },
        "idPrefix": "inline",
        "name": "example",
        "inline": true,
        "items": [
          {
            "value": "yes",
            "text": "Yes"
          },
          {
            "value": "no",
            "text": "No"
          }
        ]
      },
      "screenshot": {
        "viewports": [
          "mobile",
          "tablet",
          "desktop"
        ]
      },
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--l\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      Are you 18 or over?\n    </h1>\n  </legend>\n  <div class=\"nhsuk-radios nhsuk-radios--inline\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"inline\" name=\"example\" type=\"radio\" value=\"yes\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"inline\">\n        Yes\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"inline-2\" name=\"example\" type=\"radio\" value=\"no\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"inline-2\">\n        No\n      </label>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "inline",
      "description": "small",
      "context": {
        "fieldset": {
          "legend": {
            "text": "Are you 18 or over?",
            "size": "m",
            "isPageHeading": true
          }
        },
        "idPrefix": "inline",
        "name": "example",
        "inline": true,
        "items": [
          {
            "value": "yes",
            "text": "Yes"
          },
          {
            "value": "no",
            "text": "No"
          }
        ],
        "small": true
      },
      "screenshot": {
        "viewports": [
          "mobile",
          "tablet",
          "desktop"
        ]
      },
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--m\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      Are you 18 or over?\n    </h1>\n  </legend>\n  <div class=\"nhsuk-radios nhsuk-radios--small nhsuk-radios--inline\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"inline\" name=\"example\" type=\"radio\" value=\"yes\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"inline\">\n        Yes\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"inline-2\" name=\"example\" type=\"radio\" value=\"no\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"inline-2\">\n        No\n      </label>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "legend",
      "description": "with size S",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "size": "s"
          }
        },
        "idPrefix": "custom-size",
        "name": "example",
        "items": [
          {
            "value": "email",
            "text": "Email"
          },
          {
            "value": "phone",
            "text": "Phone"
          },
          {
            "value": "text",
            "text": "Text message"
          }
        ]
      },
      "screenshot": false,
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--s\">\n    How do you want to be contacted about this?\n  </legend>\n  <div class=\"nhsuk-radios\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"custom-size\" name=\"example\" type=\"radio\" value=\"email\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"custom-size\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"custom-size-2\" name=\"example\" type=\"radio\" value=\"phone\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"custom-size-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"custom-size-3\" name=\"example\" type=\"radio\" value=\"text\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"custom-size-3\">\n        Text message\n      </label>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "legend",
      "description": "with size M",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "size": "m"
          }
        },
        "idPrefix": "custom-size",
        "name": "example",
        "items": [
          {
            "value": "email",
            "text": "Email"
          },
          {
            "value": "phone",
            "text": "Phone"
          },
          {
            "value": "text",
            "text": "Text message"
          }
        ]
      },
      "screenshot": false,
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--m\">\n    How do you want to be contacted about this?\n  </legend>\n  <div class=\"nhsuk-radios\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"custom-size\" name=\"example\" type=\"radio\" value=\"email\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"custom-size\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"custom-size-2\" name=\"example\" type=\"radio\" value=\"phone\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"custom-size-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"custom-size-3\" name=\"example\" type=\"radio\" value=\"text\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"custom-size-3\">\n        Text message\n      </label>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "legend",
      "description": "with size L",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "size": "l"
          }
        },
        "idPrefix": "custom-size",
        "name": "example",
        "items": [
          {
            "value": "email",
            "text": "Email"
          },
          {
            "value": "phone",
            "text": "Phone"
          },
          {
            "value": "text",
            "text": "Text message"
          }
        ]
      },
      "screenshot": false,
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--l\">\n    How do you want to be contacted about this?\n  </legend>\n  <div class=\"nhsuk-radios\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"custom-size\" name=\"example\" type=\"radio\" value=\"email\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"custom-size\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"custom-size-2\" name=\"example\" type=\"radio\" value=\"phone\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"custom-size-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"custom-size-3\" name=\"example\" type=\"radio\" value=\"text\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"custom-size-3\">\n        Text message\n      </label>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "legend",
      "description": "with size XL",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "size": "xl"
          }
        },
        "idPrefix": "custom-size",
        "name": "example",
        "items": [
          {
            "value": "email",
            "text": "Email"
          },
          {
            "value": "phone",
            "text": "Phone"
          },
          {
            "value": "text",
            "text": "Text message"
          }
        ]
      },
      "screenshot": false,
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--xl\">\n    How do you want to be contacted about this?\n  </legend>\n  <div class=\"nhsuk-radios\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"custom-size\" name=\"example\" type=\"radio\" value=\"email\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"custom-size\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"custom-size-2\" name=\"example\" type=\"radio\" value=\"phone\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"custom-size-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"custom-size-3\" name=\"example\" type=\"radio\" value=\"text\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"custom-size-3\">\n        Text message\n      </label>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "with conditional content",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "size": "l",
            "isPageHeading": true
          }
        },
        "hint": {
          "text": "Select 1 option"
        },
        "idPrefix": "conditional",
        "name": "example",
        "items": [
          {
            "value": "email",
            "text": "Email",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-email\">\n    Email address\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-email\" name=\"contact-by-email\" type=\"text\" spellcheck=\"false\">\n</div>\n"
            }
          },
          {
            "value": "phone",
            "text": "Phone",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-phone\">\n    Phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-phone\" name=\"contact-by-phone\" type=\"tel\">\n</div>\n"
            }
          },
          {
            "value": "text",
            "text": "Text message",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-text\">\n    Mobile phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-text\" name=\"contact-by-text\" type=\"tel\">\n</div>\n"
            }
          }
        ]
      },
      "screenshot": false,
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\" aria-describedby=\"conditional-hint\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--l\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      How do you want to be contacted about this?\n    </h1>\n  </legend>\n  <div class=\"nhsuk-hint\" id=\"conditional-hint\">\n    Select 1 option\n  </div>\n  <div class=\"nhsuk-radios\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"conditional\" name=\"example\" type=\"radio\" value=\"email\" data-aria-controls=\"conditional-conditional\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"conditional\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-conditional\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-email\">\n    Email address\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-email\" name=\"contact-by-email\" type=\"text\" spellcheck=\"false\">\n</div>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"conditional-2\" name=\"example\" type=\"radio\" value=\"phone\" data-aria-controls=\"conditional-conditional-2\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"conditional-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-conditional-2\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-phone\">\n    Phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-phone\" name=\"contact-by-phone\" type=\"tel\">\n</div>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"conditional-3\" name=\"example\" type=\"radio\" value=\"text\" data-aria-controls=\"conditional-conditional-3\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"conditional-3\">\n        Text message\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-conditional-3\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-text\">\n    Mobile phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-text\" name=\"contact-by-text\" type=\"tel\">\n</div>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "with conditional content",
      "description": "small",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "size": "m",
            "isPageHeading": true
          }
        },
        "hint": {
          "text": "Select 1 option"
        },
        "idPrefix": "conditional",
        "name": "example",
        "items": [
          {
            "value": "email",
            "text": "Email",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-email\">\n    Email address\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-email\" name=\"contact-by-email\" type=\"text\" spellcheck=\"false\">\n</div>\n"
            }
          },
          {
            "value": "phone",
            "text": "Phone",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-phone\">\n    Phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-phone\" name=\"contact-by-phone\" type=\"tel\">\n</div>\n"
            }
          },
          {
            "value": "text",
            "text": "Text message",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-text\">\n    Mobile phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-text\" name=\"contact-by-text\" type=\"tel\">\n</div>\n"
            }
          }
        ],
        "small": true
      },
      "screenshot": false,
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\" aria-describedby=\"conditional-hint\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--m\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      How do you want to be contacted about this?\n    </h1>\n  </legend>\n  <div class=\"nhsuk-hint\" id=\"conditional-hint\">\n    Select 1 option\n  </div>\n  <div class=\"nhsuk-radios nhsuk-radios--small\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"conditional\" name=\"example\" type=\"radio\" value=\"email\" data-aria-controls=\"conditional-conditional\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"conditional\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-conditional\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-email\">\n    Email address\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-email\" name=\"contact-by-email\" type=\"text\" spellcheck=\"false\">\n</div>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"conditional-2\" name=\"example\" type=\"radio\" value=\"phone\" data-aria-controls=\"conditional-conditional-2\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"conditional-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-conditional-2\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-phone\">\n    Phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-phone\" name=\"contact-by-phone\" type=\"tel\">\n</div>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"conditional-3\" name=\"example\" type=\"radio\" value=\"text\" data-aria-controls=\"conditional-conditional-3\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"conditional-3\">\n        Text message\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-conditional-3\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-text\">\n    Mobile phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-text\" name=\"contact-by-text\" type=\"tel\">\n</div>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "with conditional content, error message",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "size": "l",
            "isPageHeading": true
          }
        },
        "hint": {
          "text": "Select 1 option"
        },
        "errorMessage": {
          "text": "Select how you want to be contacted"
        },
        "idPrefix": "conditional",
        "name": "example",
        "items": [
          {
            "value": "email",
            "text": "Email",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-email\">\n    Email address\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-email\" name=\"contact-by-email\" type=\"text\" spellcheck=\"false\">\n</div>\n"
            }
          },
          {
            "value": "phone",
            "text": "Phone",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-phone\">\n    Phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-phone\" name=\"contact-by-phone\" type=\"tel\">\n</div>\n"
            }
          },
          {
            "value": "text",
            "text": "Text message",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-text\">\n    Mobile phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-text\" name=\"contact-by-text\" type=\"tel\">\n</div>\n"
            }
          }
        ]
      },
      "screenshot": false,
      "options": {},
      "html": "<div class=\"nhsuk-form-group nhsuk-form-group--error\">\n  <fieldset class=\"nhsuk-fieldset\" aria-describedby=\"conditional-hint conditional-error\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--l\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      How do you want to be contacted about this?\n    </h1>\n  </legend>\n  <div class=\"nhsuk-hint\" id=\"conditional-hint\">\n    Select 1 option\n  </div>\n  <span class=\"nhsuk-error-message\" id=\"conditional-error\">\n    <span class=\"nhsuk-u-visually-hidden\">Error:</span> Select how you want to be contacted\n  </span>\n  <div class=\"nhsuk-radios\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"conditional\" name=\"example\" type=\"radio\" value=\"email\" data-aria-controls=\"conditional-conditional\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"conditional\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-conditional\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-email\">\n    Email address\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-email\" name=\"contact-by-email\" type=\"text\" spellcheck=\"false\">\n</div>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"conditional-2\" name=\"example\" type=\"radio\" value=\"phone\" data-aria-controls=\"conditional-conditional-2\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"conditional-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-conditional-2\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-phone\">\n    Phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-phone\" name=\"contact-by-phone\" type=\"tel\">\n</div>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"conditional-3\" name=\"example\" type=\"radio\" value=\"text\" data-aria-controls=\"conditional-conditional-3\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"conditional-3\">\n        Text message\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-conditional-3\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-text\">\n    Mobile phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-text\" name=\"contact-by-text\" type=\"tel\">\n</div>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "with conditional content, error message",
      "description": "small",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "size": "m",
            "isPageHeading": true
          }
        },
        "hint": {
          "text": "Select 1 option"
        },
        "errorMessage": {
          "text": "Select how you want to be contacted"
        },
        "idPrefix": "conditional",
        "name": "example",
        "items": [
          {
            "value": "email",
            "text": "Email",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-email\">\n    Email address\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-email\" name=\"contact-by-email\" type=\"text\" spellcheck=\"false\">\n</div>\n"
            }
          },
          {
            "value": "phone",
            "text": "Phone",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-phone\">\n    Phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-phone\" name=\"contact-by-phone\" type=\"tel\">\n</div>\n"
            }
          },
          {
            "value": "text",
            "text": "Text message",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-text\">\n    Mobile phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-text\" name=\"contact-by-text\" type=\"tel\">\n</div>\n"
            }
          }
        ],
        "small": true
      },
      "screenshot": false,
      "options": {},
      "html": "<div class=\"nhsuk-form-group nhsuk-form-group--error\">\n  <fieldset class=\"nhsuk-fieldset\" aria-describedby=\"conditional-hint conditional-error\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--m\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      How do you want to be contacted about this?\n    </h1>\n  </legend>\n  <div class=\"nhsuk-hint\" id=\"conditional-hint\">\n    Select 1 option\n  </div>\n  <span class=\"nhsuk-error-message\" id=\"conditional-error\">\n    <span class=\"nhsuk-u-visually-hidden\">Error:</span> Select how you want to be contacted\n  </span>\n  <div class=\"nhsuk-radios nhsuk-radios--small\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"conditional\" name=\"example\" type=\"radio\" value=\"email\" data-aria-controls=\"conditional-conditional\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"conditional\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-conditional\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-email\">\n    Email address\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-email\" name=\"contact-by-email\" type=\"text\" spellcheck=\"false\">\n</div>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"conditional-2\" name=\"example\" type=\"radio\" value=\"phone\" data-aria-controls=\"conditional-conditional-2\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"conditional-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-conditional-2\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-phone\">\n    Phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-phone\" name=\"contact-by-phone\" type=\"tel\">\n</div>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"conditional-3\" name=\"example\" type=\"radio\" value=\"text\" data-aria-controls=\"conditional-conditional-3\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"conditional-3\">\n        Text message\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-conditional-3\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-text\">\n    Mobile phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-text\" name=\"contact-by-text\" type=\"tel\">\n</div>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "with conditional content, error message (nested)",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "size": "l",
            "isPageHeading": true
          }
        },
        "hint": {
          "text": "Select 1 option"
        },
        "idPrefix": "conditional",
        "name": "example",
        "value": "phone",
        "items": [
          {
            "value": "email",
            "text": "Email",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-email\">\n    Email address\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-email\" name=\"contact-by-email\" type=\"text\" spellcheck=\"false\">\n</div>\n"
            }
          },
          {
            "value": "phone",
            "text": "Phone",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group nhsuk-form-group--error\">\n  <label class=\"nhsuk-label\" for=\"contact-by-phone\">\n    Phone number\n  </label>\n  <span class=\"nhsuk-error-message\" id=\"contact-by-phone-error\">\n    <span class=\"nhsuk-u-visually-hidden\">Error:</span> Enter your phone number\n  </span>\n  <input class=\"nhsuk-input nhsuk-input--error nhsuk-u-width-two-thirds\" id=\"contact-by-phone\" name=\"contact-by-phone\" type=\"tel\" aria-describedby=\"contact-by-phone-error\">\n</div>\n"
            }
          },
          {
            "value": "text",
            "text": "Text message",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-text\">\n    Mobile phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-text\" name=\"contact-by-text\" type=\"tel\">\n</div>\n"
            }
          }
        ]
      },
      "screenshot": {
        "states": [
          "focus"
        ],
        "selector": "#conditional-2",
        "viewports": [
          "mobile",
          "tablet",
          "desktop"
        ]
      },
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\" aria-describedby=\"conditional-hint\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--l\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      How do you want to be contacted about this?\n    </h1>\n  </legend>\n  <div class=\"nhsuk-hint\" id=\"conditional-hint\">\n    Select 1 option\n  </div>\n  <div class=\"nhsuk-radios\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"conditional\" name=\"example\" type=\"radio\" value=\"email\" data-aria-controls=\"conditional-conditional\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"conditional\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-conditional\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-email\">\n    Email address\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-email\" name=\"contact-by-email\" type=\"text\" spellcheck=\"false\">\n</div>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"conditional-2\" name=\"example\" type=\"radio\" value=\"phone\" checked data-aria-controls=\"conditional-conditional-2\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"conditional-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional\" id=\"conditional-conditional-2\">\n      <div class=\"nhsuk-form-group nhsuk-form-group--error\">\n  <label class=\"nhsuk-label\" for=\"contact-by-phone\">\n    Phone number\n  </label>\n  <span class=\"nhsuk-error-message\" id=\"contact-by-phone-error\">\n    <span class=\"nhsuk-u-visually-hidden\">Error:</span> Enter your phone number\n  </span>\n  <input class=\"nhsuk-input nhsuk-input--error nhsuk-u-width-two-thirds\" id=\"contact-by-phone\" name=\"contact-by-phone\" type=\"tel\" aria-describedby=\"contact-by-phone-error\">\n</div>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"conditional-3\" name=\"example\" type=\"radio\" value=\"text\" data-aria-controls=\"conditional-conditional-3\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"conditional-3\">\n        Text message\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-conditional-3\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-text\">\n    Mobile phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-text\" name=\"contact-by-text\" type=\"tel\">\n</div>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "with conditional content, error message (nested)",
      "description": "small",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "size": "m",
            "isPageHeading": true
          }
        },
        "hint": {
          "text": "Select 1 option"
        },
        "idPrefix": "conditional",
        "name": "example",
        "value": "phone",
        "items": [
          {
            "value": "email",
            "text": "Email",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-email\">\n    Email address\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-email\" name=\"contact-by-email\" type=\"text\" spellcheck=\"false\">\n</div>\n"
            }
          },
          {
            "value": "phone",
            "text": "Phone",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group nhsuk-form-group--error\">\n  <label class=\"nhsuk-label\" for=\"contact-by-phone\">\n    Phone number\n  </label>\n  <span class=\"nhsuk-error-message\" id=\"contact-by-phone-error\">\n    <span class=\"nhsuk-u-visually-hidden\">Error:</span> Enter your phone number\n  </span>\n  <input class=\"nhsuk-input nhsuk-input--error nhsuk-u-width-two-thirds\" id=\"contact-by-phone\" name=\"contact-by-phone\" type=\"tel\" aria-describedby=\"contact-by-phone-error\">\n</div>\n"
            }
          },
          {
            "value": "text",
            "text": "Text message",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-text\">\n    Mobile phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-text\" name=\"contact-by-text\" type=\"tel\">\n</div>\n"
            }
          }
        ],
        "small": true
      },
      "screenshot": {
        "states": [
          "focus"
        ],
        "selector": "#conditional-2",
        "viewports": [
          "mobile",
          "tablet",
          "desktop"
        ]
      },
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\" aria-describedby=\"conditional-hint\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--m\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      How do you want to be contacted about this?\n    </h1>\n  </legend>\n  <div class=\"nhsuk-hint\" id=\"conditional-hint\">\n    Select 1 option\n  </div>\n  <div class=\"nhsuk-radios nhsuk-radios--small\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"conditional\" name=\"example\" type=\"radio\" value=\"email\" data-aria-controls=\"conditional-conditional\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"conditional\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-conditional\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-email\">\n    Email address\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-email\" name=\"contact-by-email\" type=\"text\" spellcheck=\"false\">\n</div>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"conditional-2\" name=\"example\" type=\"radio\" value=\"phone\" checked data-aria-controls=\"conditional-conditional-2\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"conditional-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional\" id=\"conditional-conditional-2\">\n      <div class=\"nhsuk-form-group nhsuk-form-group--error\">\n  <label class=\"nhsuk-label\" for=\"contact-by-phone\">\n    Phone number\n  </label>\n  <span class=\"nhsuk-error-message\" id=\"contact-by-phone-error\">\n    <span class=\"nhsuk-u-visually-hidden\">Error:</span> Enter your phone number\n  </span>\n  <input class=\"nhsuk-input nhsuk-input--error nhsuk-u-width-two-thirds\" id=\"contact-by-phone\" name=\"contact-by-phone\" type=\"tel\" aria-describedby=\"contact-by-phone-error\">\n</div>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"conditional-3\" name=\"example\" type=\"radio\" value=\"text\" data-aria-controls=\"conditional-conditional-3\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"conditional-3\">\n        Text message\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-conditional-3\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-text\">\n    Mobile phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-text\" name=\"contact-by-text\" type=\"tel\">\n</div>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "with conditional content, special characters",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "size": "l",
            "isPageHeading": true
          }
        },
        "hint": {
          "text": "Select 1 option"
        },
        "idPrefix": "user.profile[contact-prefs]",
        "name": "example",
        "items": [
          {
            "value": "email",
            "text": "Email",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-email\">\n    Email address\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-email\" name=\"contact-by-email\" type=\"text\" spellcheck=\"false\">\n</div>\n"
            }
          },
          {
            "value": "phone",
            "text": "Phone",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-phone\">\n    Phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-phone\" name=\"contact-by-phone\" type=\"tel\">\n</div>\n"
            }
          },
          {
            "value": "text",
            "text": "Text message",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-text\">\n    Mobile phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-text\" name=\"contact-by-text\" type=\"tel\">\n</div>\n"
            }
          }
        ]
      },
      "screenshot": false,
      "options": {
        "hidden": true
      },
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\" aria-describedby=\"user.profile[contact-prefs]-hint\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--l\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      How do you want to be contacted about this?\n    </h1>\n  </legend>\n  <div class=\"nhsuk-hint\" id=\"user.profile[contact-prefs]-hint\">\n    Select 1 option\n  </div>\n  <div class=\"nhsuk-radios\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"user.profile[contact-prefs]\" name=\"example\" type=\"radio\" value=\"email\" data-aria-controls=\"conditional-user.profile[contact-prefs]\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"user.profile[contact-prefs]\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-user.profile[contact-prefs]\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-email\">\n    Email address\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-email\" name=\"contact-by-email\" type=\"text\" spellcheck=\"false\">\n</div>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"user.profile[contact-prefs]-2\" name=\"example\" type=\"radio\" value=\"phone\" data-aria-controls=\"conditional-user.profile[contact-prefs]-2\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"user.profile[contact-prefs]-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-user.profile[contact-prefs]-2\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-phone\">\n    Phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-phone\" name=\"contact-by-phone\" type=\"tel\">\n</div>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"user.profile[contact-prefs]-3\" name=\"example\" type=\"radio\" value=\"text\" data-aria-controls=\"conditional-user.profile[contact-prefs]-3\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"user.profile[contact-prefs]-3\">\n        Text message\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-user.profile[contact-prefs]-3\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-text\">\n    Mobile phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-text\" name=\"contact-by-text\" type=\"tel\">\n</div>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "with conditional content, special characters",
      "description": "small",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "size": "m",
            "isPageHeading": true
          }
        },
        "hint": {
          "text": "Select 1 option"
        },
        "idPrefix": "user.profile[contact-prefs]",
        "name": "example",
        "items": [
          {
            "value": "email",
            "text": "Email",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-email\">\n    Email address\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-email\" name=\"contact-by-email\" type=\"text\" spellcheck=\"false\">\n</div>\n"
            }
          },
          {
            "value": "phone",
            "text": "Phone",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-phone\">\n    Phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-phone\" name=\"contact-by-phone\" type=\"tel\">\n</div>\n"
            }
          },
          {
            "value": "text",
            "text": "Text message",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-text\">\n    Mobile phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-text\" name=\"contact-by-text\" type=\"tel\">\n</div>\n"
            }
          }
        ],
        "small": true
      },
      "screenshot": false,
      "options": {
        "hidden": true
      },
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\" aria-describedby=\"user.profile[contact-prefs]-hint\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--m\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      How do you want to be contacted about this?\n    </h1>\n  </legend>\n  <div class=\"nhsuk-hint\" id=\"user.profile[contact-prefs]-hint\">\n    Select 1 option\n  </div>\n  <div class=\"nhsuk-radios nhsuk-radios--small\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"user.profile[contact-prefs]\" name=\"example\" type=\"radio\" value=\"email\" data-aria-controls=\"conditional-user.profile[contact-prefs]\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"user.profile[contact-prefs]\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-user.profile[contact-prefs]\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-email\">\n    Email address\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-email\" name=\"contact-by-email\" type=\"text\" spellcheck=\"false\">\n</div>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"user.profile[contact-prefs]-2\" name=\"example\" type=\"radio\" value=\"phone\" data-aria-controls=\"conditional-user.profile[contact-prefs]-2\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"user.profile[contact-prefs]-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-user.profile[contact-prefs]-2\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-phone\">\n    Phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-phone\" name=\"contact-by-phone\" type=\"tel\">\n</div>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"user.profile[contact-prefs]-3\" name=\"example\" type=\"radio\" value=\"text\" data-aria-controls=\"conditional-user.profile[contact-prefs]-3\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"user.profile[contact-prefs]-3\">\n        Text message\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-user.profile[contact-prefs]-3\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-text\">\n    Mobile phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-text\" name=\"contact-by-text\" type=\"tel\">\n</div>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "with divider",
      "context": {
        "fieldset": {
          "legend": {
            "text": "Do you know your NHS number?",
            "size": "l",
            "isPageHeading": true
          }
        },
        "hint": {
          "html": "This is a 10 digit number (like <span class=\"nhsuk-u-nowrap\">999 123 4567</span>) that you can find on an NHS letter, prescription or in the NHS App"
        },
        "idPrefix": "with-divider",
        "name": "example",
        "items": [
          {
            "value": "yes",
            "text": "Yes, I know my NHS number"
          },
          {
            "value": "no",
            "text": "No, I do not know my NHS number"
          },
          {
            "divider": "or"
          },
          {
            "value": "not sure",
            "text": "I'm not sure"
          }
        ]
      },
      "screenshot": {
        "viewports": [
          "mobile",
          "tablet",
          "desktop"
        ]
      },
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\" aria-describedby=\"with-divider-hint\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--l\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      Do you know your NHS number?\n    </h1>\n  </legend>\n  <div class=\"nhsuk-hint\" id=\"with-divider-hint\">\n    This is a 10 digit number (like <span class=\"nhsuk-u-nowrap\">999 123 4567</span>) that you can find on an NHS letter, prescription or in the NHS App\n  </div>\n  <div class=\"nhsuk-radios\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-divider\" name=\"example\" type=\"radio\" value=\"yes\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-divider\">\n        Yes, I know my NHS number\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-divider-2\" name=\"example\" type=\"radio\" value=\"no\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-divider-2\">\n        No, I do not know my NHS number\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__divider\">or</div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-divider-4\" name=\"example\" type=\"radio\" value=\"not sure\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-divider-4\">\n        I&#39;m not sure\n      </label>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "with divider",
      "description": "small",
      "context": {
        "fieldset": {
          "legend": {
            "text": "Do you know your NHS number?",
            "size": "m",
            "isPageHeading": true
          }
        },
        "hint": {
          "html": "This is a 10 digit number (like <span class=\"nhsuk-u-nowrap\">999 123 4567</span>) that you can find on an NHS letter, prescription or in the NHS App"
        },
        "idPrefix": "with-divider",
        "name": "example",
        "items": [
          {
            "value": "yes",
            "text": "Yes, I know my NHS number"
          },
          {
            "value": "no",
            "text": "No, I do not know my NHS number"
          },
          {
            "divider": "or"
          },
          {
            "value": "not sure",
            "text": "I'm not sure"
          }
        ],
        "small": true
      },
      "screenshot": {
        "viewports": [
          "mobile",
          "tablet",
          "desktop"
        ]
      },
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\" aria-describedby=\"with-divider-hint\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--m\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      Do you know your NHS number?\n    </h1>\n  </legend>\n  <div class=\"nhsuk-hint\" id=\"with-divider-hint\">\n    This is a 10 digit number (like <span class=\"nhsuk-u-nowrap\">999 123 4567</span>) that you can find on an NHS letter, prescription or in the NHS App\n  </div>\n  <div class=\"nhsuk-radios nhsuk-radios--small\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-divider\" name=\"example\" type=\"radio\" value=\"yes\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-divider\">\n        Yes, I know my NHS number\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-divider-2\" name=\"example\" type=\"radio\" value=\"no\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-divider-2\">\n        No, I do not know my NHS number\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__divider\">or</div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-divider-4\" name=\"example\" type=\"radio\" value=\"not sure\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-divider-4\">\n        I&#39;m not sure\n      </label>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "with error message",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "size": "l",
            "isPageHeading": true
          }
        },
        "errorMessage": {
          "text": "Select how you want to be contacted"
        },
        "idPrefix": "with-error-message",
        "name": "example",
        "items": [
          {
            "value": "email",
            "text": "Email"
          },
          {
            "value": "phone",
            "text": "Phone"
          },
          {
            "value": "text",
            "text": "Text message"
          }
        ]
      },
      "screenshot": false,
      "options": {},
      "html": "<div class=\"nhsuk-form-group nhsuk-form-group--error\">\n  <fieldset class=\"nhsuk-fieldset\" aria-describedby=\"with-error-message-error\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--l\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      How do you want to be contacted about this?\n    </h1>\n  </legend>\n  <span class=\"nhsuk-error-message\" id=\"with-error-message-error\">\n    <span class=\"nhsuk-u-visually-hidden\">Error:</span> Select how you want to be contacted\n  </span>\n  <div class=\"nhsuk-radios\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-error-message\" name=\"example\" type=\"radio\" value=\"email\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-error-message\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-error-message-2\" name=\"example\" type=\"radio\" value=\"phone\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-error-message-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-error-message-3\" name=\"example\" type=\"radio\" value=\"text\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-error-message-3\">\n        Text message\n      </label>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "with error message",
      "description": "small",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "size": "m",
            "isPageHeading": true
          }
        },
        "errorMessage": {
          "text": "Select how you want to be contacted"
        },
        "idPrefix": "with-error-message",
        "name": "example",
        "items": [
          {
            "value": "email",
            "text": "Email"
          },
          {
            "value": "phone",
            "text": "Phone"
          },
          {
            "value": "text",
            "text": "Text message"
          }
        ],
        "small": true
      },
      "screenshot": false,
      "options": {},
      "html": "<div class=\"nhsuk-form-group nhsuk-form-group--error\">\n  <fieldset class=\"nhsuk-fieldset\" aria-describedby=\"with-error-message-error\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--m\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      How do you want to be contacted about this?\n    </h1>\n  </legend>\n  <span class=\"nhsuk-error-message\" id=\"with-error-message-error\">\n    <span class=\"nhsuk-u-visually-hidden\">Error:</span> Select how you want to be contacted\n  </span>\n  <div class=\"nhsuk-radios nhsuk-radios--small\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-error-message\" name=\"example\" type=\"radio\" value=\"email\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-error-message\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-error-message-2\" name=\"example\" type=\"radio\" value=\"phone\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-error-message-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-error-message-3\" name=\"example\" type=\"radio\" value=\"text\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-error-message-3\">\n        Text message\n      </label>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "with error message and hint",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "size": "l",
            "isPageHeading": true
          }
        },
        "hint": {
          "text": "Select 1 option"
        },
        "errorMessage": {
          "text": "Select how you want to be contacted"
        },
        "idPrefix": "with-hint-error",
        "name": "example",
        "items": [
          {
            "value": "email",
            "text": "Email"
          },
          {
            "value": "phone",
            "text": "Phone"
          },
          {
            "value": "text",
            "text": "Text message"
          }
        ]
      },
      "screenshot": {
        "states": [
          "focus"
        ],
        "selector": "#with-hint-error",
        "viewports": [
          "mobile",
          "tablet",
          "desktop"
        ]
      },
      "options": {},
      "html": "<div class=\"nhsuk-form-group nhsuk-form-group--error\">\n  <fieldset class=\"nhsuk-fieldset\" aria-describedby=\"with-hint-error-hint with-hint-error-error\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--l\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      How do you want to be contacted about this?\n    </h1>\n  </legend>\n  <div class=\"nhsuk-hint\" id=\"with-hint-error-hint\">\n    Select 1 option\n  </div>\n  <span class=\"nhsuk-error-message\" id=\"with-hint-error-error\">\n    <span class=\"nhsuk-u-visually-hidden\">Error:</span> Select how you want to be contacted\n  </span>\n  <div class=\"nhsuk-radios\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-hint-error\" name=\"example\" type=\"radio\" value=\"email\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-hint-error\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-hint-error-2\" name=\"example\" type=\"radio\" value=\"phone\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-hint-error-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-hint-error-3\" name=\"example\" type=\"radio\" value=\"text\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-hint-error-3\">\n        Text message\n      </label>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "with error message and hint",
      "description": "small",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "size": "m",
            "isPageHeading": true
          }
        },
        "hint": {
          "text": "Select 1 option"
        },
        "errorMessage": {
          "text": "Select how you want to be contacted"
        },
        "idPrefix": "with-hint-error",
        "name": "example",
        "items": [
          {
            "value": "email",
            "text": "Email"
          },
          {
            "value": "phone",
            "text": "Phone"
          },
          {
            "value": "text",
            "text": "Text message"
          }
        ],
        "small": true
      },
      "screenshot": {
        "states": [
          "focus"
        ],
        "selector": "#with-hint-error",
        "viewports": [
          "mobile",
          "tablet",
          "desktop"
        ]
      },
      "options": {},
      "html": "<div class=\"nhsuk-form-group nhsuk-form-group--error\">\n  <fieldset class=\"nhsuk-fieldset\" aria-describedby=\"with-hint-error-hint with-hint-error-error\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--m\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      How do you want to be contacted about this?\n    </h1>\n  </legend>\n  <div class=\"nhsuk-hint\" id=\"with-hint-error-hint\">\n    Select 1 option\n  </div>\n  <span class=\"nhsuk-error-message\" id=\"with-hint-error-error\">\n    <span class=\"nhsuk-u-visually-hidden\">Error:</span> Select how you want to be contacted\n  </span>\n  <div class=\"nhsuk-radios nhsuk-radios--small\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-hint-error\" name=\"example\" type=\"radio\" value=\"email\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-hint-error\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-hint-error-2\" name=\"example\" type=\"radio\" value=\"phone\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-hint-error-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-hint-error-3\" name=\"example\" type=\"radio\" value=\"text\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-hint-error-3\">\n        Text message\n      </label>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "with hint",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "size": "l",
            "isPageHeading": true
          }
        },
        "hint": {
          "text": "Select 1 option"
        },
        "idPrefix": "with-hint",
        "name": "example",
        "items": [
          {
            "value": "email",
            "text": "Email"
          },
          {
            "value": "phone",
            "text": "Phone"
          },
          {
            "value": "text",
            "text": "Text message"
          }
        ]
      },
      "screenshot": false,
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\" aria-describedby=\"with-hint-hint\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--l\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      How do you want to be contacted about this?\n    </h1>\n  </legend>\n  <div class=\"nhsuk-hint\" id=\"with-hint-hint\">\n    Select 1 option\n  </div>\n  <div class=\"nhsuk-radios\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-hint\" name=\"example\" type=\"radio\" value=\"email\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-hint\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-hint-2\" name=\"example\" type=\"radio\" value=\"phone\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-hint-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-hint-3\" name=\"example\" type=\"radio\" value=\"text\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-hint-3\">\n        Text message\n      </label>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "with hint",
      "description": "small",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "size": "m",
            "isPageHeading": true
          }
        },
        "hint": {
          "text": "Select 1 option"
        },
        "idPrefix": "with-hint",
        "name": "example",
        "items": [
          {
            "value": "email",
            "text": "Email"
          },
          {
            "value": "phone",
            "text": "Phone"
          },
          {
            "value": "text",
            "text": "Text message"
          }
        ],
        "small": true
      },
      "screenshot": false,
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\" aria-describedby=\"with-hint-hint\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--m\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      How do you want to be contacted about this?\n    </h1>\n  </legend>\n  <div class=\"nhsuk-hint\" id=\"with-hint-hint\">\n    Select 1 option\n  </div>\n  <div class=\"nhsuk-radios nhsuk-radios--small\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-hint\" name=\"example\" type=\"radio\" value=\"email\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-hint\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-hint-2\" name=\"example\" type=\"radio\" value=\"phone\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-hint-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-hint-3\" name=\"example\" type=\"radio\" value=\"text\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-hint-3\">\n        Text message\n      </label>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "with hints on items",
      "context": {
        "fieldset": {
          "legend": {
            "text": "Do you have a mobile phone with signal?",
            "size": "l",
            "isPageHeading": true
          }
        },
        "idPrefix": "with-hint-item",
        "name": "example",
        "items": [
          {
            "value": "mobile",
            "text": "Yes, I have a mobile phone with signal",
            "hint": {
              "text": "We will text you a 6 digit security code"
            }
          },
          {
            "value": "landline",
            "text": "No, I want to use my landline",
            "hint": {
              "text": "We will call you to give you a 6 digit security code"
            }
          }
        ]
      },
      "screenshot": {
        "viewports": [
          "mobile",
          "tablet",
          "desktop"
        ]
      },
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--l\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      Do you have a mobile phone with signal?\n    </h1>\n  </legend>\n  <div class=\"nhsuk-radios\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-hint-item\" name=\"example\" type=\"radio\" value=\"mobile\" aria-describedby=\"with-hint-item-item-hint\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-hint-item\">\n        Yes, I have a mobile phone with signal\n      </label>\n      <div class=\"nhsuk-hint nhsuk-radios__hint\" id=\"with-hint-item-item-hint\">\n        We will text you a 6 digit security code\n      </div>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-hint-item-2\" name=\"example\" type=\"radio\" value=\"landline\" aria-describedby=\"with-hint-item-2-item-hint\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-hint-item-2\">\n        No, I want to use my landline\n      </label>\n      <div class=\"nhsuk-hint nhsuk-radios__hint\" id=\"with-hint-item-2-item-hint\">\n        We will call you to give you a 6 digit security code\n      </div>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "with hints on items",
      "description": "small",
      "context": {
        "fieldset": {
          "legend": {
            "text": "Do you have a mobile phone with signal?",
            "size": "m",
            "isPageHeading": true
          }
        },
        "idPrefix": "with-hint-item",
        "name": "example",
        "items": [
          {
            "value": "mobile",
            "text": "Yes, I have a mobile phone with signal",
            "hint": {
              "text": "We will text you a 6 digit security code"
            }
          },
          {
            "value": "landline",
            "text": "No, I want to use my landline",
            "hint": {
              "text": "We will call you to give you a 6 digit security code"
            }
          }
        ],
        "small": true
      },
      "screenshot": {
        "viewports": [
          "mobile",
          "tablet",
          "desktop"
        ]
      },
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--m\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      Do you have a mobile phone with signal?\n    </h1>\n  </legend>\n  <div class=\"nhsuk-radios nhsuk-radios--small\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-hint-item\" name=\"example\" type=\"radio\" value=\"mobile\" aria-describedby=\"with-hint-item-item-hint\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-hint-item\">\n        Yes, I have a mobile phone with signal\n      </label>\n      <div class=\"nhsuk-hint nhsuk-radios__hint\" id=\"with-hint-item-item-hint\">\n        We will text you a 6 digit security code\n      </div>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-hint-item-2\" name=\"example\" type=\"radio\" value=\"landline\" aria-describedby=\"with-hint-item-2-item-hint\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-hint-item-2\">\n        No, I want to use my landline\n      </label>\n      <div class=\"nhsuk-hint nhsuk-radios__hint\" id=\"with-hint-item-2-item-hint\">\n        We will call you to give you a 6 digit security code\n      </div>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "with long text",
      "context": {
        "fieldset": {
          "legend": {
            "text": "Venenatis Condimentum",
            "size": "l",
            "isPageHeading": true
          }
        },
        "idPrefix": "with-long-text",
        "name": "example",
        "items": [
          {
            "value": "nullam",
            "text": "Nullam id dolor id nibh ultricies vehicula ut id elit. Aenean eu leo\nquam. Pellentesque ornare sem lacinia quam venenatis vestibulum.\nMaecenas faucibus mollis interdum. Donec id elit non mi porta gravida\nat eget metus."
          },
          {
            "value": "aenean",
            "text": "Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis\nvestibulum. Donec sed odio dui. Duis mollis, est non commodo luctus,\nnisi erat porttitor ligula, eget lacinia odio sem nec elit. Cum sociis\nnatoque penatibus et magnis dis parturient montes, nascetur ridiculus\nmus. Aenean eu leo quam. Pellentesque ornare sem lacinia quam\nvenenatis vestibulum. Cras mattis consectetur purus sit amet\nfermentum."
          },
          {
            "value": "fusce",
            "text": "Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum\nnibh, ut fermentum massa justo sit amet risus. Etiam porta sem\nmalesuada magna mollis euismod. Praesent commodo cursus magna, vel\nscelerisque nisl consectetur et. Etiam porta sem malesuada magna\nmollis euismod. Etiam porta sem malesuada magna mollis euismod.\nDonec sed odio dui. Sed posuere consectetur est at lobortis."
          }
        ]
      },
      "screenshot": false,
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--l\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      Venenatis Condimentum\n    </h1>\n  </legend>\n  <div class=\"nhsuk-radios\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-long-text\" name=\"example\" type=\"radio\" value=\"nullam\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-long-text\">\n        Nullam id dolor id nibh ultricies vehicula ut id elit. Aenean eu leo\n        quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.\n        Maecenas faucibus mollis interdum. Donec id elit non mi porta gravida\n        at eget metus.\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-long-text-2\" name=\"example\" type=\"radio\" value=\"aenean\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-long-text-2\">\n        Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis\n        vestibulum. Donec sed odio dui. Duis mollis, est non commodo luctus,\n        nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cum sociis\n        natoque penatibus et magnis dis parturient montes, nascetur ridiculus\n        mus. Aenean eu leo quam. Pellentesque ornare sem lacinia quam\n        venenatis vestibulum. Cras mattis consectetur purus sit amet\n        fermentum.\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-long-text-3\" name=\"example\" type=\"radio\" value=\"fusce\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-long-text-3\">\n        Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum\n        nibh, ut fermentum massa justo sit amet risus. Etiam porta sem\n        malesuada magna mollis euismod. Praesent commodo cursus magna, vel\n        scelerisque nisl consectetur et. Etiam porta sem malesuada magna\n        mollis euismod. Etiam porta sem malesuada magna mollis euismod.\n        Donec sed odio dui. Sed posuere consectetur est at lobortis.\n      </label>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "with long text",
      "description": "small",
      "context": {
        "fieldset": {
          "legend": {
            "text": "Venenatis Condimentum",
            "size": "m",
            "isPageHeading": true
          }
        },
        "idPrefix": "with-long-text",
        "name": "example",
        "items": [
          {
            "value": "nullam",
            "text": "Nullam id dolor id nibh ultricies vehicula ut id elit. Aenean eu leo\nquam. Pellentesque ornare sem lacinia quam venenatis vestibulum.\nMaecenas faucibus mollis interdum. Donec id elit non mi porta gravida\nat eget metus."
          },
          {
            "value": "aenean",
            "text": "Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis\nvestibulum. Donec sed odio dui. Duis mollis, est non commodo luctus,\nnisi erat porttitor ligula, eget lacinia odio sem nec elit. Cum sociis\nnatoque penatibus et magnis dis parturient montes, nascetur ridiculus\nmus. Aenean eu leo quam. Pellentesque ornare sem lacinia quam\nvenenatis vestibulum. Cras mattis consectetur purus sit amet\nfermentum."
          },
          {
            "value": "fusce",
            "text": "Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum\nnibh, ut fermentum massa justo sit amet risus. Etiam porta sem\nmalesuada magna mollis euismod. Praesent commodo cursus magna, vel\nscelerisque nisl consectetur et. Etiam porta sem malesuada magna\nmollis euismod. Etiam porta sem malesuada magna mollis euismod.\nDonec sed odio dui. Sed posuere consectetur est at lobortis."
          }
        ],
        "small": true
      },
      "screenshot": false,
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--m\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      Venenatis Condimentum\n    </h1>\n  </legend>\n  <div class=\"nhsuk-radios nhsuk-radios--small\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-long-text\" name=\"example\" type=\"radio\" value=\"nullam\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-long-text\">\n        Nullam id dolor id nibh ultricies vehicula ut id elit. Aenean eu leo\n        quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.\n        Maecenas faucibus mollis interdum. Donec id elit non mi porta gravida\n        at eget metus.\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-long-text-2\" name=\"example\" type=\"radio\" value=\"aenean\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-long-text-2\">\n        Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis\n        vestibulum. Donec sed odio dui. Duis mollis, est non commodo luctus,\n        nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cum sociis\n        natoque penatibus et magnis dis parturient montes, nascetur ridiculus\n        mus. Aenean eu leo quam. Pellentesque ornare sem lacinia quam\n        venenatis vestibulum. Cras mattis consectetur purus sit amet\n        fermentum.\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"with-long-text-3\" name=\"example\" type=\"radio\" value=\"fusce\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"with-long-text-3\">\n        Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum\n        nibh, ut fermentum massa justo sit amet risus. Etiam porta sem\n        malesuada magna mollis euismod. Praesent commodo cursus magna, vel\n        scelerisque nisl consectetur et. Etiam porta sem malesuada magna\n        mollis euismod. Etiam porta sem malesuada magna mollis euismod.\n        Donec sed odio dui. Sed posuere consectetur est at lobortis.\n      </label>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "with nested conditional radios",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "size": "l",
            "isPageHeading": true
          }
        },
        "hint": {
          "text": "Select 1 option"
        },
        "idPrefix": "conditional-nested",
        "name": "example-outer",
        "items": [
          {
            "value": "no-conditional",
            "text": "No conditional"
          },
          {
            "value": "nested",
            "text": "Nested conditional",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\" aria-describedby=\"example-inner-hint\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--s\">\n    How do you want to be contacted about this?\n  </legend>\n  <div class=\"nhsuk-hint\" id=\"example-inner-hint\">\n    Select 1 option\n  </div>\n  <div class=\"nhsuk-radios\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"example-inner\" name=\"example-inner\" type=\"radio\" value=\"email\" data-aria-controls=\"conditional-example-inner\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"example-inner\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-example-inner\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-email\">\n    Email address\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-email\" name=\"contact-by-email\" type=\"text\" spellcheck=\"false\">\n</div>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"example-inner-2\" name=\"example-inner\" type=\"radio\" value=\"phone\" data-aria-controls=\"conditional-example-inner-2\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"example-inner-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-example-inner-2\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-phone\">\n    Phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-phone\" name=\"contact-by-phone\" type=\"tel\">\n</div>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"example-inner-3\" name=\"example-inner\" type=\"radio\" value=\"text\" data-aria-controls=\"conditional-example-inner-3\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"example-inner-3\">\n        Text message\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-example-inner-3\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-text\">\n    Mobile phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-text\" name=\"contact-by-text\" type=\"tel\">\n</div>\n    </div>\n  </div>\n</fieldset>\n</div>\n"
            }
          }
        ]
      },
      "screenshot": false,
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\" aria-describedby=\"conditional-nested-hint\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--l\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      How do you want to be contacted about this?\n    </h1>\n  </legend>\n  <div class=\"nhsuk-hint\" id=\"conditional-nested-hint\">\n    Select 1 option\n  </div>\n  <div class=\"nhsuk-radios\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"conditional-nested\" name=\"example-outer\" type=\"radio\" value=\"no-conditional\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"conditional-nested\">\n        No conditional\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"conditional-nested-2\" name=\"example-outer\" type=\"radio\" value=\"nested\" data-aria-controls=\"conditional-conditional-nested-2\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"conditional-nested-2\">\n        Nested conditional\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-conditional-nested-2\">\n      <div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\" aria-describedby=\"example-inner-hint\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--s\">\n    How do you want to be contacted about this?\n  </legend>\n  <div class=\"nhsuk-hint\" id=\"example-inner-hint\">\n    Select 1 option\n  </div>\n  <div class=\"nhsuk-radios\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"example-inner\" name=\"example-inner\" type=\"radio\" value=\"email\" data-aria-controls=\"conditional-example-inner\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"example-inner\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-example-inner\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-email\">\n    Email address\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-email\" name=\"contact-by-email\" type=\"text\" spellcheck=\"false\">\n</div>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"example-inner-2\" name=\"example-inner\" type=\"radio\" value=\"phone\" data-aria-controls=\"conditional-example-inner-2\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"example-inner-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-example-inner-2\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-phone\">\n    Phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-phone\" name=\"contact-by-phone\" type=\"tel\">\n</div>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"example-inner-3\" name=\"example-inner\" type=\"radio\" value=\"text\" data-aria-controls=\"conditional-example-inner-3\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"example-inner-3\">\n        Text message\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-example-inner-3\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-text\">\n    Mobile phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-text\" name=\"contact-by-text\" type=\"tel\">\n</div>\n    </div>\n  </div>\n</fieldset>\n</div>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "without fieldset",
      "context": {
        "fieldset": null,
        "idPrefix": "without-fieldset",
        "name": "colours",
        "items": [
          {
            "value": "red",
            "text": "Red"
          },
          {
            "value": "green",
            "text": "Green"
          },
          {
            "value": "blue",
            "text": "Blue"
          }
        ]
      },
      "screenshot": {
        "viewports": [
          "mobile",
          "tablet",
          "desktop"
        ]
      },
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <div class=\"nhsuk-radios\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"without-fieldset\" name=\"colours\" type=\"radio\" value=\"red\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"without-fieldset\">\n        Red\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"without-fieldset-2\" name=\"colours\" type=\"radio\" value=\"green\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"without-fieldset-2\">\n        Green\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"without-fieldset-3\" name=\"colours\" type=\"radio\" value=\"blue\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"without-fieldset-3\">\n        Blue\n      </label>\n    </div>\n  </div>\n</div>"
    },
    {
      "name": "without fieldset",
      "description": "small",
      "context": {
        "fieldset": null,
        "idPrefix": "without-fieldset",
        "name": "colours",
        "items": [
          {
            "value": "red",
            "text": "Red"
          },
          {
            "value": "green",
            "text": "Green"
          },
          {
            "value": "blue",
            "text": "Blue"
          }
        ],
        "small": true
      },
      "screenshot": {
        "viewports": [
          "mobile",
          "tablet",
          "desktop"
        ]
      },
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <div class=\"nhsuk-radios nhsuk-radios--small\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"without-fieldset\" name=\"colours\" type=\"radio\" value=\"red\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"without-fieldset\">\n        Red\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"without-fieldset-2\" name=\"colours\" type=\"radio\" value=\"green\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"without-fieldset-2\">\n        Green\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"without-fieldset-3\" name=\"colours\" type=\"radio\" value=\"blue\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"without-fieldset-3\">\n        Blue\n      </label>\n    </div>\n  </div>\n</div>"
    },
    {
      "name": "without page heading",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "isPageHeading": false
          }
        },
        "idPrefix": "without-heading",
        "name": "example",
        "items": [
          {
            "value": "email",
            "text": "Email"
          },
          {
            "value": "phone",
            "text": "Phone"
          },
          {
            "value": "text",
            "text": "Text message"
          }
        ]
      },
      "screenshot": false,
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\">\n  <legend class=\"nhsuk-fieldset__legend\">\n    How do you want to be contacted about this?\n  </legend>\n  <div class=\"nhsuk-radios\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"without-heading\" name=\"example\" type=\"radio\" value=\"email\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"without-heading\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"without-heading-2\" name=\"example\" type=\"radio\" value=\"phone\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"without-heading-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"without-heading-3\" name=\"example\" type=\"radio\" value=\"text\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"without-heading-3\">\n        Text message\n      </label>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "without page heading",
      "description": "small",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "isPageHeading": false,
            "size": "m"
          }
        },
        "idPrefix": "without-heading",
        "name": "example",
        "items": [
          {
            "value": "email",
            "text": "Email"
          },
          {
            "value": "phone",
            "text": "Phone"
          },
          {
            "value": "text",
            "text": "Text message"
          }
        ],
        "small": true
      },
      "screenshot": false,
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--m\">\n    How do you want to be contacted about this?\n  </legend>\n  <div class=\"nhsuk-radios nhsuk-radios--small\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"without-heading\" name=\"example\" type=\"radio\" value=\"email\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"without-heading\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"without-heading-2\" name=\"example\" type=\"radio\" value=\"phone\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"without-heading-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"without-heading-3\" name=\"example\" type=\"radio\" value=\"text\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"without-heading-3\">\n        Text message\n      </label>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "with pre-checked value",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "size": "l",
            "isPageHeading": true
          }
        },
        "hint": {
          "text": "Select 1 option"
        },
        "idPrefix": "conditional",
        "name": "example",
        "value": "email",
        "items": [
          {
            "value": "email",
            "text": "Email",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-email\">\n    Email address\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-email\" name=\"contact-by-email\" type=\"text\" spellcheck=\"false\">\n</div>\n"
            }
          },
          {
            "value": "phone",
            "text": "Phone",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-phone\">\n    Phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-phone\" name=\"contact-by-phone\" type=\"tel\">\n</div>\n"
            }
          },
          {
            "value": "text",
            "text": "Text message",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-text\">\n    Mobile phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-text\" name=\"contact-by-text\" type=\"tel\">\n</div>\n"
            }
          }
        ]
      },
      "screenshot": false,
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\" aria-describedby=\"conditional-hint\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--l\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      How do you want to be contacted about this?\n    </h1>\n  </legend>\n  <div class=\"nhsuk-hint\" id=\"conditional-hint\">\n    Select 1 option\n  </div>\n  <div class=\"nhsuk-radios\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"conditional\" name=\"example\" type=\"radio\" value=\"email\" checked data-aria-controls=\"conditional-conditional\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"conditional\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional\" id=\"conditional-conditional\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-email\">\n    Email address\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-email\" name=\"contact-by-email\" type=\"text\" spellcheck=\"false\">\n</div>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"conditional-2\" name=\"example\" type=\"radio\" value=\"phone\" data-aria-controls=\"conditional-conditional-2\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"conditional-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-conditional-2\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-phone\">\n    Phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-phone\" name=\"contact-by-phone\" type=\"tel\">\n</div>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"conditional-3\" name=\"example\" type=\"radio\" value=\"text\" data-aria-controls=\"conditional-conditional-3\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"conditional-3\">\n        Text message\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-conditional-3\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-text\">\n    Mobile phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-text\" name=\"contact-by-text\" type=\"tel\">\n</div>\n    </div>\n  </div>\n</fieldset>\n</div>"
    },
    {
      "name": "with pre-checked value",
      "description": "small",
      "context": {
        "fieldset": {
          "legend": {
            "text": "How do you want to be contacted about this?",
            "size": "m",
            "isPageHeading": true
          }
        },
        "hint": {
          "text": "Select 1 option"
        },
        "idPrefix": "conditional",
        "name": "example",
        "value": "email",
        "items": [
          {
            "value": "email",
            "text": "Email",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-email\">\n    Email address\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-email\" name=\"contact-by-email\" type=\"text\" spellcheck=\"false\">\n</div>\n"
            }
          },
          {
            "value": "phone",
            "text": "Phone",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-phone\">\n    Phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-phone\" name=\"contact-by-phone\" type=\"tel\">\n</div>\n"
            }
          },
          {
            "value": "text",
            "text": "Text message",
            "conditional": {
              "html": "<div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-text\">\n    Mobile phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-text\" name=\"contact-by-text\" type=\"tel\">\n</div>\n"
            }
          }
        ],
        "small": true
      },
      "screenshot": false,
      "options": {},
      "html": "<div class=\"nhsuk-form-group\">\n  <fieldset class=\"nhsuk-fieldset\" aria-describedby=\"conditional-hint\">\n  <legend class=\"nhsuk-fieldset__legend nhsuk-fieldset__legend--m\">\n    <h1 class=\"nhsuk-fieldset__heading\">\n      How do you want to be contacted about this?\n    </h1>\n  </legend>\n  <div class=\"nhsuk-hint\" id=\"conditional-hint\">\n    Select 1 option\n  </div>\n  <div class=\"nhsuk-radios nhsuk-radios--small\" data-module=\"nhsuk-radios\">\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"conditional\" name=\"example\" type=\"radio\" value=\"email\" checked data-aria-controls=\"conditional-conditional\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"conditional\">\n        Email\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional\" id=\"conditional-conditional\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-email\">\n    Email address\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-email\" name=\"contact-by-email\" type=\"text\" spellcheck=\"false\">\n</div>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"conditional-2\" name=\"example\" type=\"radio\" value=\"phone\" data-aria-controls=\"conditional-conditional-2\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"conditional-2\">\n        Phone\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-conditional-2\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-phone\">\n    Phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-phone\" name=\"contact-by-phone\" type=\"tel\">\n</div>\n    </div>\n    <div class=\"nhsuk-radios__item\">\n      <input class=\"nhsuk-radios__input\" id=\"conditional-3\" name=\"example\" type=\"radio\" value=\"text\" data-aria-controls=\"conditional-conditional-3\">\n      <label class=\"nhsuk-label nhsuk-radios__label\" for=\"conditional-3\">\n        Text message\n      </label>\n    </div>\n    <div class=\"nhsuk-radios__conditional nhsuk-radios__conditional--hidden\" id=\"conditional-conditional-3\">\n      <div class=\"nhsuk-form-group\">\n  <label class=\"nhsuk-label\" for=\"contact-by-text\">\n    Mobile phone number\n  </label>\n  <input class=\"nhsuk-input nhsuk-u-width-two-thirds\" id=\"contact-by-text\" name=\"contact-by-text\" type=\"tel\">\n</div>\n    </div>\n  </div>\n</fieldset>\n</div>"
    }
  ]
}
