react-textarea-autosize
3.9
Score

React Textarea Autosize Component

What is react-textarea-autosize?

React-textarea-autosize is a TypeScript component that dynamically resizes textareas based on content size, provides native support for React, and is lightweight at 1.3KB minified. Supports all native textarea attributes and runs on IE9+.

TypeScript
React
Textarea

Summary of react-textarea-autosize

  • 👍

    Compatible with all props accepted by a standard textarea.

  • 👍

    Offers customizable props like maxRows and minRows.

  • 🤝

    Functions as a native React version of jQuery Autosize.

Built by

Mateusz Burzyński
Mateusz Burzyński
@Andarist
+ 58 other contributors

Last push
a month ago
Stars
2.3 k

Forks
253
Open Issues
65
Closed Issues
253

Last Update
a month ago
Version
8.5.9
Typings

Downloads
136.0 M
Dependencies
3
Size
89 kB
The react-textarea-autosize component is a versatile textarea replacement for React applications. It automatically adjusts its height according to the content, enhancing user experience by providing a seamless interaction. This component is a React version of the well-known jQuery Autosize, and it is compact, weighing around 1.3KB when minified and gzipped. It is compatible with Internet Explorer 9 and above, offering broad browser support. Developers can use additional props such as maxRows and minRows to customize its behavior. Beyond these specific features, the component accepts all native textarea properties, making integration straightforward and flexible.