🖼️Date Picker
Also known as Calendar Picker, Date Input
A small calendar. You tap a day instead of typing the date.
Think of it like
It is like pointing at a day on a calendar. You do not have to write the date.
Example
A hotel site opens a calendar for the check-in date. Mia taps Friday and then Sunday.
Why it matters
It removes format mistakes, like mixing up 03/05 as March or May.
Definition
Example code
html
<label for="in">Check-in</label>
<input id="in" type="date">Try it
September 2026
MTWTFSS
Pointing settles which number is the month. Typing is the only way back to 1974.
Point at a day. Then type one instead, because a birthday in 1974 is a long way back.
Common mistake
Key takeaways
- 1Point at a day. No typing needed.
- 2Best for near dates. Bookings, deadlines.
- 3Allow typing too. For far dates.