Document list example

Without ga4 tracking

Disables GA4 tracking. Tracking is enabled by default. See the ga4-link-tracker documentation for more information.

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/document_list", {
  disable_ga4: true,
  items: [
    {
      link: {
        text: "Test link",
        path: "https://www.gov.uk",
        description: "GOV.UK link"
      }
    }
  ]
} %>