Skip to content
Hazine

Date and Time

1 of 28 shipped. Calendars and time controls, keyboard navigable as grids, with typed input as an equal path.

01 / Calendars

0 of 5 shipped

Planned 5

  • Single month calendar
  • Week strip calendar
  • Calendar with week numbers
  • Calendar with day markers
  • Calendar with month and year jump

02 / Date pickers

0 of 5 shipped

Planned 5

  • Date picker with typed field
  • Segmented date field
  • Wheel date picker in a drawer
  • Date picker with disabled date reasons
  • Natural language date input

03 / Date range pickers

1 of 5 shipped
  • date range pickers

    Start and end date inputs joined in one frame that share a two month popover calendar. Use for report periods, leave requests and campaign dates where typing is as common as picking.

    How it differs. Two typed fields over one calendar: the focused field decides which end a click sets, a dashed band previews it, a pick on the wrong side swaps the ends, and one message reports cross field errors.

    shadcn add @hazine/date-range-two-fields

    Depends on calendar, popover, @hazine/use-controllable-state, lucide-react

Planned 4

  • Date range picker with preset rail
  • Date range picker with comparison period
  • Stay date range picker with night limits
  • Period stepper

Planned 5

  • Segmented time field
  • Time list combobox
  • Start and end time range
  • Duration input with units
  • Timezone select with offset

05 / Time slot pickers

0 of 4 shipped

Planned 4

  • Day column time slots
  • Week matrix time slots
  • Time slots grouped by part of day
  • Time slots with unavailable reasons

Planned 4

  • Relative timestamp with absolute tooltip
  • Segmented countdown timer
  • Deadline meter
  • Uptime clock