{ "component": "label", "fixtures": [ { "name": "default", "options": { "text": "National Insurance number" }, "html": "", "hidden": false }, { "name": "with bold text", "options": { "classes": "govuk-label--s", "text": "National Insurance number" }, "html": "", "hidden": false }, { "name": "styled as xl text", "options": { "text": "National Insurance number", "classes": "govuk-label--xl" }, "html": "", "hidden": false }, { "name": "styled as large text", "options": { "text": "National Insurance number", "classes": "govuk-label--l" }, "html": "", "hidden": false }, { "name": "styled as medium text", "options": { "text": "National Insurance number", "classes": "govuk-label--m" }, "html": "", "hidden": false }, { "name": "styled as small text", "options": { "text": "National Insurance number", "classes": "govuk-label--s" }, "html": "", "hidden": false }, { "name": "as page heading xl", "options": { "text": "National Insurance number", "classes": "govuk-label--xl", "isPageHeading": true }, "html": "

\n \n

", "hidden": false }, { "name": "as page heading l", "options": { "text": "National Insurance number", "classes": "govuk-label--l", "isPageHeading": true }, "html": "

\n \n

", "hidden": false }, { "name": "as page heading m", "options": { "text": "National Insurance number", "classes": "govuk-label--m", "isPageHeading": true }, "html": "

\n \n

", "hidden": false }, { "name": "as page heading s", "options": { "text": "National Insurance number", "classes": "govuk-label--s", "isPageHeading": true }, "html": "

\n \n

", "hidden": false }, { "name": "as page heading without class", "options": { "text": "National Insurance number", "isPageHeading": true }, "html": "

\n \n

", "hidden": false }, { "name": "empty", "options": {}, "html": "", "hidden": true }, { "name": "classes", "options": { "text": "National Insurance number", "classes": "extra-class one-more-class" }, "html": "", "hidden": true }, { "name": "html as text", "options": { "text": "National Insurance number, NINO" }, "html": "", "hidden": true }, { "name": "html", "options": { "html": "National Insurance number NINO" }, "html": "", "hidden": true }, { "name": "for", "options": { "for": "#dummy-input", "text": "National Insurance number" }, "html": "", "hidden": true }, { "name": "attributes", "options": { "text": "National Insurance number", "attributes": { "first-attribute": "foo", "second-attribute": "bar" } }, "html": "", "hidden": true } ] }