Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
Calendar
An input that displays a calendar to pick a day or days.
Use Calendar for selecting one or many days.
Changing Month
By default, Calendar displays the month of the current day. Use the month and onMonthChange to control the current month.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
Selection
Single Selection
Use single as mode to allow single selections.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
Multiple Selection
Use multiple as mode to allow multiple selections.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
Range Selection
Use range as mode to allow selecting a range.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
Number of Months
Use numberOfMonths to display more months side-by-side. This property is responsive, so you could change the number of months on different breakpoints.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
Showing Outside Days
Use showOutsideDays to display days falling in the next or the previous month.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
Disabling Days
Use disabled to disable one or more days. You can give it a date, a range, or a list that contains both.
Here's how to disable multiple days.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
Here's how to disable a range of days.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
Days with Events
Use booked to indicate a day, days, or range with events.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|