Overview
Go Headless

Changelog

Wix Design System (WDS)
Introduction
About Wix Design System
Get started developing
Get started designing
Theming
Wix Design System AI

Guidelines
Themes
Interaction & Behavior
Guidelines
Localization

Patterns
Patterns Overview
Table Pattern
Grid Switch Pattern
Grid Pattern

Foundations
Tokens and Theming basics
Icon Theming

Contributing
AI-Assisted Development
Component Structure
Contributing to Wix Design System
Creating a New Component
Creating a Pull Request
Deprecating a Component
Documenting
Fixing a Bug
Test Drivers
Contributing Tokens
Token Migration Guidelines
Updating Props
Writing Tests

Components
Actions
Animations
Charts
Feedback
Form
AddressInput Component
AddressInputItem Component
AngleInput Component
AtlasAddressInput Component
AutoComplete Component
AutoCompleteWithLabel Component
Calendar
Calendar Component
CalendarPanel Component
CalendarPanelFooter Component
Checkbox Component
CheckToggle Component
ColorInput Component
ColorPicker Component
CornerRadiusInput Component
DatePicker Component
Dropdown Component
DropdownBase Component
Dropzone Component
FacesRatingBar Component
FieldSet Component
FilePicker Component
FileUpload Component
FillPreview Component
FormField Component
InfoIcon Component
Input Component
InputArea Component
InputShell Component
InputWithLabel Component
ListItemAction Component
ListItemEditable Component
ListItemSection Component
ListItemSelect Component
ListItemSelectIcon Component
MultiSelect Component
MultiSelectCheckbox Component
NumberInput Component
Palette Component
Radio Component
RadioGroup Component
Range Component
RichTextInputArea Component
Search Component
SegmentedToggle Component
Slider Component
StarsRatingBar Component
StatusIndicator Component
Swatches
Tag Component
Thumbnail Component
TimeInput Component
ToggleSwitch Component
VariableInput Component
Layout
Lists
Mechanisms
Media
Navigation
Overlays
Panels
Typography
In This Article

  1. Overview
  2. Code
  3. Testkit
  4. Changelog

CalendarPanelFooter

Components/Form/Calendar/CalendarPanelFooter

Interactive docs page: https://wix-pages.com/design-system-documentation/#/component/calendarpanelfooter

Overview

Copy

Calendar panel footer is an internal component that is designed to layout submit actions for a date selector. It is used as a part of the <CalendarPanel/> component.

Do

  • Use it as a fundamental part of <CalendarPanel/> to display submit actions and selected date

Don't

  • Don't use it as a standalone component. Use it inside of <CalendarPanel/> only.

Feature examples

Actions

Define labels for main actions with `primaryActionLabel` and `secondaryActionLabel` props. Both submit and discard actions are mandatory and cannot be removed.

Copy

Disabled Action

Disable primary action interactions with `primaryActionDisabled` prop. Use it to restrict users from submitting invalid selections.

Copy

Selected Days

Display a selected date or a date range using `selectedDays` prop. Use it to inform users about active selection before submission.

Copy

Common use case examples

Calendar Panel

Use calendar panel footer as a fundamental part of <CalendarPanel/> that requires user confirmation in order to submit and save a selection.

Copy

Code

Copy

Props

NameTypeDefaultDescription
dataHookstring—Applies a data-hook HTML attribute that can be used in the tests.
dateToString(date: Date) => stringdate => new Date(date).toLocaleDateString()Formats date into a string for displaying the current selected days. Receives a Date instance.
primaryActionDisabledboolean—Specifies whether primary action is disabled.
primaryActionLabel (required)string—Defines primary (submit) action label.
primaryActionOnClickMouseEventHandler—Defines a callback function which is called every time primary button is clicked.
secondaryActionLabel (required)string—Defines secondary (cancel) action label.
secondaryActionOnClickMouseEventHandler—Defines a callback function which is called every time secondary button is clicked.
selectedDaysstring | Date | DateRangeType—Defines an active date or a date range selection.

Testkit

Import the driver matching your test environment:

Copy

Driver methods

MethodDescription
isPrimaryButtonDisabled—
getSelectedDaysText—
getPrimaryActionButtonLabel—
getSecondaryActionButtonLabel—
clickOnPrimaryButton—
clickOnSecondaryButton—
existsChecks whether the component found with the given data hook.
elementGets the component root element.
clickClicks on the component root element.
baseReturns UniDriver for the base element.

Changelog

  • 1.344.0 (2026-10-28) — maintenance release, no component-specific changes
  • 1.339.0 (2026-10-19) — maintenance release, no component-specific changes
  • 1.338.0 (2026-10-15) — maintenance release, no component-specific changes
  • 1.330.0 (2026-09-28) — maintenance release, no component-specific changes
  • 1.325.0 (2026-09-17) — maintenance release, no component-specific changes
  • 1.324.0 (2026-09-14) — maintenance release, no component-specific changes
  • 1.310.0 (2026-08-10) — maintenance release, no component-specific changes
  • 1.298.0 (2026-07-14) — maintenance release, no component-specific changes
  • 1.292.0 (2026-06-22) — maintenance release, no component-specific changes
  • 1.291.0 (2026-06-19) — maintenance release, no component-specific changes
  • 1.289.0 (2026-06-17) — maintenance release, no component-specific changes
  • 1.272.0 (2026-04-27) — maintenance release, no component-specific changes
  • 1.271.0 (2026-04-22) — maintenance release, no component-specific changes
  • 1.265.0 (2026-04-02) — maintenance release, no component-specific changes
  • 1.260.0 (2026-03-17) — maintenance release, no component-specific changes
  • 1.92.1 (2024-02-05) — maintenance release, no component-specific changes

Last updated: 30 October 2026

Did this help?