EEnterUI
DocsComponentsThemesDonation
Get Started
      • TagsInput
      • FileUpload
      • OTPInput
      • TimeInput
EnterUIDocsInputsEditing and UploadToken and File InputsTimeInput
InputsUpdated 6 May 2026

TimeInput

Keyboard-editable time field with an EnterUI picker.

TimeInput keeps a compact HH:MM field and opens an EnterUI picker for hour and minute selection. Users can type compact values like 930 or explicit values like 09:30; partial values are normalized on blur and hour input is clamped to 23.

#Default usage

Time input

Editable value with a styled time picker.

Code
<TimeInput aria-label="Start time" defaultValue="09:30" />

#Import

Code
import { TimeInput } from "@froggdesign/enter-ui-react";

#States

Time input states

Use min, max, and step for constrained scheduling fields.

#Patterns

Forgiving typing

Compact typing is formatted as a time value, explicit colon input stays editable until blur, and hours above 23 clamp down.

#Accessibility

TimeInput keeps input semantics for the editable field and exposes picker options through listbox roles. Provide a visible Label or aria-label, especially when used in compact toolbars. Arrow up and arrow down adjust the value by the configured step.

#API

  • value, defaultValue, and onValueChange control the time string.
  • min, max, and step remain available for form semantics; step also controls picker minute intervals.
  • invalid maps to aria-invalid.
  • Supports native input props and className.

#Styling

Every exported component accepts className when it renders an element. EnterUI styles use .eui-* classes and --eui-* variables mapped from FroggDesign theme tokens.

PreviousOTPInput
NextDatePicker

On this page

  1. Default usage
  2. Import
  3. States
  4. Patterns
  5. Accessibility
  6. API
  7. Styling