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