Date picker

A date picker helps users select a single date.

Types

Date picker

Date inputs use the browser’s built-in date picker, where available, otherwise they fall back to a text input.

HTML code snippet

<input type="date" class="a-text-input" placeholder="mm/dd/yyyy">

Date picker (full-width)

Date inputs may use the a-text-input--full modifier to fill their available space.

HTML code snippet

<input type="date" class="a-text-input a-text-input--full" placeholder="mm/dd/yyyy">

Latest Updates

Page last edited:
Show all details
Edit page