TimePicker

Molecule

Native time input with the standard label/hint/error markup, reached via `include('modules/ui/DateRangePicker', { kind: 'time', ... })`. Lives inline in the DateRangePicker shim rather than its own file, but is functionally independent — this entry makes it discoverable on its own.

Default

Preview

Business hours are 9am–6pm.

Code
<%- include('modules/ui/DateRangePicker', {
  kind: 'time',
  label: 'Appointment time',
  hint: 'Business hours are 9am–6pm.',
  value: '14:30',
}) %>

Required + error

Preview
Code
<%- include('modules/ui/DateRangePicker', {
  kind: 'time',
  label: 'Pickup time',
  required: true,
  error: 'Please choose a pickup time.',
}) %>
Source modules/ui/DateRangePicker.ejs