Back to top link example
With different text
By default, the component render with the text “Contents”.
How it looks (preview)
How to call this example
<%= render "govuk_publishing_components/components/back_to_top_link", {
href: "#wrapper",
text: "Back to top"
} %>