DocsSupportPricing
Roadmap (has updates coming soon)XFigma3.7K
Sign inGet All-Access
  1. Components
  2. Calendar
MarkdownPro 6 blocks

Shadcn Calendar

Browse 30 production-ready shadcn calendar components for date selection, scheduling flows, and booking interfaces. Calendar is compatible with Radix UI and Base UI stacks and fully aligned with Shadcn Create styling.

For AI Agents

Hand your agent this brief or the ReUI MCP, not a screenshot. Free to install.

When to use

  • Inline grids for picking one day, several separate days or a from and to range
  • Date and date range fields that open the grid in a popover under a trigger button
  • Booking and planning steps that pair a day with time slots, daily prices or an event list

When not to use

  • A filter over day, month, quarter or year periods with before, after and between operators: use the Date Selector component
  • A ready made booking widget with host details, duration choices and a confirm step: use the Schedule blocks
  • A month, week or day view of entries that users drag, resize and create: use the Event Calendar component

Agent notes

  • selected takes a Date, a Date array or a DateRange to match mode single, multiple or range
  • Without required, clicking the only selected day clears it, so onSelect can hand back undefined or an empty array

Third-party API docs

  • date-fns v4: docs
  • React DayPicker v9: API reference, docs
  • little-date v1: API reference, docs, used by 1 of 30 examples
Markdownhttps://web.dev.reui.io/components/calendar.md
MCPget_component("calendar")
Installnpx shadcn@latest add calendar
Full index for agents:llms.txtReUI MCP setup

Shadcn Calendar: Interactive Date Selection

Shadcn Calendar displays a month or year grid for date selection, powered by React DayPicker. It follows Radix UI composition conventions and Base UI-style customization, with full compatibility for Shadcn Create styling.

It renders a clickable calendar grid with navigation, highlighting selected dates, and support for date ranges and disabled dates.

ReUI lists calendar components inside date pickers, booking flows, and filter panels so you evaluate month navigation, mobile sizing, and how it pairs with forms. The sections below explain what it is, why teams use it, key features, and integration strategies.

What is Shadcn Calendar?

A calendar is an interactive grid showing days of a month, with clickable dates for selection. Shadcn Calendar wraps React DayPicker with Tailwind styling for a composable, accessible date picker.

Components here show single-date selection, date ranges (from/to), disabled dates, and month/year navigation. They help you choose layouts and integrate calendars with forms or popovers.

Why Use Shadcn Calendar?

Date pickers are essential for booking, scheduling, filtering, and data range inputs. A calendar interface is faster and more reliable than typing dates manually.

The forms and filters on this page show how calendars integrate with Shadcn Popover and Shadcn Input.

Shadcn Calendar Features

  • Single and Range Selection. Select one date or a date range (from/to). Pair with state to manage selection.
  • Disabled Dates. Mark specific dates or date ranges as unavailable (weekends, past dates) to prevent selection.
  • Month/Year Navigation. Move between months and years with previous/next buttons or dropdown selectors.
  • Keyboard Accessible. Arrow keys navigate dates, Enter selects, Escape closes. Screen readers announce dates and selection state.
  • Customizable Styling. Highlight today, selected date, or ranges with Tailwind classes for day, disabled, range start/end states.

Integrating with Other Components

Wrap Shadcn Calendar in a Shadcn Popover triggered by an Shadcn Input field. On date selection, populate the input and close the popover.

Use calendars in Shadcn Field for form validation and error display. Pair with Shadcn Button for 'Clear' or 'Today' actions.

In booking flows, show two calendars (from/to) inside a Shadcn Card. Display availability or pricing on hover using Shadcn Tooltip.

Event Calendar Blocks in ReUI Pro

The free examples above pair with 6 production ready event calendar blocks in ReUI Pro, complete sections built on the same primitives and ready to copy into your app.

  • Event Calendar (6 blocks)Event calendar blocks with month, week and day views, drag-and-drop scheduling, and inline editing.

Browse all Application blocks

Frequently Asked Questions

Should I use a calendar or type an input?

Calendar for booking, scheduling, and ranges where visual context helps. Text input for single past dates. Combine both:input with calendar popover:for flexibility.

How do I show a calendar in a popover or modal?

Wrap Shadcn Calendar inside Shadcn Popover. On selection, close the popover and update the linked Shadcn Input.

Can I disable weekends or past dates?

Yes. Use the disabled prop or a disabledDates array. Filter out unwanted dates before rendering.

How do I show a date range calendar?

Render two calendars side-by-side or one with range selection. Track from/to state and highlight the range between them.

How are ReUI calendar components different from a code example?

They show calendars inside booking forms, date range filters, and mobile popovers, not isolated storybook components.
Previous57 Shadcn Button Group Components
Next18 Shadcn Card Components

Start building with ReUI Pro today.

Every Pro block, every style, and every future addition, with one license for unlimited projects.

Get All-Access

From $249, once. Lifetime updates.

Application

  • App Shell
  • Auth
  • Card
  • Dashboard
  • Dialog
  • Empty State
  • Event Calendar
  • Flow
  • Form
  • Gantt
  • Kanban Board
  • List
  • Navbar
  • Onboarding
  • Profile
  • Rich Text Editor
  • Schedule
  • Settings
  • Sheet
  • Stats2 meter cards moved here from Charts, 17 in all
  • Timeline
  • Whiteboard
  • Wizard

Data Grid

  • Base
  • AdvancedAdded 2 new Data Grid Advanced blocks, 5 in all
  • Columns
  • Drag & Drop
  • Editing
  • Expansion
  • Filtering
  • Grouping
  • Virtualization

Charts

  • Area ChartAdded a new Inbound Leads area chart block
  • Bar Chart
  • Composed Chart
  • Line Chart
  • Pie Chart
  • Radial Chart
  • Sankey ChartNew Sankey Chart category with 3 flow chart blocks
  • Slope ChartNew Slope Chart category with 2 rank-shift chart blocks
  • Sparkline
  • Status Tracker

AI & Agents

  • AI Chat
  • Agent Activity
  • AI UsageNew AI Usage category with 2 spend blocks

Solutions

  • Dev Ops
  • AI Ops
  • CRM
  • Agents
  • Analytics
  • Billing
  • Bookings
  • Files
  • Inventory
  • Users
  • Digital TwinNew Digital Twin category with 2 interactive 3D blocks

Templates

  • All templates

eCommerce

  • Category Card
  • Checkout
  • Comparison
  • Coupon
  • Filter Sidebar
  • Product Card
  • Product Detail
  • Product Grid
  • Receipt
  • Review
  • Shopping Cart
  • Wishlist
  • Shop Hero

Marketing

  • Blog
  • Compare
  • Contact
  • CTA
  • FAQ
  • Hero
  • How It Works
  • Pricing

Resources

  • Components
  • Blocks
  • Icons
  • MCP for Agents
  • Docs
  • Support
  • Pricing
  • Tailwind Plus Alternative
  • Roadmap(has updates coming soon)
  • AffiliateSoon

Legal

  • Privacy Policy
  • Terms & Conditions
  • License
  • Refunds
  • Cookies

© 2026 ReUI. All rights reserved.

3.7K

Basic calendar

Range calendar

Disabled dates

Multiple day selection

Custom select day style

Custom select range style

Right navigation

Month and year selection

Year select with navigation

Display week numbers

Current month button

Today button

Custom navigation with year view

Preset time selection

Calendar with presets

Range calendar with presets

Calendar with pricing

Calendar with presets

Appointment calendar

Display 2 months

Display 2 months with range picker

Calendar with event list

Localize calendar

Calendar with date picker

Calendar with date range picker

Calendar with date picker and year view

Calendar with date and appointment picker

Calendar with date picker and presets

Range calendar with date picker and presets

Calendar with date and time range picker