1. Component Guide
  2. Translation navigation
  3. With branding
Translation navigation example

With branding

Organisation colour branding can be added to the component as shown.

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/translation_nav", {
  brand: "wales-office",
  translations: [
    {
      locale: "en",
      base_path: "/en",
      text: "English",
      active: true
    },
    {
      locale: "cy",
      base_path: "/cy",
      text: "Cymraeg"
    }
  ]
} %>