TimeInput
Time-only segmented field (hour, minute, and day-period when applicable). No popover or calendar — the simplest of the date/time cluster. Values use Time from @internationalized/date.
Examples
Default
Pass a label and seed with defaultValue (or control via value / onValueChange).
import { Time } from '@internationalized/date';
import { TimeInput } from '@var-ui/react';
<TimeInput label="Start" defaultValue={new Time(9, 30)} />Controlled
Keep the time in React state with value / onValueChange. Guard for null if the field can be cleared.
import { Time } from '@internationalized/date';
import { TimeInput } from '@var-ui/react';
<TimeInput label="Start" value={value} onValueChange={setValue} />Sizes
size (sm, md, lg) sets the segment group height, inset and type, matching TextField. It falls back to the surrounding control size (InputGroup, Toolbar, Select.Root), then md.
Props
Accessibility
Built on React Aria TimeField. Each time unit is a focusable spinbutton. Keep label visible, and use description / errorMessage so assistive tech gets the same help and validation copy as sighted users. Arrow keys adjust the focused segment.