react-textarea-auto-resize
TypeScript icon, indicating that this package has built-in type declarations

1.1.8 • Public • Published

React TextArea Auto Resize

The react-textarea-auto-resize npm package is a utility that provides an auto-resizing feature for textarea components in React. It automatically adjusts the height of a textarea based on its content, allowing it to grow or shrink dynamically as the user types or deletes text.

When using this package, you no longer need to manually handle the resizing logic or set fixed rows for the textarea. Instead, the package takes care of adjusting the height to fit the content.

Demo

Full Documentation

Installation

To install the package, you can use npm or yarn:

npm install react-textarea-auto-resize

or

yarn add react-textarea-auto-resize

/react-textarea-auto-resize/

    Package Sidebar

    Install

    npm i react-textarea-auto-resize

    Weekly Downloads

    149

    Version

    1.1.8

    License

    MIT

    Unpacked Size

    5.86 kB

    Total Files

    6

    Last publish

    Collaborators

    • sivamani18