Date Picker
A small calendar that opens from a date field so you can pick a day or a range.
<input type="date">When to use it
For bookings, appointments and date-range reports.
Common mistake
For birthdays, typing the date beats paging through a calendar.
Accessibility
Always allow typing the date too; a calendar alone is slow with a keyboard.
Name in code
| HTML/CSS | <input type="date"> |
|---|---|
| React | <Calendar> + <Popover> |
| Jetpack Compose | DatePicker / DateRangePicker |
| SwiftUI | DatePicker |
Ready prompt for your coding agent
Add a Date Picker to this screen.
What it is: A small calendar that opens from a date field so you can pick a day or a range.
Implement with: <input type="date"> (HTML/CSS).
Accessibility: Always allow typing the date too; a calendar alone is slow with a keyboard.
When to use it: For bookings, appointments and date-range reports.
Avoid: For birthdays, typing the date beats paging through a calendar.
Reuse the project's existing design tokens, spacing and component conventions.
Or compose a whole page from this element and others →
Prompts are in English for the most precise results with coding agents.