time-picker Component

Time Picker Class API Reference

Type Class Options Usage Notes
Base time-picker Main container class Always required
time-input Input field class For the input element
dropdown Dropdown container Contains time options
Sizes tiny Smallest size 32px height
small Small size 36px height
default Medium size 40px height - No class needed
large Large size 44px height
big Biggest size 48px height
Formats format-12 12-hour format AM/PM (default)
format-24 24-hour format Military time
duration Duration selector For time spans
Status with-status Enable status indicator Shows status dot
available Available status Green indicator
busy Busy status Red indicator
in-meeting In meeting status Yellow indicator
offline Offline status Gray indicator
States open Dropdown open Shows time list
focused Focus state Ring indicator
disabled Disabled state Non-interactive
error Error state Red border
Features with-timezone Show timezone Displays TZ label
inline Inline display Auto width
compact Compact mode Reduced height

Basic Time Picker

Default Time Picker

With Label

Size Variants

All Sizes

Status Indicators

Available Status

Busy Status

In Meeting Status

Offline Status

Time Formats

12-Hour Format

24-Hour Format

With Timezone

PST

Duration Selector

Duration Dropdown

Time Range

to

States

Normal State

Focused State

Disabled State

Error State

Quick Time Selection

Quick Time Buttons

Morning Noon Afternoon Evening

Advanced Features

Inline Time Picker

Meeting at
today

Compact Mode

Loading State

Enhanced Features

✨ JavaScript Enhancements

  • • Click to open dropdown with time options
  • • Keyboard navigation (arrow keys, enter, escape)
  • • Smart time parsing (accepts various formats)
  • • Scroll to selected time in dropdown
  • • Customizable time intervals (15, 30, 60 minutes)
  • • Min/max time constraints
  • • Auto-format input on blur
  • • Mobile-friendly touch interactions
  • • Timezone conversion support
  • • Quick time presets