```js import Input from '@invisionag/iris-react-input'; ```
npm install @invisionag/iris-react-input``js`
import Input from '@invisionag/iris-react-input';
Input is a generalized input field. It provides
functionality to remove all entered content with one click.
If you'd like to pass additional props to the input element, just pass themInput
to . This can be useful for event listeners.
We do not recommend to use hasResetButton in combination with type number.
Usage:
``
With reset button:
``
As live search field:
``
With success message:
``
With warning message:
``
With error message:
``
With info message:
``
With half of default size:
``
Custom width (is not considered when small is set):
```