Secondary navigation example

Default

How it looks (preview)

How to call this example

<%= render "components/secondary_navigation", {
  aria_label: "Document",
  items: [
    {
      label: "Document summary",
      href: "/document-summary",
      current: true,
      data_attributes: {
        gtm: "summary-tab"
      }
    },
    {
      label: "Document history",
      href: "/document-history",
      data_attributes: {
        gtm: "history-tab"
      }
    }
  ]
} %>