Inputs
Date picker
Also calleddate fieldcalendar picker
A field for choosing a date, often with a calendar popup and a way to enter the date directly.
How people describe it
- “small calendar where I choose a day”
- “field that opens a grid of dates”
- “month and numbered days with one day highlighted”
Good for
- Booking a date
- Choosing a deadline
Don’t mix it up with
Chooses from general options rather than calendar dates.
What your library calls it
| LIBRARY | CALLS IT |
|---|---|
| shadcn/ui | Calendar + Popover (Date Picker composition) |
Accessibility checklist
- Associate a visible label and any help or error text
- Allow keyboard entry and preserve visible focus
- For custom calendars, manage focus and announce dates and month changes
Try it
October 2026
| Su | Mo | Tu | We | Th | Fr | Sa |
|---|---|---|---|---|---|---|
Pick a date
Arrow keys move by day and week. PageUp and PageDown change month.
Settings
Colors
Pick, eyedrop, or generate a color, then choose Custom under Color above.
Passes AA · 6.9:1
Text color is chosen for you.
Start
End
Prompt
Add a labeled date picker with keyboard input and a visible selected date.
~19 estimated prompt tokensDetailed: ~64 estimated prompt tokens
Rough estimate for prompt text only; actual counts vary by model and context.
<label for="due-date">Due date</label>
<input id="due-date" name="dueDate" type="date" aria-describedby="due-date-help" style="min-height:44px; width:100%; box-sizing:border-box">
<p id="due-date-help">Choose the day this task should be finished.</p>Used in
Explore website blueprints that use this component.