DocsSupportPricing
Roadmap (has updates coming soon)XFigma3.7K
Sign inGet All-Access
  1. Components
  2. Calendar
  3. Calendar Disabled Dates
MarkdownShare

Shadcn Calendar Disabled Dates

Disabled dates. Built by composing Calendar, Card. Uses date-fns alongside the shadcn primitives. A free, open source shadcn calendar example you can install with npx shadcn@latest add @reui/c-calendar-3 and edit as your own code.

Disabled dates

For AI Agents

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

Best for: Range picking that blocks past days, today, weekends and 2 spans, restarting any range that crosses one

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

  • No selected state is wired, so the chosen range stays inside Calendar and nothing can read it
  • The 2 blocked spans in disabled are sample dates 14 to 16 and 23 to 24 days out; swap in real blackout dates
  • 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, through shadcn Calendar
Markdownhttps://reui.io/components/calendar/c-calendar-3.md
MCPget_example("c-calendar-3")
Installnpx shadcn@latest add @reui/c-calendar-3
Full index for agents:llms.txtReUI MCP setup

Shadcn Components in Calendar Disabled Dates

  • Calendar
  • Card

Dependencies

  • date-fns

About Shadcn Calendar Disabled Dates

Disabled dates. Built by composing Calendar, Card. Uses date-fns alongside the shadcn primitives. A free, open source shadcn calendar example you can install with npx shadcn@latest add @reui/c-calendar-3 and edit as your own code.

What You Can Build With Shadcn Calendar Disabled Dates

  • Composes Calendar, Card, so it drops into any project already using those components.
  • Install it with the shadcn CLI: npx shadcn@latest add @reui/c-calendar-3
  • Open source and free, with the full source on this page to copy or adapt.

More Shadcn Calendar Examples

  • Basic Basic calendar
  • Range Range calendar
  • Multiple Days Multiple day selection
  • Circular Days Custom select day style
  • Circular Range Custom select range style
  • Right Navigation Right navigation
  • Month Year Select Month and year selection
  • Year Select Year select with navigation
  • Week Numbers Display week numbers
  • Current Month Button Current month button
  • Today Button Today button
  • Year View Custom navigation with year view

Related Shadcn Component Categories

  • Card

    Open-source shadcn card components for content previews, dashboard widgets, and product summaries.

  • Carousel

    Open-source shadcn carousel components for image galleries, feature showcases, and testimonials.

  • Cascader

    Nested multi-level selection with drill-down navigation, breadcrumbs, search and custom rows.

  • Chart

    Open-source shadcn chart components for analytics dashboards, KPI tracking, and reports.

  • Checkbox

    Open-source shadcn checkbox components for multi-select forms, settings preferences, and table selection.

  • Code Block

    Open-source shadcn code block components with Shiki syntax highlighting for AI chat, streaming agent output, diff review, and documentation.

Frequently Asked Questions

When should I use Shadcn Calendar Disabled Dates?

Use it for range picking that blocks past days, today, weekends and 2 spans, restarting any range that crosses one.

Shadcn Calendar as a whole fits:

  • 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

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

How do I install Shadcn Calendar Disabled Dates?

Run npx shadcn@latest add @reui/c-calendar-3. The CLI copies the source into your project, so you own the code and can edit it freely.

Is Shadcn Calendar Disabled Dates free to use?

Yes. Every ReUI component example is open source and free for personal and commercial projects.

Which components does Shadcn Calendar Disabled Dates use?

It composes Calendar, Card. The shadcn CLI installs those alongside the example.
PreviousRangeNextMultiple Days

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 ShellAdded 4 new App Shell blocks
  • Auth
  • Card
  • Dashboard
  • Dialog
  • Empty State
  • Event Calendar
  • Flow
  • Form
  • Gantt
  • Kanban Board
  • List
  • Navbar
  • Onboarding
  • Profile
  • Rich Text Editor
  • Schedule
  • Settings
  • Sheet
  • Stats
  • Timeline
  • Whiteboard
  • Wizard

Data Grid

  • Base
  • AdvancedNew Advanced category with 3 Data Grid blocks
  • Columns
  • Drag & Drop
  • Editing
  • Expansion
  • Filtering
  • Grouping
  • Virtualization

Charts

  • Area Chart
  • Bar Chart
  • Composed Chart
  • Line Chart
  • Pie Chart
  • Radial Chart
  • Sparkline
  • Status Tracker

AI & Agents

  • AI Chat
  • Agent Activity

Solutions

  • Dev Ops
  • AI Ops
  • CRM
  • Agents
  • Analytics
  • Billing
  • Bookings
  • Files
  • Inventory
  • Users

Templates

  • E-commerce
  • SaaS
  • Dashboard
  • Landing
  • 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