Skip to content

Time Picker

Forms

A compact time input with separate hours and minutes fields, keyboard increment/decrement, and optional 12-hour AM/PM mode.

atlas-time-picker

Examples

24-hour and 12-hour

The value is a TimeValue ( { hours, minutes } ); use12Hour adds an AM/PM toggle.

:
:

14:30

Minute step

minuteStep limits the minutes to a grid (here every 15 minutes), for meeting slots and bookings. The value stays { hours, minutes } in 24-hour time, also with use12Hour .

:

Value: 14:30

In a form field

Inside atlas-form-field the label names the time picker and the hint describes it; no ids to write.

:

Your local time.

API

Generated from the library source, so it always matches the code.

AtlasTimePickerComponent atlas-time-picker

InputTypeDefaultDescription
value two-wayTimeValue— Current time value (two-way bindable) — always in 24h format internally
use12Hour booleanfalse Use 12-hour format with AM/PM toggle
minuteStep number1 Minute step (e.g. 5 for 5-minute increments)
disabled booleanfalse Whether the picker is disabled
errors readonly ValidationError.WithOptionalFieldTree[][] Validation errors of the bound field. Set by Signal Forms [field] .
required booleanfalse Whether a value is required. Set by Signal Forms [field] .
invalid booleanfalse Whether the field is invalid. Set by Signal Forms [field] .
touched booleanfalse Whether the user has interacted with the field. Set by Signal Forms [field] .
readonly booleanfalse Whether the field is read-only. Set by Signal Forms [field] .
pending booleanfalse Whether async validation is running. Set by Signal Forms [field] .
name string'' Name of the field. Set by Signal Forms [field] .
ariaLabel string | nullnull Accessible name when no visible label names the control (use one or the other, WCAG 2.5.3).
inputId string | undefinedundefinedid of the focusable element, so a visible <label atlasLabel for="…"> names it. Inside atlas-form-field the field supplies one.
ariaDescribedBy string | nullnull Extra ids for aria-describedby , merged with the surrounding form field's hint or error.
class string'' Extra CSS classes, merged with the component's own through cn() ; yours win on conflicts.
OutputPayloadDescription
touchvoid Emits when the control loses focus, so Signal Forms marks the field touched.

Types

TimeValue

PropertyTypeDescription
hours number —
minutes number —