# Date Time Calendar

> A Date Time Calendar widget to allow user to select a date and a time from an interactive calendar

Date Time Calendar widgets are [Input Fields](https://golemui.com/dx/widgets-reference/input-fields/overview.md) that let the user select a date and a time from a single interactive calendar. The user picks a day from the grid and a time from a segmented input with a drop-down of slots; the slots are generated from `minTime` to `maxTime` (inclusive) stepping `minuteStep` minutes.

The widget emits a local ISO date-time string (`YYYY-MM-DDTHH:mm:ss`) only when **both** the day and the time are selected, pair it with the `{ format: 'date-time' }` validator. Picking a different day clears the time and resets the value to `null`, and time selection stays disabled until a day is selected. For a compact single-field variant that opens as a popover, use the [Date Time Picker](https://golemui.com/dx/widgets-reference/input-fields/datetimepicker.md).


```ts title="datetimecalendar.ts"

export default [
  gui.inputs.dateTimeCalendar('appointmentAt', {
    minTime: '09:00:00',
    maxTime: '18:00:00',
    minuteStep: 30,
    label: 'Appointment',
  }),
];
```

_Live demo on the docs page. Form definition: [datetimecalendar.ts](https://golemui.com/template/widgets-dx/datetimecalendar/datetimecalendar.ts)._

## Props

Use these `props` to customize your Date Time Calendar widget. It accepts date props (for the day grid) and time props (for the slots), all listed below. With `numberOfMonths` greater than 1, the time row renders on the first panel only.

| prop                       | type                  | description                                                                                                                                 |
| -------------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| `allowCustomTime`          | boolean               | Allows typing a time in the input; when `false` (default) times come only from the slot grid                                                |
| `disabledRanges`           | array                 | Array of `{ start: string, end?: string }` ISO date ranges whose days render disabled                                                       |
| `disabledTimeRangeMessage` | string \| Localizable | Error message shown when a typed time falls inside a disabled time range                                                                    |
| `disabledTimeRanges`       | array                 | `{ start, end, date?, weekdays? }` ISO time ranges whose slots render disabled. See below                                                   |
| `hint`                     | string                | A description to display below the calendar                                                                                                 |
| `hourFormat`               | `'12' \| '24'`        | Forces 12-hour or 24-hour slot labels and typing mode; when omitted the locale decides                                                      |
| `incompleteMessage`        | string \| Localizable | Error message shown when focus leaves the widget with a partially filled date-time behind; the value goes to `null` so validators report it |
| `maxDate`                  | string                | Latest selectable date (ISO date, inclusive); later calendar days render disabled                                                           |
| `maxTime`                  | string                | Last selectable slot (ISO time, inclusive). Defaults to `23:59:59`                                                                          |
| `maxTimeMessage`           | string \| Localizable | Error message shown when a typed time is after `maxTime`                                                                                    |
| `minDate`                  | string                | Earliest selectable date (ISO date, inclusive); earlier calendar days render disabled                                                       |
| `minTime`                  | string                | First selectable slot (ISO time, inclusive). Defaults to `00:00:00`                                                                         |
| `minTimeMessage`           | string \| Localizable | Error message shown when a typed time is before `minTime`                                                                                   |
| `minuteStep`               | number                | Minutes between generated slots, also the arrow-key minute increment when typing. Defaults to `30`                                          |
| `nextMonthAriaLabel`       | string                | ARIA label for the next month button                                                                                                        |
| `nextMonthIcon`            | string                | Custom CSS class for the "next month" button icon                                                                                           |
| `noAvailableTimesMessage`  | string \| Localizable | Shown in the slot grid when the bounds yield no slots. Defaults to `No available times`                                                     |
| `numberOfMonths`           | number                | Number of months to display side-by-side. Defaults to `1`                                                                                   |
| `prevMonthAriaLabel`       | string                | ARIA label for the previous month button                                                                                                    |
| `prevMonthIcon`            | string                | Custom CSS class for the "previous month" button icon                                                                                       |
| `selectYearAriaLabel`      | string                | ARIA label for the year-selector toggle button in the calendar header; the current year is appended. Defaults to `Select year`              |
| `timeLabel`                | string \| Localizable | Visible heading on the time picker. Defaults to `Time`                                                                                      |
| `yearGridAriaLabel`        | string                | ARIA label for the year-selection grid. Defaults to `Year selection`                                                                        |

### Hint

<Aside>A `label` is required for the `hint` to be displayed.</Aside>

Use the property `hint` to add a description.


```ts title="datetimecalendar.ts"

export default [
  gui.inputs.dateTimeCalendar('appointmentAt', {
    hint: 'Pick a day first, then a time slot',
    minTime: '09:00:00',
    maxTime: '18:00:00',
    minuteStep: 30,
    label: 'Appointment',
  }),
];
```

_Live demo on the docs page. Form definition: [datetimecalendar-hint.ts](https://golemui.com/template/widgets-dx/datetimecalendar/datetimecalendar-hint.ts)._

### Time Label

Use the property `timeLabel` to rename the visible heading on the time picker (it defaults to `Time`).


```ts title="datetimecalendar.ts"

export default [
  gui.inputs.dateTimeCalendar('appointmentAt', {
    timeLabel: 'Arrival time',
    minTime: '09:00:00',
    maxTime: '18:00:00',
    minuteStep: 30,
    label: 'Appointment',
  }),
];
```

_Live demo on the docs page. Form definition: [datetimecalendar-timelabel.ts](https://golemui.com/template/widgets-dx/datetimecalendar/datetimecalendar-timelabel.ts)._

### Custom Icons

Use `prevMonthIcon`, `nextMonthIcon`, `prevMonthAriaLabel` and `nextMonthAriaLabel` to customize the calendar's month-navigation buttons, exactly as in the [Calendar](https://golemui.com/dx/widgets-reference/input-fields/calendar.md).


```ts title="datetimecalendar.ts"

export default [
  gui.inputs.dateTimeCalendar('appointmentAt', {
    prevMonthIcon: 'chevron_left',
    nextMonthIcon: 'chevron_right',
    prevMonthAriaLabel: 'Go to previous month',
    nextMonthAriaLabel: 'Go to next month',
    label: 'Appointment',
  }),
];
```

_Live demo on the docs page. Form definition: [datetimecalendar-icons.ts](https://golemui.com/template/widgets-dx/datetimecalendar/datetimecalendar-icons.ts)._

### Number of Months

Use the property `numberOfMonths` to display multiple months side-by-side. The time input and slot grid render on the first panel only.


```ts title="datetimecalendar.ts"

export default [
  gui.inputs.dateTimeCalendar('appointmentAt', {
    hint: 'Two months side by side; the time row shows on the first panel only',
    numberOfMonths: 2,
    minTime: '09:00:00',
    maxTime: '18:00:00',
    minuteStep: 30,
    label: 'Appointment',
  }),
];
```

_Live demo on the docs page. Form definition: [datetimecalendar-months.ts](https://golemui.com/template/widgets-dx/datetimecalendar/datetimecalendar-months.ts)._

### Custom Time

Use the property `allowCustomTime` to let the user type any time directly in the time field, in addition to picking a slot. Typed times are still validated against `minTime` and `maxTime`; customize (and localize) the messages with `minTimeMessage` and `maxTimeMessage`.


```ts title="datetimecalendar.ts"

export default [
  gui.inputs.dateTimeCalendar('appointmentAt', {
    hint: 'Type any time or pick a 30m slot',
    allowCustomTime: true,
    minTime: '09:00:00',
    maxTime: '18:00:00',
    minuteStep: 30,
    minTimeMessage: 'Office not open until 9:00',
    maxTimeMessage: 'Office closed from 18:00',
    label: 'Appointment',
  }),
];
```

_Live demo on the docs page. Form definition: [datetimecalendar-customtime.ts](https://golemui.com/template/widgets-dx/datetimecalendar/datetimecalendar-customtime.ts)._

### Hour Format

Use the property `hourFormat` to force `'12'`-hour (AM/PM) or `'24'`-hour slot labels and typing mode. When omitted, the user's locale decides.


```ts title="datetimecalendar.ts"

export default [
  gui.inputs.dateTimeCalendar('appointmentAt', {
    hint: '12-hour slot labels and typing (AM/PM)',
    hourFormat: '12',
    minTime: '09:00:00',
    maxTime: '18:00:00',
    minuteStep: 30,
    label: 'Appointment',
  }),
];
```

_Live demo on the docs page. Form definition: [datetimecalendar-hourformat.ts](https://golemui.com/template/widgets-dx/datetimecalendar/datetimecalendar-hourformat.ts)._

### Disabled Date and Time Ranges

The date boundaries `minDate`, `maxDate` and `disabledRanges` grey out days. On top of that, `disabledTimeRanges` greys out time slots, and each entry can be scoped to specific days with `date` (an ISO date) or `weekdays` (numbers as returned by `Date.prototype.getDay()`: 0 = Sunday … 6 = Saturday). An unscoped entry applies every day. Because `allowCustomTime` is on here, typing a time inside a disabled range raises an input error whose message you set with `disabledTimeRangeMessage`.


```ts title="datetimecalendar.ts"

export default [
  gui.inputs.dateTimeCalendar('appointmentAt', {
    hint: 'Weekday lunch break disabled; type a time to see the messages',
    allowCustomTime: true,
    minTime: '09:00:00',
    maxTime: '18:00:00',
    minuteStep: 30,
    minDate: '2026-02-01',
    maxDate: '2026-07-31',
    disabledRanges: [
      {
        start: '2026-02-09',
        end: '2026-02-10',
      },
      {
        start: '2026-02-17',
      },
    ],
    disabledTimeRanges: [
      {
        start: '13:00:00',
        end: '14:00:00',
        weekdays: [1, 2, 3, 4, 5],
      },
      {
        start: '09:00:00',
        end: '10:30:00',
        date: '2026-02-13',
      },
    ],
    disabledTimeRangeMessage: 'This time is not available',
    label: 'Appointment',
    defaultValue: '2026-02-16T09:30:00',
  }),
];
```

_Live demo on the docs page. Form definition: [datetimecalendar-bounds.ts](https://golemui.com/template/widgets-dx/datetimecalendar/datetimecalendar-bounds.ts)._

### No Available Times

When `minTime` and `maxTime` generate no slots for the chosen day, the grid shows an empty-state message. Use `noAvailableTimesMessage` to customize (and localize) it (it defaults to `No available times`).


```ts title="datetimecalendar.ts"

export default [
  gui.inputs.dateTimeCalendar('appointmentAt', {
    hint: 'These bounds generate no slots, so the grid shows the empty-state message',
    minTime: '18:00:00',
    maxTime: '09:00:00',
    noAvailableTimesMessage: 'No slots available for this day',
    label: 'Appointment',
  }),
];
```

_Live demo on the docs page. Form definition: [datetimecalendar-notimes.ts](https://golemui.com/template/widgets-dx/datetimecalendar/datetimecalendar-notimes.ts)._

## Styling

Date Time Calendars can be styled as explained in the [Styling Guide](https://golemui.com/dx/styling/overview.md). They also use the styling variables of the day grid and the time slot grid.

### CSS Variables

Following you will find a list with the CSS Variables and a quick description of what you will style.

| CSS Variable                        | Description                                       |
| ----------------------------------- | ------------------------------------------------- |
| `--gui-calendar-day-button-size`    | Day button size, which drives the container width |
| `--gui-calendar-time-grid-height`   | Maximum height of the time slot grid              |
| `--gui-calendar-time-button-height` | Height of each time slot button                   |
| `--gui-space-1`                     | Gap around the time input row and slot grid       |
| `--gui-intent-primary`              | Selected day and selected slot background color   |
| `--gui-intent-primary-hover`        | Slot hover background color                       |
| `--gui-bg-disabled`                 | Disabled day and slot background color            |
| `--gui-text-muted`                  | Text color of the "no available times" message    |

### Anatomy

This is the anatomy of the Date Time Calendar Widget in case you want to use your CSS styles.


```html title="datetimecalendar-anatomy.html"
<gui-date-time-calendar-input class="gui-date-time-calendar gui-field">
  <gui-date-time-calendar class="gui-field">
    <label class="gui-label" for="fieldUid" id="fieldUid_calendar_label">
      <span class="gui-label__text">Label</span>
      <div class="gui-widget-hint" id="fieldUid_hint" aria-hidden="true">Hint</div>
    </label>

    <div class="gui-widget">
      <div
        class="gui-calendar-input"
        role="group"
        id="fieldUid_calendar"
        aria-labelledby="fieldUid_calendar_label"
        aria-describedby="fieldUid_hint"
      >
        <div class="gui-visually-hidden" aria-live="polite">February 2026</div>

        <div class="gui-calendar__container">
          <button
            type="button"
            class="gui-button gui-calendar__month-button gui-calendar__month-button--prev"
            aria-label="Previous month"
          >
            <span class="gui-caret gui-caret--left" aria-hidden="true"></span>
          </button>

          <div class="gui-calendar__months-grid">
            <div class="gui-calendar__panel">
              <header class="gui-calendar__header">
                <h2>
                  <span class="gui-calendar__month-name">February</span>
                  <button
                    type="button"
                    class="gui-calendar__year-selector"
                    aria-expanded="false"
                    aria-label="Select year, 2026"
                  >
                    <span class="gui-calendar__year-value">2026</span>
                    <span class="gui-calendar__year-arrow" aria-hidden="true">
                      <span class="gui-caret" aria-hidden="true"></span>
                    </span>
                  </button>
                </h2>
              </header>

              <div class="gui-calendar__time-input-row">
                <gui-time-picker class="gui-time-picker gui-field">
                  <span class="gui-label" id="fieldUid-time_label">
                    <span class="gui-label__text">Time</span>
                  </span>

                  <div class="gui-widget">
                    <gui-time id="fieldUid-time_time" class="gui-field" readonly="">
                      <div class="gui-widget">
                        <div
                          role="group"
                          id="fieldUid-time"
                          class="gui-widget-input gui-parts gui-parts-ring gui-time-input"
                          aria-labelledby="fieldUid-time_label"
                        >
                          <div
                            dir="ltr"
                            class="gui-parts__time-cluster gui-time-input__time-cluster"
                          >
                            <div class="gui-parts__touch-target gui-time-input__touch-target">
                              <input
                                type="text"
                                inputmode="numeric"
                                role="spinbutton"
                                autocomplete="off"
                                class="gui-parts__part gui-time-input__part"
                                data-type="hour"
                                maxlength="2"
                                placeholder="hh"
                                tabindex="0"
                                aria-label="Hour"
                                aria-valuemin="1"
                                aria-valuemax="12"
                                aria-valuenow="9"
                                readonly=""
                                aria-readonly="true"
                              />
                              <div
                                class="gui-parts__visual-underline gui-time-input__visual-underline"
                              ></div>
                            </div>
                            <span class="gui-time-input__separator">:</span>
                            <div class="gui-parts__touch-target gui-time-input__touch-target">
                              <input
                                type="text"
                                inputmode="numeric"
                                role="spinbutton"
                                autocomplete="off"
                                class="gui-parts__part gui-time-input__part"
                                data-type="minute"
                                maxlength="2"
                                placeholder="mm"
                                tabindex="-1"
                                aria-label="Minute"
                                aria-valuemin="0"
                                aria-valuemax="59"
                                aria-valuenow="30"
                                readonly=""
                                aria-readonly="true"
                              />
                              <div
                                class="gui-parts__visual-underline gui-time-input__visual-underline"
                              ></div>
                            </div>
                          </div>
                          <span class="gui-time-input__separator"></span>
                          <div class="gui-parts__touch-target gui-time-input__touch-target">
                            <button
                              type="button"
                              class="gui-parts__part gui-parts__dayperiod gui-time-input__part gui-time-input__dayperiod"
                              data-type="dayPeriod"
                              tabindex="-1"
                              aria-label="AM/PM"
                            >
                              AM
                            </button>
                            <div
                              class="gui-parts__visual-underline gui-time-input__visual-underline"
                            ></div>
                          </div>
                        </div>
                      </div>
                    </gui-time>
                    <button
                      type="button"
                      class="gui-time-picker__arrow"
                      aria-haspopup="dialog"
                      aria-label="Show time list"
                      aria-expanded="false"
                      aria-controls="fieldUid-time_popup"
                    >
                      <span class="gui-caret" aria-hidden="true"></span>
                    </button>

                    <div class="gui-picker__panel" hidden="">
                      <gui-time-list
                        role="dialog"
                        id="fieldUid-time_popup"
                        aria-labelledby="fieldUid-time_label"
                        hidden=""
                      >
                        <div
                          class="gui-time-list__viewport gui-time-list__viewport--grid"
                          role="grid"
                          aria-label="Time"
                          style="
                            --gui-time-list-height: 300px;
                            --gui-time-list-item-height: 40px;
                            --gui-time-list-columns: 4;
                          "
                        >
                          <div role="row" class="gui-time-list__row">
                            <button
                              type="button"
                              role="gridcell"
                              class="gui-time-list__option"
                              tabindex="-1"
                              data-value="09:00:00"
                              aria-selected="false"
                              aria-disabled="false"
                            >
                              09:00 AM
                            </button>

                            <button
                              type="button"
                              role="gridcell"
                              class="gui-time-list__option gui-time-list__option--selected"
                              tabindex="0"
                              data-value="09:30:00"
                              aria-selected="true"
                              aria-disabled="false"
                            >
                              09:30 AM
                            </button>

                            <button
                              type="button"
                              role="gridcell"
                              class="gui-time-list__option"
                              tabindex="-1"
                              data-value="10:00:00"
                              aria-selected="false"
                              aria-disabled="false"
                            >
                              10:00 AM
                            </button>

                            <button
                              type="button"
                              role="gridcell"
                              class="gui-time-list__option"
                              tabindex="-1"
                              data-value="10:30:00"
                              aria-selected="false"
                              aria-disabled="false"
                            >
                              10:30 AM
                            </button>
                          </div>

                          <div role="row" class="gui-time-list__row">
                            <button
                              type="button"
                              role="gridcell"
                              class="gui-time-list__option"
                              tabindex="-1"
                              data-value="11:00:00"
                              aria-selected="false"
                              aria-disabled="false"
                            >
                              11:00 AM
                            </button>

                            <button
                              type="button"
                              role="gridcell"
                              class="gui-time-list__option"
                              tabindex="-1"
                              data-value="11:30:00"
                              aria-selected="false"
                              aria-disabled="false"
                            >
                              11:30 AM
                            </button>

                            <button
                              type="button"
                              role="gridcell"
                              class="gui-time-list__option"
                              tabindex="-1"
                              data-value="12:00:00"
                              aria-selected="false"
                              aria-disabled="false"
                            >
                              12:00 PM
                            </button>

                            <button
                              type="button"
                              role="gridcell"
                              class="gui-time-list__option"
                              tabindex="-1"
                              data-value="12:30:00"
                              aria-selected="false"
                              aria-disabled="false"
                            >
                              12:30 PM
                            </button>
                          </div>

                          <div role="row" class="gui-time-list__row">
                            <button
                              type="button"
                              role="gridcell"
                              class="gui-time-list__option"
                              tabindex="-1"
                              data-value="13:00:00"
                              aria-selected="false"
                              aria-disabled="false"
                            >
                              01:00 PM
                            </button>

                            <button
                              type="button"
                              role="gridcell"
                              class="gui-time-list__option"
                              tabindex="-1"
                              data-value="13:30:00"
                              aria-selected="false"
                              aria-disabled="false"
                            >
                              01:30 PM
                            </button>

                            <button
                              type="button"
                              role="gridcell"
                              class="gui-time-list__option"
                              tabindex="-1"
                              data-value="14:00:00"
                              aria-selected="false"
                              aria-disabled="false"
                            >
                              02:00 PM
                            </button>

                            <button
                              type="button"
                              role="gridcell"
                              class="gui-time-list__option"
                              tabindex="-1"
                              data-value="14:30:00"
                              aria-selected="false"
                              aria-disabled="false"
                            >
                              02:30 PM
                            </button>
                          </div>

                          <div role="row" class="gui-time-list__row">
                            <button
                              type="button"
                              role="gridcell"
                              class="gui-time-list__option"
                              tabindex="-1"
                              data-value="15:00:00"
                              aria-selected="false"
                              aria-disabled="false"
                            >
                              03:00 PM
                            </button>

                            <button
                              type="button"
                              role="gridcell"
                              class="gui-time-list__option"
                              tabindex="-1"
                              data-value="15:30:00"
                              aria-selected="false"
                              aria-disabled="false"
                            >
                              03:30 PM
                            </button>

                            <button
                              type="button"
                              role="gridcell"
                              class="gui-time-list__option"
                              tabindex="-1"
                              data-value="16:00:00"
                              aria-selected="false"
                              aria-disabled="false"
                            >
                              04:00 PM
                            </button>

                            <button
                              type="button"
                              role="gridcell"
                              class="gui-time-list__option"
                              tabindex="-1"
                              data-value="16:30:00"
                              aria-selected="false"
                              aria-disabled="false"
                            >
                              04:30 PM
                            </button>
                          </div>

                          <div role="row" class="gui-time-list__row">
                            <button
                              type="button"
                              role="gridcell"
                              class="gui-time-list__option"
                              tabindex="-1"
                              data-value="17:00:00"
                              aria-selected="false"
                              aria-disabled="false"
                            >
                              05:00 PM
                            </button>

                            <button
                              type="button"
                              role="gridcell"
                              class="gui-time-list__option"
                              tabindex="-1"
                              data-value="17:30:00"
                              aria-selected="false"
                              aria-disabled="false"
                            >
                              05:30 PM
                            </button>

                            <button
                              type="button"
                              role="gridcell"
                              class="gui-time-list__option"
                              tabindex="-1"
                              data-value="18:00:00"
                              aria-selected="false"
                              aria-disabled="false"
                            >
                              06:00 PM
                            </button>
                          </div>
                        </div>
                      </gui-time-list>
                    </div>
                  </div>
                </gui-time-picker>
              </div>

              <div class="gui-calendar__days-grid" role="grid" aria-label="February 2026">
                <div role="row" class="gui-calendar__rows">
                  <span class="gui-calendar__weekday" role="columnheader">S</span>
                  <span class="gui-calendar__weekday" role="columnheader">M</span>
                  <!-- More columnheader elements (7 in total) -->
                </div>

                <div role="row" class="gui-calendar__rows">
                  <button
                    type="button"
                    role="gridcell"
                    class="gui-calendar__day-button"
                    tabindex="-1"
                    aria-label="Sunday, February 1, 2026"
                    data-date="2026-02-01"
                    aria-selected="false"
                  >
                    1
                  </button>

                  <button
                    type="button"
                    role="gridcell"
                    class="gui-calendar__day-button"
                    tabindex="-1"
                    aria-label="Monday, February 2, 2026"
                    data-date="2026-02-02"
                    aria-selected="false"
                  >
                    2
                  </button>
                  <!-- More gridcell elements (7 in total) -->
                </div>

                <div role="row" class="gui-calendar__rows">
                  <button
                    type="button"
                    role="gridcell"
                    class="gui-calendar__day-button"
                    tabindex="-1"
                    aria-label="Sunday, February 8, 2026"
                    data-date="2026-02-08"
                    aria-selected="false"
                  >
                    8
                  </button>

                  <button
                    type="button"
                    role="gridcell"
                    class="gui-calendar__day-button"
                    tabindex="-1"
                    aria-label="Monday, February 9, 2026"
                    data-date="2026-02-09"
                    aria-selected="false"
                  >
                    9
                  </button>
                  <!-- More gridcell elements (7 in total) -->
                </div>

                <div role="row" class="gui-calendar__rows">
                  <button
                    type="button"
                    role="gridcell"
                    class="gui-calendar__day-button"
                    tabindex="-1"
                    aria-label="Sunday, February 15, 2026"
                    data-date="2026-02-15"
                    aria-selected="false"
                  >
                    15
                  </button>

                  <button
                    type="button"
                    role="gridcell"
                    class="gui-calendar__day-button selected"
                    tabindex="0"
                    aria-label="Monday, February 16, 2026"
                    data-date="2026-02-16"
                    aria-selected="true"
                  >
                    16
                  </button>

                  <button
                    type="button"
                    role="gridcell"
                    class="gui-calendar__day-button"
                    tabindex="-1"
                    aria-label="Tuesday, February 17, 2026"
                    data-date="2026-02-17"
                    aria-selected="false"
                  >
                    17
                  </button>

                  <button
                    type="button"
                    role="gridcell"
                    class="gui-calendar__day-button"
                    tabindex="-1"
                    aria-label="Wednesday, February 18, 2026"
                    data-date="2026-02-18"
                    aria-selected="false"
                  >
                    18
                  </button>

                  <button
                    type="button"
                    role="gridcell"
                    class="gui-calendar__day-button"
                    tabindex="-1"
                    aria-label="Thursday, February 19, 2026"
                    data-date="2026-02-19"
                    aria-selected="false"
                  >
                    19
                  </button>

                  <button
                    type="button"
                    role="gridcell"
                    class="gui-calendar__day-button"
                    tabindex="-1"
                    aria-label="Friday, February 20, 2026"
                    data-date="2026-02-20"
                    aria-selected="false"
                  >
                    20
                  </button>

                  <button
                    type="button"
                    role="gridcell"
                    class="gui-calendar__day-button"
                    tabindex="-1"
                    aria-label="Saturday, February 21, 2026"
                    data-date="2026-02-21"
                    aria-selected="false"
                  >
                    21
                  </button>
                </div>

                <div role="row" class="gui-calendar__rows">
                  <button
                    type="button"
                    role="gridcell"
                    class="gui-calendar__day-button"
                    tabindex="-1"
                    aria-label="Sunday, February 22, 2026"
                    data-date="2026-02-22"
                    aria-selected="false"
                  >
                    22
                  </button>

                  <button
                    type="button"
                    role="gridcell"
                    class="gui-calendar__day-button"
                    tabindex="-1"
                    aria-label="Monday, February 23, 2026"
                    data-date="2026-02-23"
                    aria-selected="false"
                  >
                    23
                  </button>
                  <!-- More gridcell elements (7 in total) -->
                </div>
              </div>
            </div>
          </div>

          <button
            type="button"
            class="gui-button gui-calendar__month-button gui-calendar__month-button--next"
            aria-label="Next month"
          >
            <span class="gui-caret gui-caret--right" aria-hidden="true"></span>
          </button>
        </div>
      </div>
    </div>
  </gui-date-time-calendar>
</gui-date-time-calendar-input>
```
