DateInput

Documentation and examples for the DateInput component. Includes support for range selection and intuitive calendar interactions.

When To Use

  • By clicking the input box, you can select a date from a popup calendar.

Basic

Basic use case. Users can select or input a date in panel.

Range Picker

Set range picker type by range prop.

Disabled

A disabled state of the DatePicker.

Status

Add status to DatePicker with error, which could be error or warning.

Please select a valid date

Customized

Customized rendering and formatting.

Properties

Property
Description
Type
Default

range

Enables date range selection mode. boolean false

locale

The locale used for calendar rendering and date formatting. string ''

icon

The icon to display inside the input. IconName 'Calendar'

label

Label text shown above the input. string ''

error

Indicates an error state or displays an error message string | boolean

success

Indicates a success state or displays a success message string | boolean

disabled

Disables the component boolean false