1. Static Component Guide
  2. Related items
  3. External links

Related items example

External links

How to call this example

<%= render "govuk_component/related_items" {
  sections: [
    {
      title: "Elsewhere on the web",
      id: "related-elsewhere-on-the-web",
      items: [
        {
          title: "Wikivorce",
          url: "http://www.wikivorce.com",
          rel: "external"
        }
      ]
    }
  ]
} %>

How it looks