TimePickerGroup and TimePickerContent render their default parts when they have no children.
start-time.tsx
TimePicker
| Prop | Type | Default | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| validate | — | A function that returns an error message if a given value is invalid. Validation errors are displayed to the user when the form is submitted if validationBehavior="native". For realtime validation, use the isInvalid prop instead. | ||||||||||||||||
| value | T | null | — | The current value (controlled). | |||||||||||||||
| default | T | null | — | The default value (uncontrolled). | |||||||||||||||
| aria-label | string | — | Defines a string value that labels the current element. | |||||||||||||||
| aria-labelledby | string | — | Identifies the element (or elements) that labels the current element. | |||||||||||||||
| aria-describedby | string | — | Identifies the element (or elements) that describes the object. | |||||||||||||||
| aria-details | string | — | Identifies the element (or elements) that provide a detailed, extended description for the object. | |||||||||||||||
| id | string | — | The element's unique identifier. See MDN. | |||||||||||||||
| name | string | — | The name of the input element, used when submitting an HTML form. See MDN. | |||||||||||||||
| form | string | — | The <form> element to associate the input with. The value of this attribute must be the id of a <form> in the same document. See MDN. | |||||||||||||||
| dir | string | — | ||||||||||||||||
| lang | string | — | ||||||||||||||||
| inert | boolean | — | ||||||||||||||||
| translate | "no""yes" | — | ||||||||||||||||
| suppress | boolean | — | A React-only flag that suppresses the warning React normally logs when an element's server-rendered content doesn't match the client render during hydration. See React docs. | |||||||||||||||
| on | MouseEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | MouseEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | MouseEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | MouseEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | MouseEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | MouseEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | MouseEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | MouseEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | MouseEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | MouseEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | MouseEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | MouseEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | MouseEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | MouseEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | MouseEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | MouseEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | MouseEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | MouseEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | MouseEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | MouseEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | TouchEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | TouchEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | TouchEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | TouchEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | TouchEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | TouchEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | TouchEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | TouchEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | PointerEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | PointerEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | PointerEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | PointerEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | PointerEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | PointerEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | PointerEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | PointerEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | PointerEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | PointerEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | PointerEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | PointerEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | PointerEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | PointerEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | PointerEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | PointerEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | PointerEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | PointerEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | UIEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | UIEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | WheelEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | WheelEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | AnimationEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | AnimationEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | AnimationEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | AnimationEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | AnimationEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | AnimationEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | TransitionEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | TransitionEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | TransitionEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | TransitionEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | TransitionEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | TransitionEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | TransitionEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | TransitionEventHandler<HTMLDivElement> | — | ||||||||||||||||
| on | — | Handler that is called when a key is pressed. | ||||||||||||||||
| on | — | Handler that is called when a key is released. | ||||||||||||||||
| on | — | Handler that is called when the element receives focus. | ||||||||||||||||
| on | — | Handler that is called when the element loses focus. | ||||||||||||||||
| on | — | Handler that is called when the element's focus status changes. | ||||||||||||||||
| auto | boolean | — | Whether the element should receive focus on render. | |||||||||||||||
| style | StyleOrFunction<DateFieldRenderProps> | — | The inline style for the element. A function may be provided to compute the style based on component state. | |||||||||||||||
| children | ChildrenOrFunction<DateFieldRenderProps> | — | The children of the component. A function may be provided to alter the children based on component state. | |||||||||||||||
| slot | string | null | — | A slot name for the component. Slots allow the component to receive props from a parent component. An explicit null value indicates that the local props completely override all props received from a parent. | |||||||||||||||
| validation | "aria""native" | 'native' | Whether to use native HTML form validation to prevent form submission when the value is missing or invalid, or mark the field as required or invalid via ARIA. | |||||||||||||||
| render | — | Overrides the default DOM element with a custom render function. This allows rendering existing components with built-in styles and behaviors such as router links, animation libraries, and pre-styled components. Requirements: - You must render the expected element type (e.g. if <button> is expected, you cannot render an <a>). - Only a single root DOM element can be rendered (no fragments). - You must pass through props and ref to the underlying DOM element, merging with your own prop as appropriate. | ||||||||||||||||
| hour | 1224 | — | Whether to display the time in 12 or 24 hour format. By default, this is determined by the user's locale. | |||||||||||||||
| granularity | "hour""minute""second" | 'minute' | Determines the smallest unit that is displayed in the time picker. | |||||||||||||||
| hide | boolean | — | Whether to hide the time zone abbreviation. | |||||||||||||||
| should | boolean | — | Whether to always show leading zeros in the hour field. By default, this is determined by the user's locale. | |||||||||||||||
| placeholder | T | — | A placeholder time that influences the format of the placeholder shown when no value is selected. Defaults to 12:00 AM or 00:00 depending on the hour cycle. | |||||||||||||||
| min | TimeValue | null | — | The minimum allowed time that a user may select. | |||||||||||||||
| max | TimeValue | null | — | The maximum allowed time that a user may select. | |||||||||||||||
| disabled | boolean | — | Turns off the control: no focus, no edits, and the disabled look. | |||||||||||||||
| read | boolean | — | The user can focus and read the value, but cannot change it. | |||||||||||||||
| invalid | boolean | — | Shows the invalid look and sets aria-invalid. | |||||||||||||||
| required | boolean | — | The form needs a value before it submits. | |||||||||||||||
| on | — | Runs on each change, with the new value and the Base UI change details. | ||||||||||||||||
| class | string | — | ||||||||||||||||
| minute | number | 1 | The minutes the minute column shows: 5 gives 00, 05, 10 … 55, 15 gives 00, 15, 30, 45. A whole number from 1 to 60 (any other value throws). It only filters the column: typing still takes any minute. Add validate to reject one. | |||||||||||||||
| hour | number | 1 | The hours the hour column shows: 2 gives 12, 2, 4 … 10 (or 00, 02 … 22). A whole number from 1 to 24 (any other value throws). | |||||||||||||||
From Base UIPopover.RootBase UI docs | ||||||||||||||||||
| default | boolean | false | Whether the popover is initially open. To render a controlled popover, use the open prop instead. | |||||||||||||||
| open | boolean | — | Whether the popover is currently open. | |||||||||||||||
| on | — | Event handler called when the popover is opened or closed. | ||||||||||||||||
| ||||||||||||||||||
TimePickerLabel
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| render | DOMRenderFunction<"label", undefined> | — | Overrides the default DOM element with a custom render function. This allows rendering existing components with built-in styles and behaviors such as router links, animation libraries, and pre-styled components. Requirements: - You must render the expected element type (e.g. if <button> is expected, you cannot render an <a>). - Only a single root DOM element can be rendered (no fragments). - You must pass through props and ref to the underlying DOM element, merging with your own prop as appropriate. |
| element | string | — | |
| class | string | — | |
| ...props | <div> attributes | — | Every other attribute goes to the <div>. |
TimePickerGroup
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| class | string | — | |
| rounded | "default""full" | — | |
| variant | "dashed""default" | — | |
| size | "default""lg""sm" | — | |
| read | boolean | — | Read-only: the muted frame with no hover. Inside a DateField or TimeField the group reads it from the field; set it in a picker, which has no field state above the group. |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
TimePickerTrigger
<button>| Prop | Type | Default | Description | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ref | — | Allows getting a ref to the component instance. Once the component unmounts, React will set ref.current to null (or call the ref with null if you passed a callback ref). | |||||||||||||||||||||||||||||||
| class | string | — | |||||||||||||||||||||||||||||||
From Base UIPopover.TriggerBase UI docs | |||||||||||||||||||||||||||||||||
| id | string | — | ID of the trigger. In addition to being forwarded to the rendered element, it is also used to specify the active trigger for the popover in controlled mode (with the PopoverRoot triggerId prop). | ||||||||||||||||||||||||||||||
| handle | PopoverHandle<unknown> | — | A handle to associate the trigger with a popover. | ||||||||||||||||||||||||||||||
| payload | unknown | — | A payload to pass to the popover when it is opened. | ||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
| ...props | <button> attributes | — | Every other attribute goes to the <button>. | ||||||||||||||||||||||||||||||
TimePickerContent
<div>| Prop | Type | Default | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| class | string | — | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| arrow | boolean | — | Show an arrow that points at the trigger. The gap grows from 4px to 8px. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| backdrop | boolean | — | Put a clear layer under the popup (Base UI Popover.Backdrop), for example to dim it. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| show | boolean | — | Show a close button (a 24px ghost icon button) 10px from the top and the end. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| padding | "default""none""tight" | — | default: radius 14, 12px padding and 10px between the parts, 288px wide. tight: 4px padding and 4px between the parts, as wide as the content: a row of 28px actions (a plain Toolbar) with the 4px inset of the bar recipe, 38px high (the selection pill of the Quote Reply). none: no padding and no gap, as wide as the content: a panel that lays out its own parts edge to edge (a head with a rule, a scroll box, a docked composer: the Chat Popup). Give it a width and a height with layout classes; the body fills that height. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| portal | — | Other Base UI props of the inner parts. A className here adds to the component classes. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| positioner | — | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| backdrop | PopupPartProps<PopoverBackdropProps> | — | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| arrow | PopupPartProps<PopoverArrowProps> | — | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| close | — | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| close | string | — | The accessible name of the close button. Translate it with the page. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
From Base UIPopover.PopupBase UI docs | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| initial | — | Determines the element to focus when the popover is opened. By default, focus moves to the first tabbable element inside the popup, except when the popover is opened by touch — then the popup itself is focused to avoid opening the virtual keyboard. - false: Do not move focus. - true: Move focus based on the default behavior (first tabbable element or popup). - RefObject: Move focus to the ref element. - function: Called with the interaction type (mouse, touch, pen, or keyboard). Return an element to focus, true to use the default behavior, null to fall back to the default behavior, or false/undefined to do nothing. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| final | — | Determines the element to focus when the popover is closed. - false: Do not move focus. - true: Move focus based on the default behavior (trigger or previously focused element). - RefObject: Move focus to the ref element. - function: Called with the interaction type (mouse, touch, pen, or keyboard). Return an element to focus, true to use the default behavior, null to fall back to the default behavior, or false/undefined to do nothing. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| anchor | — | An element to position the popup against. By default, the popup will be positioned against the trigger. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
TimePickerWheel
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| layout | "drum""flat" | — | drum bends the rows on a turning wheel; flat only fades them. |
| visible | number | — | How many rows show, an odd number (5 by default). |
| labels | Partial<Record<TimeColumnType, string>> | — | The spoken names of the columns. |
| size | "default""lg""sm" | — | |
| variant | "framed""plain" | "plain" | |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
TimePickerDescription
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| render | DOMRenderFunction<any, any> | — | Overrides the default DOM element with a custom render function. This allows rendering existing components with built-in styles and behaviors such as router links, animation libraries, and pre-styled components. Requirements: - You must render the expected element type (e.g. if <button> is expected, you cannot render an <a>). - Only a single root DOM element can be rendered (no fragments). - You must pass through props and ref to the underlying DOM element, merging with your own prop as appropriate. |
| class | string | — | |
| ref | Ref<HTMLElement> | — | |
| ...props | <div> attributes | — | Every other attribute goes to the <div>. |
TimePickerError
| Prop | Type | Default | Description |
|---|---|---|---|
| id | string | — | The element's unique identifier. See MDN. |
| dir | string | — | |
| lang | string | — | |
| inert | boolean | — | |
| translate | "no""yes" | — | |
| suppress | boolean | — | A React-only flag that suppresses the warning React normally logs when an element's server-rendered content doesn't match the client render during hydration. See React docs. |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | MouseEventHandler<HTMLDivElement> | — | |
| on | TouchEventHandler<HTMLDivElement> | — | |
| on | TouchEventHandler<HTMLDivElement> | — | |
| on | TouchEventHandler<HTMLDivElement> | — | |
| on | TouchEventHandler<HTMLDivElement> | — | |
| on | TouchEventHandler<HTMLDivElement> | — | |
| on | TouchEventHandler<HTMLDivElement> | — | |
| on | TouchEventHandler<HTMLDivElement> | — | |
| on | TouchEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | PointerEventHandler<HTMLDivElement> | — | |
| on | UIEventHandler<HTMLDivElement> | — | |
| on | UIEventHandler<HTMLDivElement> | — | |
| on | WheelEventHandler<HTMLDivElement> | — | |
| on | WheelEventHandler<HTMLDivElement> | — | |
| on | AnimationEventHandler<HTMLDivElement> | — | |
| on | AnimationEventHandler<HTMLDivElement> | — | |
| on | AnimationEventHandler<HTMLDivElement> | — | |
| on | AnimationEventHandler<HTMLDivElement> | — | |
| on | AnimationEventHandler<HTMLDivElement> | — | |
| on | AnimationEventHandler<HTMLDivElement> | — | |
| on | TransitionEventHandler<HTMLDivElement> | — | |
| on | TransitionEventHandler<HTMLDivElement> | — | |
| on | TransitionEventHandler<HTMLDivElement> | — | |
| on | TransitionEventHandler<HTMLDivElement> | — | |
| on | TransitionEventHandler<HTMLDivElement> | — | |
| on | TransitionEventHandler<HTMLDivElement> | — | |
| on | TransitionEventHandler<HTMLDivElement> | — | |
| on | TransitionEventHandler<HTMLDivElement> | — | |
| style | StyleOrFunction<FieldErrorRenderProps> | — | The inline style for the element. A function may be provided to compute the style based on component state. |
| children | — | The children of the component. A function may be provided to alter the children based on component state. | |
| render | — | Overrides the default DOM element with a custom render function. This allows rendering existing components with built-in styles and behaviors such as router links, animation libraries, and pre-styled components. Requirements: - You must render the expected element type (e.g. if <button> is expected, you cannot render an <a>). - Only a single root DOM element can be rendered (no fragments). - You must pass through props and ref to the underlying DOM element, merging with your own prop as appropriate. | |
| element | string | 'span' | The HTML element type to render. Defaults to 'span'. Set to 'div' when using block-level children (e.g. <ul>) to avoid invalid HTML. |
| class | string | — | |
| AltDown ArroworAltUp Arrow | In a segment, opens the popup. |
|---|---|
| EnterorSpace | On the trigger, opens the popup. |
| Up ArroworDown Arrow | In a wheel column, turns one row and sets that part. In a segment, changes the value by one step. |
| Page UporPage Down | In a wheel column, turns five rows. |
| Left ArroworRight Arrow | In the popup, moves to the wheel column before or after. In a segment, moves to the segment before or after. |
| HomeorEnd | In a wheel column, goes to the first or the last row that is not disabled. |
| Enter | In the popup, closes it. On an empty field it sets the time the wheel shows. |
| Escape | Closes the popup and puts back the old time. |
Built with
Installs with Time Picker
- Components
- Date Input,Input Group,Popover,Time Field,Time Wheel







