{ "component": "breadcrumbs", "fixtures": [ { "name": "default", "options": { "items": [ { "text": "Section", "href": "/section" }, { "text": "Sub-section", "href": "/section/sub-section" } ] }, "hidden": false, "description": "", "previewLayoutModifiers": [], "html": "
\n
    \n
  1. \n Section\n
  2. \n
  3. \n Sub-section\n
  4. \n
\n
" }, { "name": "with one level", "options": { "items": [ { "text": "Section", "href": "/section" } ] }, "hidden": false, "description": "", "previewLayoutModifiers": [], "html": "
\n
    \n
  1. \n Section\n
  2. \n
\n
" }, { "name": "with multiple levels", "options": { "items": [ { "text": "Home", "href": "/" }, { "text": "Section", "href": "/section" }, { "text": "Sub-section", "href": "/section/sub-section" }, { "text": "Sub Sub-section", "href": "/section/sub-section/sub-sub-section" } ] }, "hidden": false, "description": "", "previewLayoutModifiers": [], "html": "
\n
    \n
  1. \n Home\n
  2. \n
  3. \n Section\n
  4. \n
  5. \n Sub-section\n
  6. \n
  7. \n Sub Sub-section\n
  8. \n
\n
" }, { "name": "without the home section", "options": { "items": [ { "text": "Service Manual", "href": "/service-manual" }, { "text": "Agile Delivery", "href": "/service-manual/agile-delivery" } ] }, "hidden": false, "description": "", "previewLayoutModifiers": [], "html": "
\n
    \n
  1. \n Service Manual\n
  2. \n
  3. \n Agile Delivery\n
  4. \n
\n
" }, { "name": "with last breadcrumb as current page", "options": { "items": [ { "text": "Home", "href": "/" }, { "text": "Passports, travel and living abroad", "href": "/browse/abroad" }, { "text": "Travel abroad" } ] }, "hidden": false, "description": "", "previewLayoutModifiers": [], "html": "
\n
    \n
  1. \n Home\n
  2. \n
  3. \n Passports, travel and living abroad\n
  4. \n
  5. Travel abroad
  6. \n
\n
" }, { "name": "with collapse on mobile", "options": { "collapseOnMobile": true, "items": [ { "text": "Home", "href": "/" }, { "text": "Education, training and skills", "href": "/education" }, { "text": "Special educational needs and disability (SEND) and high needs", "href": "/education/special-educational-needs-and-disability-send-and-high-needs" } ] }, "hidden": false, "description": "", "previewLayoutModifiers": [], "html": "
\n
    \n
  1. \n Home\n
  2. \n
  3. \n Education, training and skills\n
  4. \n
  5. \n Special educational needs and disability (SEND) and high needs\n
  6. \n
\n
" }, { "name": "inverse", "options": { "classes": "govuk-breadcrumbs--inverse", "items": [ { "text": "Home", "href": "/" }, { "text": "Passports, travel and living abroad", "href": "/browse/abroad" }, { "text": "Travel abroad" } ] }, "hidden": false, "description": "Breadcrumbs that appear on dark backgrounds", "previewLayoutModifiers": [ "inverse" ], "html": "
\n
    \n
  1. \n Home\n
  2. \n
  3. \n Passports, travel and living abroad\n
  4. \n
  5. Travel abroad
  6. \n
\n
" }, { "name": "classes", "options": { "classes": "app-breadcrumbs--custom-modifier", "items": [ { "text": "Home" } ] }, "hidden": true, "description": "", "previewLayoutModifiers": [], "html": "
\n
    \n
  1. Home
  2. \n
\n
" }, { "name": "attributes", "options": { "attributes": { "id": "my-navigation", "role": "navigation" }, "items": [ { "text": "Home" } ] }, "hidden": true, "description": "", "previewLayoutModifiers": [], "html": "
\n
    \n
  1. Home
  2. \n
\n
" }, { "name": "item attributes", "options": { "items": [ { "text": "Section 1", "href": "/section", "attributes": { "data-attribute": "my-attribute", "data-attribute-2": "my-attribute-2" } } ] }, "hidden": true, "description": "", "previewLayoutModifiers": [], "html": "
\n
    \n
  1. \n Section 1\n
  2. \n
\n
" }, { "name": "html as text", "options": { "items": [ { "text": "Section 1" } ] }, "hidden": true, "description": "", "previewLayoutModifiers": [], "html": "
\n
    \n
  1. <span>Section 1</span>
  2. \n
\n
" }, { "name": "html", "options": { "items": [ { "html": "Section 1" }, { "html": "Section 2", "href": "/section-2" } ] }, "hidden": true, "description": "", "previewLayoutModifiers": [], "html": "
\n
    \n
  1. Section 1
  2. \n
  3. \n Section 2\n
  4. \n
\n
" } ] }