Form date input example

With hint

When hint text is rendered each input field takes the value of hint_id as a value for the aria-describedby attribute

How it looks (preview)

What is your date of birth?
For example, 31 3 1980

How to call this example

<%= render "govuk_publishing_components/components/date_input", {
  legend_text: "What is your date of birth?",
  hint: "For example, 31 3 1980"
} %>