Menu
Esc
DocsGitHub TR

Components

Time Picker

Picks a time from hour, minute and second columns that scroll.

Open in Figma

Playground

00
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
00
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
00
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59

Chosen: 09:30:00

Figma variant

Time Picker

.timepicker item
Property 1=Default | hover | selected | disable

Items

Default items are high emphasis; hover is surface/level-3; the chosen item is secondary with its on-color; items that cannot be chosen are low emphasis.

ItemBackgroundText
Default—--color-foreground-high-emphasis
hover--color-surface-level-3--color-foreground-high-emphasis
selected--color-secondary--color-on-secondary
disable—--color-foreground-low-emphasis

Tokens

PartToken
Panel--color-surface-level-1, --radius-layout-base, --shadow-form-level-1
Column line--border-width --color-surface-level-3
Item padding--space-micro --space-tiny

Notes from Figma

  • The items use the legacy “Paragraph Small / Regular” style (12/16); code uses ui/text small/regular with tabular numbers.
  • The item radius is a raw 4px; code uses half of --radius-form-element-small.
  • The scroll bar is a Custom Scroll component; code styles the native scroll bar with surface/level-3 and level-4.
  • The panel pads 12px on the right only and 0 on the left; code keeps this.

Figma to code

FigmaReact
Time Picker<TimePicker />
.timepicker item Property 1 = selectedvalue
.timepicker item Property 1 = disableisDisabled
hours / minutes / seconds columnsshowSeconds