Attachment
Attachment component rendered within Govspeak
How it looks (preview)
An attachment as a block
How to call this example
<%= render "govuk_publishing_components/components/govspeak", {} do %>
<p>An attachment as a block</p>
<%= render "govuk_publishing_components/components/attachment",
attachment: { url: "https://example.com/file.odt",
title: "Attachment",
file_size: 1024,
content_type: "application/vnd.oasis.opendocument.text" }
%>
<% end %>