1. Government Frontend Component Guide
  2. Breadcrumbs
  3. No home

Breadcrumbs example

No home

How it looks

<script type="application/ld+json">
  {"@context":"http://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"name":"Service Manual","@id":"https://www.gov.uk/service-manual"}},{"@type":"ListItem","position":2,"item":{"name":"Agile Delivery","@id":"https://www.gov.uk/service-manual/agile-delivery"}}]}
</script>

<div class="gem-c-breadcrumbs govuk-breadcrumbs " data-module="track-click">
  <ol class="govuk-breadcrumbs__list">
      <li class="govuk-breadcrumbs__list-item" aria-current="false">
          <a data-track-category="breadcrumbClicked" data-track-action="1" data-track-label="/service-manual" data-track-options="{&quot;dimension28&quot;:&quot;2&quot;,&quot;dimension29&quot;:&quot;Service Manual&quot;}" class="govuk-breadcrumbs__link" aria-current="false" href="/service-manual">Service Manual</a>
      </li>
      <li class="govuk-breadcrumbs__list-item" aria-current="false">
          <a data-track-category="breadcrumbClicked" data-track-action="2" data-track-label="/service-manual/agile-delivery" data-track-options="{&quot;dimension28&quot;:&quot;2&quot;,&quot;dimension29&quot;:&quot;Agile Delivery&quot;}" class="govuk-breadcrumbs__link" aria-current="false" href="/service-manual/agile-delivery">Agile Delivery</a>
      </li>
  </ol>
</div>

How to call this example

<%= render "govuk_publishing_components/components/breadcrumbs", {
  breadcrumbs: [
    {
      title: "Service Manual",
      url: "/service-manual"
    },
    {
      title: "Agile Delivery",
      url: "/service-manual/agile-delivery"
    }
  ]
} %>