Component Anatomy

The ClockPicker consists of several interactive parts. Understanding its structure will help you customize and style it effectively. Below you can see the light and dark versions of the component with each section labeled.

Light ClockPicker Anatomy

Parts of the ClockPicker

#PartDescription
1Input FieldDisplays the currently selected time. Users can type directly or open the picker by clicking.
2Clock/Picker PanelDropdown area where users pick the hour and minute (and optionally seconds).
3Hour SelectorAllows selecting the hour value.
4Minute SelectorAllows selecting the minute value.
5AM/PM Toggle (optional)Toggles between AM and PM when using 12h format.
6Confirm / Done ButtonApplies the chosen time and closes the picker.
7Clear / Reset ButtonResets or clears the current time selection.
8Icons / IndicatorsVisual cues for opening/closing the picker or indicating state.
9Focus Ring / HighlightShows which part of the picker is currently focused for keyboard navigation.

How to Use This Anatomy

Each labeled part corresponds to a customizable part of the component. Use the Props page to see which props configure each section, and see the Styling page to learn how to customize colors, sizes, and spacing.