Components · Data Display · Calendar
Back to Calendar typesCalendar
Use for a full, always-visible month grid for browsing dates or scheduling - one Calendar component, controlled by properties, not a one-off grid of divs rebuilt per screen.
Properties
Enter a full month and year, such as February 2028. The day grid and full-date labels update together, including leap years and adjacent months. First day of week reflows the same month. Event and range states are preview examples.
Live Preview
Both sizes compared side by side, each in 3 content states - Default, With events and Range preview. One matrix is rendered at the chosen Month label and First day of week.
When to use
Any place someone needs to browse or scan a full month at once, rather than pick a single date from a compact popup.
Component Guide
Overview
Calendar is a full, always-visible month grid for browsing dates or scheduling - unlike Date Picker's compact trigger-and-popup pattern, Calendar stays open on the page so an entire month can be scanned, compared, and interacted with at once.
When to Use
- A booking or scheduling view - showing availability across a full month.
- A content publishing calendar or attendance tracker - seeing many dates' worth of data simultaneously.
- Event planning overviews or a habit-tracker grid - any case where scanning the whole month matters more than a compact popup.
When Not to Use
- Picking a single date within a form - use Date Picker's compact trigger instead of dedicating a full grid to the page.
- A bounded start/end pair - use Date Range.
- A screen with limited space where a full month grid can't be shown clearly - consider a Date Picker's popup calendar instead of a permanently visible one.
Best Practices
- Highlight today's date clearly and consistently, so orientation within the month is immediate.
- Use event dots or markers sparingly - too many per day makes the grid noisy and hard to scan.
- Keep the first day of the week configurable to match locale or organizational convention (Sunday vs. Monday).
Do and Don't
Do
Leading days from the previous month are shown dimmed rather than hidden, so the grid never looks like a broken week with cells missing.
Don't
Starting the grid at day 1 with no leading blanks makes every week after the first misalign with its weekday header.
Accessibility
- Each day cell is independently focusable and announces its full date, not just the day number.
- Today, selected, and out-of-month days are each distinguishable by more than color alone.
- Fully keyboard-navigable - arrow keys move between days, Page Up/Down move between months.
Related Components
Date Picker, Date Range, Table.
{
"component": "Calendar",
"category": "Data Display",
"summary": "Calendar is a full, always-visible month grid for browsing dates or scheduling - unlike Date Picker's compact trigger-and-popup pattern, Calendar stays open on the page so an entire month can be scanned, compared, and interacted with at once.",
"whenToUse": [
"A booking or scheduling view - showing availability across a full month.",
"A content publishing calendar or attendance tracker - seeing many dates' worth of data simultaneously.",
"Event planning overviews or a habit-tracker grid - any case where scanning the whole month matters more than a compact popup."
],
"whenNotToUse": [
"Picking a single date within a form - use Date Picker's compact trigger instead of dedicating a full grid to the page.",
"A bounded start/end pair - use Date Range.",
"A screen with limited space where a full month grid can't be shown clearly - consider a Date Picker's popup calendar instead of a permanently visible one."
],
"bestPractices": [
"Highlight today's date clearly and consistently, so orientation within the month is immediate.",
"Use event dots or markers sparingly - too many per day makes the grid noisy and hard to scan.",
"Keep the first day of the week configurable to match locale or organizational convention (Sunday vs. Monday)."
],
"doAndDont": {
"do": "Leading days from the previous month are shown dimmed rather than hidden, so the grid never looks like a broken week with cells missing.",
"dont": "Starting the grid at day 1 with no leading blanks makes every week after the first misalign with its weekday header."
},
"accessibility": [
"Each day cell is independently focusable and announces its full date, not just the day number.",
"Today, selected, and out-of-month days are each distinguishable by more than color alone.",
"Fully keyboard-navigable - arrow keys move between days, Page Up/Down move between months."
],
"relatedComponents": [
"Date Picker",
"Date Range",
"Table"
]
}