Lets the shopper pick a date from a month grid, within a minimum and maximum, starting the week where the locale it is given does, one or several months side by side.
States: Default, Hover, Focus, Disabled, Invalid
Parts
Part
File
Does
Calendar
Calendar.vue
Lets the user pick a date from a monthly calendar.
CalendarCell
CalendarCell.vue
Holds one day in a row of the calendar grid.
CalendarCellTrigger
CalendarCellTrigger.vue
Lets the user select a single day of the calendar.
CalendarGrid
CalendarGrid.vue
Lays out the days of one month in a grid.
CalendarGridBody
CalendarGridBody.vue
Holds the weeks of the calendar grid.
CalendarGridHead
CalendarGridHead.vue
Holds the row of weekday names above the calendar days.
CalendarGridRow
CalendarGridRow.vue
Groups the days of one week in the calendar grid.
CalendarHeadCell
CalendarHeadCell.vue
Labels one column of the calendar grid with a weekday name.
CalendarHeader
CalendarHeader.vue
Groups the heading and month navigation above the calendar grid.
CalendarHeading
CalendarHeading.vue
Shows the month and year the calendar currently displays.
CalendarNextButton
CalendarNextButton.vue
Lets the user move the calendar to the next month.
CalendarPrevButton
CalendarPrevButton.vue
Lets the user move the calendar to the previous month.
Writes 13 files into components/ui/calendar/. For agents, npx @frontic/ui docs calendar prints this reference as markdown; the MCP server serves the same.