Description
Shadcn Date Picker is a date picker component for shadcn/ui, built on the react-day-picker library. It is intended as a more advanced alternative to the default shadcn date picker. The main difference is navigation: you can click the month label at the top of the calendar to switch the view to years, so you can jump to a far-off date quickly, which the site says helps when choosing a date of birth. A date range picker is included too, and it also lets you move through years when choosing a long range such as a holiday. The component works with react-day-picker version 9, which the site says the standard shadcn date picker does not support. If you already use the shadcn calendar or date picker, the site says you need to override the calendar component, because shadcn is still on version 8. Installation uses the shadcn CLI with a URL to the date-picker registry file. The demo shows the basic and range examples with their code. The source is on GitHub.…
Highlights
- Date picker built on react-day-picker v9
- Year and month navigation from the month label
- Single date and date range pickers
- Installs with the shadcn CLI
- Open source on GitHub
Ratings & Reviews
No ratings yet
Be the first to rate shadcn-date-picker.
People also visit
shadcn-date-picker FAQ
What makes it different from the shadcn date picker?
It lets you navigate through years by clicking the month label, and it works with react-day-picker version 9.
Does it support date ranges?
Yes. The demo includes a date range picker that also lets you move through years.
How do I install it?
Run the shadcn CLI add command with the date-picker registry URL shown on the site.
Do I need to change my existing calendar?
The site says yes if you already use the shadcn calendar or date picker, because that uses react-day-picker version 8, so you need to override the calendar component.
What are the best shadcn-date-picker alternatives?
Popular alternatives to shadcn-date-picker include date-time-picker-shadcn, react-day-picker and dsikeres1. See all shadcn-date-picker alternatives






