autoComplete | string | - | Describes the type of autocomplete functionality the input should provide if any. See
[MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefautocomplete). |
autoCorrect | string | - | An attribute that takes as its value a space-separated string that describes what, if any, type
of autocomplete functionality the input should provide. See
[MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#autocomplete). |
autoFocus | boolean | - | Whether the element should receive focus on render. |
children | ReactNode | - | |
className | ClassNameOrFunction<SearchFieldRenderProps> | 'react-aria-SearchField' | The CSS [className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className) for the
element. A function may be provided to compute the class based on component state. |
defaultValue | TimeValue | - | The default value (uncontrolled). |
dir | string | - | |
enterKeyHint | "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | - | An enumerated attribute that defines what action label or icon to preset for the enter key on
virtual keyboards. See
[MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint). |
excludeFromTabOrder | boolean | - | Whether to exclude the element from the sequential tab order. If true,
the element will not be focusable via the keyboard by tabbing. This should
be avoided except in rare scenarios where an alternative means of accessing
the element or its functionality via the keyboard is available. |
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](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#form). |
hidden | boolean | - | |
id | string | - | The element's unique identifier. See
[MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id). |
inert | boolean | - | |
inputMode | "text" | "none" | "search" | "url" | "tel" | "email" | "numeric" | "decimal" | - | Hints at the type of data that might be entered by the user while editing the element or its
contents. See
[MDN](https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute). |
isDisabled | boolean | - | Whether the input is disabled. |
isInvalid | boolean | - | Whether the input value is invalid. |
isReadOnly | boolean | - | Whether the input can be selected but not changed by the user. |
isRequired | boolean | - | Whether user input is required on the input before form submission. |
lang | string | - | |
maxLength | number | - | The maximum number of characters supported by the input. See
[MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefmaxlength). |
minLength | number | - | The minimum number of characters required by the input. See
[MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefminlength). |
name | string | - | The name of the input element, used when submitting an HTML form. See
[MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefname). |
pattern | string | - | Regex pattern that the value of the input must match to be valid. See
[MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefpattern). |
render | DOMRenderFunction<"div", TooltipRenderProps> | - | 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. |
slot | string | - | 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. |
spellCheck | string | - | An enumerated attribute that defines whether the element may be checked for spelling errors.
See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck). |
style | StyleOrFunction<TooltipRenderProps> | - | The inline [style](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/style) for the
element. A function may be provided to compute the style based on component state. |
translate | "yes" | "no" | - | |
type | "text" | "search" | "url" | "tel" | "email" | "password" | (string & {}) | 'search' | The type of input to render. See
[MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdeftype). |
validate | ((value: TimeValue) => true | ValidationError) | - | 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. |
validationBehavior | "native" | "aria" | '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. |
value | TimeValue | - | The current value (controlled). |
wrapWith | ReactElement<unknown, string | JSXElementConstructor<any>> | - | A React element the component is wrapped with. The element is cloned and
receives the component as its only child — useful to render the component
inside a link, a tooltip trigger or any other wrapper without changing the
surrounding markup. |