Draft UI

Date Picker

A date picker combines a DateField and a Calendar popover to allow users to enter or select a date and time value.

Installation

bash
npx @sly-cli/sly add draft-ui date-picker

Examples

Default

This is the default DatePicker example.

Date

Disabled

Use the isDisabled prop to disable the entire DatePicker including the DateInput.

Date