This library is still in development and is available only for internal usage at VTEX.
Skip to main content

DatePicker

DatePicker

Version: 0.136.0

DatePicker

Examples​

Default value​

Helper Text​

Min and Max values​

Tone of voice​

Use the tone prop to define the tone of voice, which is either neutral or critical. It is up to you to define what triggers it. Additionally, you can add a criticalText to be displayed whether critical.

Format​

You can set formmating of date based on Intl.DateFormatOptions using the formatOptions property.

I18n​

The date-picker has default translations. Wrap your app with the I18nProvider to configure the locale.

Placeholder​

Each segment placeholder is defined individually. Placeholders don't have default translation.

TODOs​

Features and fixes scheduled for this component:

  • Support typing.
  • Support placeholder localization.
  • Desing: Adjust calendar cels spacing
  • Design: Add hover and focus states
  • Design: Bleeding for internal buttons