Date select is a type of form input that allows the user to select the month, day and year for a specific date. The calendar icon orients the user to the purpose of the component. Each of the input elements consists of a container, and a select or text input. For accessibility, always use date pickers with a label.
There should be one date select component per row. Keep a margin of 16px between the date select container and the previous component.
The Date Select component allows the user to choose a date by individually selecting month, day, and year. In the active state for each element, a dropdown presents input options with their own hover states. Once the user selects an option, the dropdown disappears, and the selected state appears for that element.
This International Date Select offers the same functionality of the default in a widely recognized international date format (DD/MM/YYYY).
The Default and International variants of the date select have the same states as the select component. Each selectable element of the date select has an active state, a focus state and a selected state. The date input variant has the same states as a text input
The error state for all variants will highlight the entire container red to draw the user's attention and an input error component will appear below the length of the container to guide the user in correcting the error.
Any date input in the error state must appear with an input error component.
Except in the case of the International Date Select which follows Day/Month/Year, text labels for the default inputs are as follows with no variant in order or capitalization: Month, Day, Year. For the Month inputs, write out the twelve calendar months with initial caps. The Day and Year inputs will contain only numerals.