---
components: ["TimePicker", "TimePickerSelect", "SelectItem"]
---
`TimePicker` provides a time input field with optional period (AM/PM) and timezone selectors. It supports various sizes, states, and themes to match your application's design system.
## Default
## Light variant
Use the light variant for light-themed backgrounds by setting `light` to `true`.
## Extra-large size
Use the extra-large size for more prominent time pickers by setting `size` to `"xl"`.
## Small size
Use the small size for more compact time pickers by setting `size` to `"sm"`.
## Invalid state
Indicate an invalid state with an error message by setting `invalid` to `true` and providing `invalidText`.
## Disabled state
Disable the time picker to prevent user interaction by setting `disabled` to `true`.