| ref | React.Ref<HTMLInputElement> | undefined | — | 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). |
|---|
| alt | string | undefined | — | Text alternative for the image. Identify informative images; use an empty alternative only when the image is genuinely decorative. |
|---|
| autoComplete | React.HTMLInputAutoCompleteAttribute | undefined | — | Native autocomplete hint appropriate to the field's actual purpose. |
|---|
| checked | boolean | undefined | — | Current checked state. Apply the requested value from onCheckedChange when the parent owns this state. |
|---|
| disabled | boolean | undefined | — | Make the supported control unavailable through its native or primitive disabled semantics. This does not disable arbitrary child links. |
|---|
| form | string | undefined | — | ID of the form associated with this control, including when it is rendered outside that form element. |
|---|
| max | string | number | undefined | — | Maximum supported numeric value. |
|---|
| maxLength | number | undefined | — | Maximum allowed text length for native input or code entry. |
|---|
| min | string | number | undefined | — | Minimum supported numeric value. |
|---|
| minLength | number | undefined | — | Minimum allowed text length for native validation. |
|---|
| multiple | boolean | undefined | — | Allow multiple values where the native element or primitive supports them, using its source-defined value shape. |
|---|
| name | string | undefined | — | Name used by the control's form submission or primitive form integration. |
|---|
| pattern | string | undefined | — | Native input validation pattern. Provide readable format guidance and associated validation feedback. |
|---|
| placeholder | string | undefined | — | Prompt shown before a value is selected or entered. Supply an accessible label separately. |
|---|
| readOnly | boolean | undefined | — | Prevent value editing while preserving readable content. Read-only behavior differs from disabled behavior. |
|---|
| required | boolean | undefined | — | Mark this control as required using its native or primitive semantics. Consumers own contextual validation feedback. |
|---|
| src | string | undefined | — | Image source URL. Supply alternative text appropriate to whether the image conveys identity or is decorative. |
|---|
| step | string | number | undefined | — | Numeric increment used for slider or native input changes. |
|---|
| type | React.HTMLInputTypeAttribute | undefined | — | Native element or primitive mode defined by the source union. Choose a supported value; its meaning depends on the component. |
|---|
| value | string | number | readonly string[] | undefined | — | Current value in the shape defined by the source type. For controlled interactive inputs, apply updates from the change callback. |
|---|
| onChange | React.ChangeEventHandler<HTMLInputElement, HTMLInputElement> | undefined | — | Receive the native change event; read the actual control value or checked state from its event target. |
|---|
| defaultChecked | boolean | undefined | — | Initial checked state for a control supporting uncontrolled selection. Inherited DOM typing does not give a layout wrapper checkbox behavior. |
|---|
| defaultValue | string | number | readonly string[] | undefined | — | Initial value for a control supporting uncontrolled state. Inherited DOM typing alone does not give a layout wrapper input behavior. |
|---|
| autoFocus | boolean | undefined | — | Request automatic focus when the element mounts or the primitive opens, according to its source behavior. Choose initial focus deliberately in context. |
|---|
| className | string | undefined | — | Additional classes for this part. Preserve contrast, visible focus and responsive content when adapting styles. |
|---|
| id | string | undefined | — | Stable DOM identifier used by labels, descriptions or other explicit associations. |
|---|
| role | React.AriaRole | undefined | — | Semantic role appropriate to the rendered element. Preserve required relationships and keyboard behavior. |
|---|
| onFocus | React.FocusEventHandler<HTMLInputElement> | undefined | — | Receive the native focus event. Preserve the component's existing keyboard and focus behavior. |
|---|
| onBlur | React.FocusEventHandler<HTMLInputElement> | undefined | — | Receive the native blur event when focus leaves this control. |
|---|
| onKeyDown | React.KeyboardEventHandler<HTMLInputElement> | undefined | — | Receive keyboard events. Preserve built-in keyboard behavior unless deliberately implementing an accessible alternative. |
|---|
| onClick | React.MouseEventHandler<HTMLInputElement> | undefined | — | Receive activation events. The consumer owns the action performed and its result. |
|---|
| onSelect | React.ReactEventHandler<HTMLInputElement> | undefined | — | Handle the selection event defined by this part's source signature. DOM text-selection events differ from menu or command activation callbacks. |
|---|