Calendar
An inline month grid for picking a single date, several dates or a range, with unavailable-day rules.
Paste this into your agent.
Calendar keeps the date grid on the page, for a booking flow, a scheduling sidebar or a range picker with shortcuts. It shares one options object with the kit's date pickers.
Install
bashnpx shadcn@4.18.0 add @siteplane/calendar
Import it from @/siteplane/components/calendar. The project needs Siteplane UI's one-time setup first: .
When to pick it
- vs : Pick Date Picker when the calendar should open from a compact button.
- vs : Pick Date Field when typing is the main path, as with a birth date.
- vs : Pick Date Range Picker for a compact typed range field with a popover calendar.
Rules
- Choose
selectionMode(single, multiple or range) first; it sets the shape ofvalue. - Block days with
disabledmatchers and limit navigation withstartMonthandendMonth. - Define shared
CalendarOptionsonce and reuse them in Calendar and in each picker'scalendarProps. - Control
monthalongsidevaluewhen your own buttons, like Today, change the date. - Values are local-midnight Date objects, so choose a storage format on purpose, for example
YYYY-MM-DD. - Give it an
aria-label; do not pass React AriaCalendarDateorminValueprops.
Reference
Add to your agent
Print this skill from the terminal, or connect the whole catalog over MCP. Setup guides
CLI
MCP server
Questions
Related skills
Form Field Validation Timingby UI Skillbook
Validate at the right moment — not on every keystroke, not only on submit.
Forms
Siteplane Attachmentby UI Skillbook
A card for a file or image attached to a message or draft, with upload states and actions.
Siteplane UI
Siteplane Autocompleteby UI Skillbook
A text input that suggests completions while still accepting whatever the person types.
Siteplane UI
Siteplane Comboboxby UI Skillbook
A searchable picker that filters known options as you type, single or multi-select with chips.
Siteplane UI