Attachment example

Html attachment

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/attachment", {
  attachment: {
    title: "Smart meters: unlocking the future",
    url: "https://www.gov.uk/government/publications/smart-meters-unlocking-the-future/smart-meters-unlocking-the-future",
    type: "html"
  }
} %>