Skip to content
Mizen UI
Docs

IntroductionInstallationCLIStylingFoundationsThemingCompositionIntegrationsAccessibilityFor agents

useCopyToClipboard

AccordionAspect RatioCardCollapsibleFrameGridGroupInlineScroll AreaSectionSeparatorSpacerStack

BlockquoteCitationCodeHeadingKbdLabelLinkTextVisually Hidden

ButtonButton GroupToggleToggle groupToolbar

CalendarCheckboxCheckbox groupComboboxDate pickerDate range pickerDate-Time InputFieldFieldsetFile UploadFormInputInput groupNumber fieldOTP FieldRadio groupSelectSliderSwitchTextareaTime Input

BreadcrumbMenubarNavigation MenuPaginationSegmented ControlStepperTabs

Alert dialogCommandContext MenuDialogDrawerMenuPopoverPreview CardSheetTooltip

AlertBadgeEmptyError StateMeterProgressSkeletonSpinnerStatus dotToast

Activity FeedAvatarAvatar GroupData TableListMetricOverflow ListProperty ListTableTokenTree

Area ChartBar ListCalendar HeatmapCategory ComparisonChart FrameChart LegendChart TooltipDistributionFunnelHeatmapMetric TrendPart-to-WholeProgress RingsRadar ChartRadial BarsSankey ChartScatter ChartScore GaugeTime Series

Diagram

AttachmentCarouselCode BlockLightboxMarkdownThumbnailTimestamp

Agent ThinkingApproval CardComposerConversationInline CitationMessageMessage ScrollerQuestion CardSourcesStreaming TextSuggestionTask ListTerminalTool Call

On this page

  • Preview
  • Usage
  • Examples
  • Release schedule
  • Control states
  • Recommendations
  • Usage boundaries
  • API reference

Forms

Date-Time Input

A native local date and time input without implicit timezone conversion.

idle

Usage

import { DateTimeInput } from "@mizen-labs/ui";

Examples

Release schedule

Local time for the Product team workspace.

Control states

Recommendations

GuidancePractice
Do

Show the intended timezone beside local date and time entry. Preserve the user's entered value on validation failure.

Usage boundaries

GuidanceBoundary
Scope

The control does not perform timezone conversion. The application resolves ambiguous or nonexistent local times.

API reference

Public props from @mizen-labs/ui. Use exported prop types for the complete TypeScript contract.

PropTypeDefaultDescription
value / defaultValuestringundefinedLocal value in YYYY-MM-DDTHH:mm[:ss] format. Empty string clears the control; no implicit time zone.
min / maxstringundefinedNative lower and upper bounds in the same format as value.
stepnumber | string60Native step in seconds. Use 1 for second precision or 900 for 15-minute intervals.
size"default" | "sm" | "lg""default"Uses the existing Input metrics and appearance.
onValueChangeInputProps["onValueChange"]undefinedReceives the local string value and cancellable Base UI change details.
name / required / disabled / readOnly / refNative input propsundefinedNative form and Field behavior. Controlled values remain owned by the caller.
PreviousDate range pickerNextField

Uses your local time zone.

Northstar launch · Product team

Managed by your workspace.