Skip to content

Time Picker ​

Desktop (Digital Clock Popover)

Loading...

Mobile (Analog Clock Dialog)

Loading...

Analog Clock (Standalone)

Loading...

Digital Clock

Loading...

Multi-Section Digital Clock

Loading...

Static Time Picker

Loading...

<flint-time-field> ​

Time Field: a segmented time input with keyboard navigation.

  • Tag: <flint-time-field>
  • Class: FlintTimeField

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintTimeField } from '@getufy/flint-ui';

Usage ​

html
<flint-time-field></flint-time-field>

Properties ​

PropertyAttributeTypeDefaultDescription
valuevaluestring''Time value in HH:MM:SS format.
labellabelstring''Field label text.
ampmampmbooleantrueWhether to use 12-hour (AM/PM) format instead of 24-hour.
secondssecondsbooleanfalseWhether to show a seconds segment.
disableddisabledbooleanfalseDisables the field and prevents interaction.
readonlyreadonlybooleanfalseMakes the field read-only (visible but not editable).
errorerrorbooleanfalseDisplays the field in an error state.
helperTexthelper-textstring''Helper text shown below the field.
errorMessageerror-messagestring''Error message displayed below the field when in error state.

Events ​

EventDetailDescription
flint-time-field-change&#123; value: string &#125;Fired when the time value changes. detail: &#123; value: string &#125;
flint-time-picker-clear—Fired when the clear button is clicked.

CSS Parts ​

NameDescription
baseThe component's base wrapper element.

CSS Custom Properties ​

PropertyDefault
--flint-time-field-height44px
--flint-time-field-min-width160px
--flint-font-family—
--flint-text-color—
--flint-hover-color—
--flint-primary-color—
--flint-text-color-on-primary—
--flint-border-radius-xl—
--flint-msdc-height240px
--flint-surface-1—
--flint-border-color—
--flint-text-color-muted—
--flint-error-color—
--flint-input-bg—
--flint-border-radius-md—
--flint-primary-focus-ring—
--flint-input-disabled-bg—

Methods ​

MethodDescription
clear(): void

<flint-digital-clock> ​

Digital Clock: a scrollable time-slot picker.

  • Tag: <flint-digital-clock>
  • Class: FlintDigitalClock

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintDigitalClock } from '@getufy/flint-ui';

Usage ​

html
<flint-digital-clock></flint-digital-clock>

Properties ​

PropertyAttributeTypeDefaultDescription
valuevaluestring''Time value in HH:MM:SS format.
stepstepnumber30Step interval in minutes between selectable times.
ampmampmbooleantrueWhether to use 12-hour (AM/PM) format instead of 24-hour.

Events ​

EventDetailDescription
flint-digital-clock-change&#123; value: string &#125;Fired when a time slot is selected. detail: &#123; value: string &#125;

CSS Custom Properties ​

PropertyDefault
--flint-digital-clock-height300px

<flint-multi-section-digital-clock> ​

Multi Section Digital Clock: hours, minutes, and optional seconds columns.

  • Tag: <flint-multi-section-digital-clock>
  • Class: FlintMultiSectionDigitalClock

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintMultiSectionDigitalClock } from '@getufy/flint-ui';

Usage ​

html
<flint-multi-section-digital-clock></flint-multi-section-digital-clock>

Properties ​

PropertyAttributeTypeDefaultDescription
valuevaluestring''Time value in HH:MM:SS format.
ampmampmbooleantrueWhether to use 12-hour (AM/PM) format instead of 24-hour.
secondssecondsbooleanfalseWhether to show a seconds column.

Events ​

EventDetailDescription
flint-multi-section-digital-clock-change&#123; value: string &#125;Fired when the time value changes. detail: &#123; value: string &#125;

<flint-time-clock> ​

Time Clock: an analog clock face for selecting hours, minutes, and seconds.

  • Tag: <flint-time-clock>
  • Class: FlintTimeClock

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintTimeClock } from '@getufy/flint-ui';

Usage ​

html
<flint-time-clock></flint-time-clock>

Properties ​

PropertyAttributeTypeDefaultDescription
valuevaluestring''Time value in HH:MM:SS format.
ampmampmbooleantrueWhether to use 12-hour (AM/PM) format instead of 24-hour.
secondssecondsbooleanfalseWhether to show a seconds face on the clock.
viewviewTimeView'hours'Currently active clock face view.

Events ​

EventDetailDescription
flint-time-clock-change&#123; value: string &#125;Fired when the time value changes. detail: &#123; value: string &#125;
flint-time-clock-view-change—Fired when the clock face view switches.

CSS Custom Properties ​

PropertyDefault
--flint-time-clock-face-bgvar(--flint-surface-variant
--flint-time-clock-inner-bg—
--flint-time-clock-inner-bordervar(--flint-border-color
--flint-time-clock-hand-colorvar(--flint-primary-color
--flint-time-clock-num-size14px
--flint-time-clock-inner-num-size12px
--flint-time-clock-ampm-radius20px

<flint-desktop-time-picker> ​

Desktop Time Picker: a time field with a dropdown clock.

  • Tag: <flint-desktop-time-picker>
  • Class: FlintDesktopTimePicker

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintDesktopTimePicker } from '@getufy/flint-ui';

Usage ​

html
<flint-desktop-time-picker></flint-desktop-time-picker>

Properties ​

PropertyAttributeTypeDefaultDescription
valuevaluestring''Time value in HH:MM:SS format.
labellabelstring'Time'Field label text.
ampmampmbooleantrueWhether to use 12-hour (AM/PM) format instead of 24-hour.
secondssecondsbooleanfalseWhether to show a seconds segment.
disableddisabledbooleanfalseDisables the picker and prevents interaction.
readonlyreadonlybooleanfalseMakes the field read-only (visible but not editable).
errorerrorbooleanfalseDisplays the field in an error state.
helperTexthelper-textstring''Helper text shown below the field.
errorMessageerror-messagestring''Error message displayed below the field when in error state.

Events ​

EventDetailDescription
flint-desktop-time-picker-change&#123; value: string &#125;Fired when the time value changes. detail: &#123; value: string &#125;

<flint-mobile-time-picker> ​

Mobile Time Picker: a time field with a modal clock dialog.

  • Tag: <flint-mobile-time-picker>
  • Class: FlintMobileTimePicker

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintMobileTimePicker } from '@getufy/flint-ui';

Usage ​

html
<flint-mobile-time-picker></flint-mobile-time-picker>

Properties ​

PropertyAttributeTypeDefaultDescription
valuevaluestring''Time value in HH:MM:SS format.
labellabelstring'Time'Field label text.
ampmampmbooleantrueWhether to use 12-hour (AM/PM) format instead of 24-hour.
secondssecondsbooleanfalseWhether to show a seconds segment.
disableddisabledbooleanfalseDisables the picker and prevents interaction.
errorerrorbooleanfalseDisplays the picker in an error state.
helperTexthelper-textstring''Helper text shown below the field.
errorMessageerror-messagestring''Error message displayed below the field when in error state.

Events ​

EventDetailDescription
flint-mobile-time-picker-change&#123; value: string &#125;Fired when the time value changes. detail: &#123; value: string &#125;

<flint-static-time-picker> ​

Static Time Picker: an always-visible inline clock.

  • Tag: <flint-static-time-picker>
  • Class: FlintStaticTimePicker

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintStaticTimePicker } from '@getufy/flint-ui';

Usage ​

html
<flint-static-time-picker></flint-static-time-picker>

Properties ​

PropertyAttributeTypeDefaultDescription
valuevaluestring''Time value in HH:MM:SS format.
ampmampmbooleantrueWhether to use 12-hour (AM/PM) format instead of 24-hour.
secondssecondsbooleanfalseWhether to show a seconds section.

Events ​

EventDetailDescription
flint-static-time-picker-change&#123; value: string &#125;Fired when the time value changes. detail: &#123; value: string &#125;

<flint-time-picker> ​

Time Picker: a configurable time input supporting desktop, mobile, and static variants.

  • Tag: <flint-time-picker>
  • Class: FlintTimePicker

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintTimePicker } from '@getufy/flint-ui';

Usage ​

html
<flint-time-picker></flint-time-picker>

Properties ​

PropertyAttributeTypeDefaultDescription
valuevaluestring''Time value in HH:MM:SS format.
labellabelstring'Time'Field label text.
variantvariant'desktop' | 'mobile' | 'static' | 'auto''desktop'Picker variant controlling the UI style.
ampmampmbooleantrueWhether to use 12-hour (AM/PM) format instead of 24-hour.
secondssecondsbooleanfalseWhether to show a seconds segment.
disableddisabledbooleanfalseDisables the picker and prevents interaction.
errorerrorbooleanfalseDisplays the picker in an error state.
helperTexthelper-textstring''Helper text shown below the field.
errorMessageerror-messagestring''Error message displayed below the field when in error state.
namenamestring''Form field name used when submitting form data.
requiredrequiredbooleanfalseMarks the time picker as required for form validation.
defaultValuedefault-valuestring''Initial value for uncontrolled usage (HH:MM:SS format).

Events ​

EventDetailDescription
flint-time-picker-change&#123; value: string &#125;Fired when the time value changes. detail: &#123; value: string &#125;