Skip to content

Input

Displays a form input field or a component that looks like an input field.

Installation

npm i @huin-core/react-input

API Reference

Input

PropTypeDescription
disabledbooleanWhen set to true, disables the component, preventing user interaction or triggering of associated actions.
type"button" | "checkbox" | "color" | "date" | "datetime-local" | "email" | "file" | "hidden" | "image" | "month" | "number" | "password" | "radio" | "range" | "reset" | "search" | "submit" | "tel" | "text" | "time" | "url" | "week"Specifies the category or functionality of the component, influencing how it behaves or interacts with other elements.