Download link example
With data attributes on link
How it looks (preview)
How to call this example
<%= render "components/download_link", {
href: "/download-calendar",
text: "Download Calendar (ICS, 2KB)",
link_data_attributes: {
module: "example-module",
fruit: "banana"
}
} %>