# Date Picker

> A small calendar. You tap a day instead of typing the date.

**Field:** Design  
**Category:** User Interface  
**Also known as:** Calendar Picker, Date Input

## Think of it like

It is like pointing at a day on a calendar. You do not have to write the date.

## Definition

A date picker lets people choose a date from a small calendar instead of typing it. It is good for dates near today, like a booking next week. It is slow for dates far away, like a birthday decades ago, so people should also be able to type the date. It must make the format clear, since day and month order differ by country.

## Example

A hotel site opens a calendar for the check-in date. Mia taps Friday and then Sunday.

## Example code

```html
<label for="in">Check-in</label>
<input id="in" type="date">
```

The date type gives a calendar on most browsers and the phone's own date wheel.

## Why it matters

It removes format mistakes, like mixing up 03/05 as March or May.

## Common mistake

Forcing a calendar for a birth date. Scrolling back 40 years is tiring; let people type.

## Three principles

- **Point at a day.** No typing needed.
- **Best for near dates.** Bookings, deadlines.
- **Allow typing too.** For far dates.

## Related terms

- [Text Input](https://learn.benibix.com/term/design/text-input)
- [Placeholder Text](https://learn.benibix.com/term/design/placeholder-text)
- [Select Menu](https://learn.benibix.com/term/design/select-menu)

## Taught in

- [Select Menus and Pickers](https://learn.benibix.com/learn/design-user-interface/select-menus-and-pickers): UI Components, 6/14

---

Source: https://learn.benibix.com/term/design/date-picker
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-16
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
