1. Component Guide
  2. Step by step navigation related links
  3. With a different title
Step by step navigation related links example

With a different title

The default title ‘Part of’ can be replaced if required.

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/step_by_step_nav_related", {
  pretitle: "Also part of",
  links: [
    {
      href: "/learn-to-drive-a-car",
      text: "Learn to drive a car: step by step"
    },
    {
      href: "/learn-to-drive-a-motorbike",
      text: "Learn to drive a motorbike: step by step"
    }
  ]
} %>