With
How it looks (preview)
How to call this example
<%= render "govuk_publishing_components/components/label", {
text: "Label with an ID",
id: "id-for-the-label",
html_for: "id-that-matches-input-6"
} %>
<%= render "govuk_publishing_components/components/label", {
text: "Label with an ID",
id: "id-for-the-label",
html_for: "id-that-matches-input-6"
} %>