With legend
How it looks (preview)
How to call this example
<%= render "govuk_publishing_components/components/date_input", {
legend_text: "What is your date of birth?"
} %>
<%= render "govuk_publishing_components/components/date_input", {
legend_text: "What is your date of birth?"
} %>