Optionalaria-Optionalaria-Identifies the element (or elements) that describes the object.
Optionalaria-Identifies the element (or elements) that provide a detailed, extended description for the object.
Optionalaria-Identifies the element that provides an error message for the object.
Optionalaria-Defines a string value that labels the current element.
Optionalaria-Identifies the element (or elements) that labels the current element.
OptionalautoWhether the element should receive focus on render.
The children of the component. A function may be provided to alter the children based on component state.
OptionalclassThe CSS className for the element. A function may be provided to compute the class based on component state.
OptionaldefaultWhether the element should be selected (uncontrolled).
OptionaldirOptionalexcludeWhether 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.
OptionalformThe <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.
OptionalhiddenOptionalidThe element's unique identifier. See MDN.
OptionalinertOptionalinputA ref for the HTML input element.
OptionalisWhether the input is disabled.
OptionalisIndeterminism is presentational only. The indeterminate visual representation remains regardless of user interaction.
OptionalisWhether the input value is invalid.
OptionalisWhether the input can be selected but not changed by the user.
OptionalisWhether user input is required on the input before form submission.
OptionalisWhether the element should be selected (controlled).
OptionallangOptionalnameThe name of the input element, used when submitting an HTML form. See MDN.
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonHandler that is called when the element loses focus.
OptionalonHandler that is called when the element's selection state changes.
OptionalonNot recommended – use onPress instead. onClick is an alias for onPress
provided for compatibility with other libraries. onPress provides
additional event details for non-mouse interactions.
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonHandler that is called when the element receives focus.
OptionalonHandler that is called when the element's focus status changes.
OptionalonOptionalonOptionalonHandler that is called when the hover state changes.
OptionalonHandler that is called when a hover interaction ends.
OptionalonHandler that is called when a hover interaction starts.
OptionalonHandler that is called when a key is pressed.
OptionalonHandler that is called when a key is released.
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonHandler that is called when the press is released over the target.
OptionalonHandler that is called when the press state changes.
OptionalonHandler that is called when a press interaction ends, either over the target or when the pointer leaves the target.
OptionalonHandler that is called when a press interaction starts.
OptionalonHandler that is called when a press is released over the target, regardless of whether it started on the target or not.
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalslotA 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.
OptionalstyleThe inline style for the element. A function may be provided to compute the style based on component state.
OptionaltranslateOptionalvalidateA 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.
OptionalvalidationWhether 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.
OptionalvalueThe value of the input element, used when submitting an HTML form. See MDN.
Identifies the element (or elements) whose contents or presence are controlled by the current element.