structyl

Date Time Picker

stable

Pick a date first, then choose the time from one popover with MUI-style props.

Basic usage

Select the date, then choose the time.

Examples

With AM/PM and helper text

Enable 12-hour clock and guide the user with helper text.

Pick the date and then the time.

MUI-style date time field

Pick the date first, then choose the time from the staged time picker.

Date and time validation share one Date value.

AM/PM with seconds

Enable AM/PM and seconds while keeping the date-first, time-second flow.

After selecting a date, the time picker shows hours, minutes and seconds.

Features

  • Date-first time picker flow.
  • Min/max date-time validation.
  • AM/PM and seconds support.

Installation

bash
pnpm dlx structyl add date-time-picker

API Reference

Date Time Picker API reference

Full props, types, defaults, and all 12 parts.

View API
Date Time Picker | structyl