Put the header and the grid in the strip. The grid returns one day for each date, with dots for the classes of that day.
class-week.tsx
WeekStrip
| Prop | Type | Default | Description |
|---|---|---|---|
| value | CalendarValueType<T | null, M> | — | The current value (controlled). |
| default | CalendarValueType<T | null, M> | — | The default value (uncontrolled). |
| aria-label | string | — | Defines a string value that labels the current element. |
| aria-labelledby | string | — | Identifies the element (or elements) that labels the current element. |
| aria-describedby | string | — | Identifies the element (or elements) that describes the object. |
| aria-details | string | — | Identifies the element (or elements) that provide a detailed, extended description for the object. |
| id | string | — | The element's unique identifier. See MDN. |
| dir | string | — | |
| lang | string | — | |
| inert | boolean | — | |
| translate | "no""yes" | — | |
| suppress | boolean | — | A React-only flag that suppresses the warning React normally logs when an element's server-rendered content doesn't match the client render during hydration. See React docs. |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | TouchEventHandler<HTMLDivElement> | — | |
| on | TouchEventHandler<HTMLDivElement> | — | |
| on | TouchEventHandler<HTMLDivElement> | — | |
| on | TouchEventHandler<HTMLDivElement> | — | |
| on | TouchEventHandler<HTMLDivElement> | — | |
| on | TouchEventHandler<HTMLDivElement> | — | |
| on | TouchEventHandler<HTMLDivElement> | — | |
| on | TouchEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | UIEventHandler<HTMLDivElement> | — | |
| on | UIEventHandler<HTMLDivElement> | — | |
| on | WheelEventHandler<HTMLDivElement> | — | |
| on | WheelEventHandler<HTMLDivElement> | — | |
| on | AnimationEventHandler<HTMLDivElement> | — | |
| on | AnimationEventHandler<HTMLDivElement> | — | |
| on | AnimationEventHandler<HTMLDivElement> | — | |
| on | AnimationEventHandler<HTMLDivElement> | — | |
| on | AnimationEventHandler<HTMLDivElement> | — | |
| on | AnimationEventHandler<HTMLDivElement> | — | |
| on | TransitionEventHandler<HTMLDivElement> | — | |
| on | TransitionEventHandler<HTMLDivElement> | — | |
| on | TransitionEventHandler<HTMLDivElement> | — | |
| on | TransitionEventHandler<HTMLDivElement> | — | |
| on | TransitionEventHandler<HTMLDivElement> | — | |
| on | TransitionEventHandler<HTMLDivElement> | — | |
| on | TransitionEventHandler<HTMLDivElement> | — | |
| on | TransitionEventHandler<HTMLDivElement> | — | |
| style | StyleOrFunction<CalendarRenderProps<M>> | — | The inline style for the element. A function may be provided to compute the style based on component state. |
| children | — | The children of the component. A function may be provided to alter the children based on component state. | |
| slot | string | null | — | A slot name for the component. Slots allow the component to receive props from a parent component. An explicit null value indicates that the local props completely override all props received from a parent. |
| render | — | Overrides the default DOM element with a custom render function. This allows rendering existing components with built-in styles and behaviors such as router links, animation libraries, and pre-styled components. Requirements: - You must render the expected element type (e.g. if <button> is expected, you cannot render an <a>). - Only a single root DOM element can be rendered (no fragments). - You must pass through props and ref to the underlying DOM element, merging with your own prop as appropriate. | |
| min | DateValue | null | — | The minimum allowed date that a user may select. |
| max | DateValue | null | — | The maximum allowed date that a user may select. |
| auto | boolean | false | Whether to automatically focus the calendar when it mounts. |
| focused | DateValue | null | — | Controls the currently focused date within the calendar. |
| default | DateValue | null | — | The date that is focused when the calendar first mounts (uncontrolled). |
| on | — | Handler that is called when the focused date changes. | |
| page | "single""visible" | visible | Controls the behavior of paging. Pagination either works by advancing the visible page by visibleDuration (default) or one unit of visibleDuration. |
| first | "fri""mon""sat""sun""thu""tue""wed" | — | The day that starts the week. |
| selection | "center""end""start" | 'center' | Determines the alignment of the visible months on initial render based on the current selection or current date if there is no selection. |
| selection | M | 'single' | Whether single or multiple selection is enabled. |
| is | — | Callback that is called for each date of the calendar. If it returns true, then the date is unavailable. | |
| visible | DateDuration | ONE_WEEK | The amount of days that will be displayed at once. This affects how pagination works. |
| create | — | A function to create a new Calendar object for a given calendar identifier. If not provided, the createCalendar function from @internationalized/date will be used. | |
| disabled | boolean | — | Turns off the control: no focus, no edits, and the disabled look. |
| read | boolean | — | The user can focus and read the value, but cannot change it. |
| invalid | boolean | — | Shows the invalid look and sets aria-invalid. |
| on | — | Runs on each change, with the new value and the Base UI change details. | |
| class | string | — | |
| size | "default""lg""sm" | — | The cell size: sm 28, default 32, lg 36. On a touch screen every size grows to 44. |
| weeks | number | "auto" | — | The rows of a month view. Default 6, so the height never changes when the user pages. "auto": the rows of each month (4 to 6, React Aria). Week and day views ignore it. |
| labels | Partial<{ weekNumber: string; }> | — | The words (CALENDAR_LABELS), to translate them. Keep the object stable. |
| weekday | "long""narrow""short" | "short" | The weekday name over each day: short (default, "Fri"), narrow ("F"), long. |
| step | DateDuration | — | How far a page moves: Previous and Next, and the page keys of WeekStripGrid (Page Up and Page Down, Up and Down in a day view, and the arrow past the first or last day). Default: the visible days (React Aria). A work week (visibleDuration={{ days: 5 }}) sets { weeks: 1 }, so Next and the keys go from Mon – Fri to the next Mon – Fri, not to Sat – Wed. |
WeekStripHeader
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| heading | "month""range" | "range" | range (default): Previous, the visible days ("19 – 25 Oct 2026", CalendarHeading with a short month), Next. month: the month at the start ("October 2026", or "Oct – Nov 2026" when the days cross a month) and both buttons at the end. |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
WeekStripGrid
| Prop | Type | Default | Description |
|---|---|---|---|
| dir | string | — | |
| lang | string | — | |
| inert | boolean | — | |
| translate | "no""yes" | — | |
| suppress | boolean | — | A React-only flag that suppresses the warning React normally logs when an element's server-rendered content doesn't match the client render during hydration. See React docs. |
| on | MouseEventHandler<HTMLTableElement> | — | |
| on | MouseEventHandler<HTMLTableElement> | — | |
| on | MouseEventHandler<HTMLTableElement> | — | |
| on | MouseEventHandler<HTMLTableElement> | — | |
| on | MouseEventHandler<HTMLTableElement> | — | |
| on | MouseEventHandler<HTMLTableElement> | — | |
| on | MouseEventHandler<HTMLTableElement> | — | |
| on | MouseEventHandler<HTMLTableElement> | — | |
| on | MouseEventHandler<HTMLTableElement> | — | |
| on | MouseEventHandler<HTMLTableElement> | — | |
| on | MouseEventHandler<HTMLTableElement> | — | |
| on | MouseEventHandler<HTMLTableElement> | — | |
| on | MouseEventHandler<HTMLTableElement> | — | |
| on | MouseEventHandler<HTMLTableElement> | — | |
| on | MouseEventHandler<HTMLTableElement> | — | |
| on | MouseEventHandler<HTMLTableElement> | — | |
| on | MouseEventHandler<HTMLTableElement> | — | |
| on | MouseEventHandler<HTMLTableElement> | — | |
| on | MouseEventHandler<HTMLTableElement> | — | |
| on | MouseEventHandler<HTMLTableElement> | — | |
| on | TouchEventHandler<HTMLTableElement> | — | |
| on | TouchEventHandler<HTMLTableElement> | — | |
| on | TouchEventHandler<HTMLTableElement> | — | |
| on | TouchEventHandler<HTMLTableElement> | — | |
| on | TouchEventHandler<HTMLTableElement> | — | |
| on | TouchEventHandler<HTMLTableElement> | — | |
| on | TouchEventHandler<HTMLTableElement> | — | |
| on | TouchEventHandler<HTMLTableElement> | — | |
| on | PointerEventHandler<HTMLTableElement> | — | |
| on | PointerEventHandler<HTMLTableElement> | — | |
| on | PointerEventHandler<HTMLTableElement> | — | |
| on | PointerEventHandler<HTMLTableElement> | — | |
| on | PointerEventHandler<HTMLTableElement> | — | |
| on | PointerEventHandler<HTMLTableElement> | — | |
| on | PointerEventHandler<HTMLTableElement> | — | |
| on | PointerEventHandler<HTMLTableElement> | — | |
| on | PointerEventHandler<HTMLTableElement> | — | |
| on | PointerEventHandler<HTMLTableElement> | — | |
| on | PointerEventHandler<HTMLTableElement> | — | |
| on | PointerEventHandler<HTMLTableElement> | — | |
| on | PointerEventHandler<HTMLTableElement> | — | |
| on | PointerEventHandler<HTMLTableElement> | — | |
| on | PointerEventHandler<HTMLTableElement> | — | |
| on | PointerEventHandler<HTMLTableElement> | — | |
| on | PointerEventHandler<HTMLTableElement> | — | |
| on | PointerEventHandler<HTMLTableElement> | — | |
| on | UIEventHandler<HTMLTableElement> | — | |
| on | UIEventHandler<HTMLTableElement> | — | |
| on | WheelEventHandler<HTMLTableElement> | — | |
| on | WheelEventHandler<HTMLTableElement> | — | |
| on | AnimationEventHandler<HTMLTableElement> | — | |
| on | AnimationEventHandler<HTMLTableElement> | — | |
| on | AnimationEventHandler<HTMLTableElement> | — | |
| on | AnimationEventHandler<HTMLTableElement> | — | |
| on | AnimationEventHandler<HTMLTableElement> | — | |
| on | AnimationEventHandler<HTMLTableElement> | — | |
| on | TransitionEventHandler<HTMLTableElement> | — | |
| on | TransitionEventHandler<HTMLTableElement> | — | |
| on | TransitionEventHandler<HTMLTableElement> | — | |
| on | TransitionEventHandler<HTMLTableElement> | — | |
| on | TransitionEventHandler<HTMLTableElement> | — | |
| on | TransitionEventHandler<HTMLTableElement> | — | |
| on | TransitionEventHandler<HTMLTableElement> | — | |
| on | TransitionEventHandler<HTMLTableElement> | — | |
| style | CSSProperties | — | The inline style for the element. |
| render | DOMRenderFunction<"table", undefined> | — | Overrides the default DOM element with a custom render function. This allows rendering existing components with built-in styles and behaviors such as router links, animation libraries, and pre-styled components. Requirements: - You must render the expected element type (e.g. if <button> is expected, you cannot render an <a>). - Only a single root DOM element can be rendered (no fragments). - You must pass through props and ref to the underlying DOM element, merging with your own prop as appropriate. |
| offset | DateDuration | — | An offset from the beginning of the visible date range that this CalendarGrid should display. Useful when displaying more than one month at a time. |
| class | string | — | |
| children | — | A function from a date to a WeekStripDay: an indicator, a labelSuffix. Default: <WeekStripDay date={date} />. | |
WeekStripDay
| Prop | Type | Default | Description |
|---|---|---|---|
| dir | string | — | |
| lang | string | — | |
| inert | boolean | — | |
| translate | "no""yes" | — | |
| suppress | boolean | — | A React-only flag that suppresses the warning React normally logs when an element's server-rendered content doesn't match the client render during hydration. See React docs. |
| on | MouseEventHandler<HTMLTableCellElement> | — | |
| on | MouseEventHandler<HTMLTableCellElement> | — | |
| on | MouseEventHandler<HTMLTableCellElement> | — | |
| on | MouseEventHandler<HTMLTableCellElement> | — | |
| on | MouseEventHandler<HTMLTableCellElement> | — | |
| on | MouseEventHandler<HTMLTableCellElement> | — | |
| on | MouseEventHandler<HTMLTableCellElement> | — | |
| on | MouseEventHandler<HTMLTableCellElement> | — | |
| on | MouseEventHandler<HTMLTableCellElement> | — | |
| on | MouseEventHandler<HTMLTableCellElement> | — | |
| on | MouseEventHandler<HTMLTableCellElement> | — | |
| on | MouseEventHandler<HTMLTableCellElement> | — | |
| on | MouseEventHandler<HTMLTableCellElement> | — | |
| on | MouseEventHandler<HTMLTableCellElement> | — | |
| on | MouseEventHandler<HTMLTableCellElement> | — | |
| on | MouseEventHandler<HTMLTableCellElement> | — | |
| on | MouseEventHandler<HTMLTableCellElement> | — | |
| on | MouseEventHandler<HTMLTableCellElement> | — | |
| on | MouseEventHandler<HTMLTableCellElement> | — | |
| on | MouseEventHandler<HTMLTableCellElement> | — | |
| on | TouchEventHandler<HTMLTableCellElement> | — | |
| on | TouchEventHandler<HTMLTableCellElement> | — | |
| on | TouchEventHandler<HTMLTableCellElement> | — | |
| on | TouchEventHandler<HTMLTableCellElement> | — | |
| on | TouchEventHandler<HTMLTableCellElement> | — | |
| on | TouchEventHandler<HTMLTableCellElement> | — | |
| on | TouchEventHandler<HTMLTableCellElement> | — | |
| on | TouchEventHandler<HTMLTableCellElement> | — | |
| on | — | ||
| on | — | ||
| on | — | ||
| on | — | ||
| on | — | ||
| on | — | ||
| on | — | ||
| on | — | ||
| on | — | ||
| on | — | ||
| on | — | ||
| on | — | ||
| on | — | ||
| on | — | ||
| on | — | ||
| on | — | ||
| on | — | ||
| on | — | ||
| on | UIEventHandler<HTMLTableCellElement> | — | |
| on | UIEventHandler<HTMLTableCellElement> | — | |
| on | WheelEventHandler<HTMLTableCellElement> | — | |
| on | WheelEventHandler<HTMLTableCellElement> | — | |
| on | — | ||
| on | — | ||
| on | — | ||
| on | — | ||
| on | — | ||
| on | — | ||
| on | — | ||
| on | — | ||
| on | — | ||
| on | — | ||
| on | — | ||
| on | — | ||
| on | — | ||
| on | — | ||
| on | — | Handler that is called when a hover interaction starts. | |
| on | — | Handler that is called when a hover interaction ends. | |
| on | — | Handler that is called when the hover state changes. | |
| style | StyleOrFunction<CalendarCellRenderProps> | — | The inline style for the element. A function may be provided to compute the style based on component state. |
| render | — | Overrides the default DOM element with a custom render function. This allows rendering existing components with built-in styles and behaviors such as router links, animation libraries, and pre-styled components. Requirements: - You must render the expected element type (e.g. if <button> is expected, you cannot render an <a>). - Only a single root DOM element can be rendered (no fragments). - You must pass through props and ref to the underlying DOM element, merging with your own prop as appropriate. | |
| date | CalendarDate | — | The date to render in the cell. |
| class | string | — | |
| layout | "inline""stacked" | — | inline (default): the day number in a square cell. stacked: a tall cell with two lines from the top (Week Strip: the weekday over the day number). Mark the struck part of a stacked cell yourself (group-data-unavailable/calendar-cell:line-through). |
| label | string | — | Words that the screen reader name of the cell adds after the date: "4 free times", "fully booked", "€109". Use it for what an indicator, a price, or a line-through shows. React Aria builds the name itself and drops an aria-label prop. |
| children | ReactNode | — | Content after the weekday and the day number: a CalendarCellIndicator. |
| Left ArroworRight Arrow | Move one day back or on. |
|---|---|
| HomeorEnd | Go to the first or the last day of the week. |
| Page UporPage Down | Go one week back or on. |
| Enter | Picks the focused day. |
Built with
Installs with Week Strip
- Components
- Calendar





