Pickers & inputs JS behaviour

Time picker

Hour and minute drums that snap as they scroll; 12- or 24-hour, full keyboard and the locale’s digits.

Real scenarios

The component as it is used in a product — not a specimen grid.

Schedule delivery

Kabab Bonab · arrives within 15 minutes of the slot

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 00
  • 05
  • 10
  • 15
  • 20
  • 25
  • 30
  • 35
  • 40
  • 45
  • 50
  • 55
  • AM
  • PM

19:30

Medication reminder

A 12-hour face with quarter-hour stops; the value is still 24-hour “HH:MM”.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 00
  • 15
  • 30
  • 45
  • AM
  • PM

08:15

Important props

Important props
Prop Type Default What it does
value / wire:model string null "HH:MM" in 24 hours, whatever the face shows.
hour-cycle int locale 12 or 24; defaults to 12 for English, 24 elsewhere.
minute-step int 1 Minutes between stops on the wheel (5, 15…).

Snippet

<x-nx::time-picker name="pickup" label="Pickup" value="18:30" :minute-step="5"
    wire:model.live="pickup" />