Calendar Date Picker
A date picker for Next.js that handles single dates and date ranges on top of shadcn/ui's calendar.
- Category
- Libraries & Components
- Added
- GitHub stars
- 338
- License
- MIT
- Price
- Free
About
About Calendar Date Picker
Calendar Date Picker is a copy-paste component assembled from shadcn/ui parts: button, calendar, popover and select. The demo shows two modes, a date range field and a single date field with a submit button. Under the hood it uses react-day-picker for the grid, date-fns and date-fns-tz for date math and time zone formatting, and class-variance-authority for styling variants.
The README is a step-by-step tutorial for a Next.js project. Install date-fns, date-fns-tz and react-day-picker, initialize the shadcn CLI, add button, calendar, popover and select, then create calendar-date-picker.tsx in your components folder and paste the code. The repository is MIT licensed. It suits forms that need a range filter on reports or a single date for bookings and deadlines.
Calendar Date Picker features
6 features
- Single date and date range modes
- Built on the shadcn/ui calendar and popover
- react-day-picker for the calendar grid
- Time zone formatting with date-fns-tz
- Month and year selects
- Variants via class-variance-authority
Install Calendar Date Picker
1 command
Terminal
$ npx shadcn@latest add button calendar popover selectWhat you can build with Calendar Date Picker
3 use cases
- Filtering a report by a start and end date
- Picking a due date in a task form
- Choosing a booking date inside a popover
Libraries & Components
Similar to Calendar Date Picker
More libraries & components like Calendar Date Picker: the closest by what they do, then the most starred.
Date Range PickerLibraryDate Range Picker for shadcn offers multi-month views, typed dates, preset ranges and range comparison, built on Radix UI and Tailwind CSS. MIT licensed.
shadcn/ui expansionsLibraryshadcn/ui expansions adds components the base set lacks: autosize textarea, datetime picker, multiple selector and infinite scroll. Copy and paste them.
Time PickerLibraryTime Picker from OpenStatus is a React TimePickerInput for shadcn/ui. It handles keyboard input, 12-hour clocks and mobile keyboards with no dependency.
Full CalendarLibraryFull Calendar is an MIT-licensed calendar for shadcn/ui and Next.js with day to agenda views, event editing and drag and drop. Install it from a registry.
KalyxLibraryKalyx is a headless React library with DatePicker, RangePicker, TimePicker, DateTimePicker and more, using ISO 8601 UTC strings and zero CSS.
PlannerLibraryPlanner is an MIT-licensed React scheduling component with drag and drop, resource assignment and date ranges, styled with shadcn/ui.
Pricing
Ship it with Pro
The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What Calendar Date Picker is, how to install it, its license and its alternatives.
Install date-fns, date-fns-tz and react-day-picker with npm, then add the button, calendar, popover and select components with the shadcn CLI.
The README walks through a Next.js setup. The component code is client-side React, but only Next.js is documented.
A date picker for Next.js that handles single dates and date ranges on top of shadcn/ui's calendar.
Calendar Date Picker lists Single date and date range modes, Built on the shadcn/ui calendar and popover, react-day-picker for the calendar grid, Time zone formatting with date-fns-tz, Month and year selects and Variants via class-variance-authority.
The directory lists these uses for Calendar Date Picker: Filtering a report by a start and end date, Picking a due date in a task form and Choosing a booking date inside a popover.
Calendar Date Picker is made by sersavan, at https://github.com/sersavan. Its site is https://github.com/sersavan/shadcn-calendar-component.
Calendar Date Picker was added to the directory on December 27, 2024.
Calendar Date Picker is in Libraries & Components. Component libraries and standalone components built on shadcn/ui, covering the data tables, pickers, editors and charts the core set leaves out.
Calendar, Date and time, Components, Inputs, Next.js, Radix UI, Open source, MIT and Copy and paste. Each tag has a page listing the other resources that carry it.
Yes. Calendar Date Picker's page has a Live tab beside the screenshot that loads its site in a frame.
Calendar Date Picker lists this command: `npx shadcn@latest add button calendar popover select`.
Yes, according to its listing: Calendar Date Picker installs with `npx shadcn@latest add button calendar popover select`.
Calendar Date Picker's repository is https://github.com/sersavan/shadcn-calendar-component.
The directory links no separate docs for Calendar Date Picker; start from its site at https://github.com/sersavan/shadcn-calendar-component.
GitHub lists Calendar Date Picker under the MIT license. Read the license file in its repository for the terms.
The directory records no price for Calendar Date Picker. Its site, https://github.com/sersavan/shadcn-calendar-component, is where its pricing, if any, is stated.
No. Calendar Date Picker is made by sersavan and listed here as a link. A shadcn.io Pro plan covers shadcn.io's own blocks, templates and tools.
Other resources in Libraries & Components, newest first: Date Range Picker, shadcn/ui expansions, Time Picker and Full Calendar. Their pages are linked under Similar to Calendar Date Picker.
Open its category, Libraries & Components, or one of its tags (Calendar, Date and time and Components): each page lists the resources that share it.
4.9 out of 5 from 150+ developers
Found your stack? Ship it.
6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.
Get Pro




