react-textarea-autosize
Textarea component that automatically grows with content.
UI components and icons npm MIT
Used in agent projects
25
0.2% of 12,697 public repos built with AI coding agents
Rank in ui components and icons
#64 of 75
by use in those projects
Downloads
9.1M
npm, last 7 days, react-textarea-autosize
GitHub stars
2,413
last push Mar 30, 2025
How react-textarea-autosize is used
react-textarea-autosize is a dependency in 25 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.2%), #64 of 75 in ui components and icons. The most used alternative there is Lucide React. Projects that use it most often also use clsx (88.0%), Tailwind Merge (88.0%), Next.js (88.0%).
Often used with react-textarea-autosize
| clsx | 88.0% of react-textarea-autosize projects · 5.0× more than average |
|---|---|
| Tailwind Merge | 88.0% of react-textarea-autosize projects · 5.2× more than average |
| Next.js | 88.0% of react-textarea-autosize projects · 3.9× more than average |
| Radix UI | 84.0% of react-textarea-autosize projects · 7.0× more than average |
| Class Variance Authority | 84.0% of react-textarea-autosize projects · 6.0× more than average |
| Zod | 72.0% of react-textarea-autosize projects · 4.2× more than average |
| AI SDK | 68.0% of react-textarea-autosize projects · 26.3× more than average |
| remark-gfm | 68.0% of react-textarea-autosize projects · 30.0× more than average |
By coding agent
| Cursor | 0.4% of projects set up for it |
|---|---|
| GitHub Copilot | 0.2% of projects set up for it |
Share of public repos configured for each agent that list react-textarea-autosize as a dependency.
Install
| Package | npm install react-textarea-autosize |
|---|---|
| Main stacks | Next.js (22), TypeScript / JavaScript (3) |
| Example projects | ask-the-hive/the-hive, fountain-ink/app, BayBreezy/strapi-plugin-email-designer-5, oceanprotocol/tokengated-next-chatgpt |
Alternatives to react-textarea-autosize
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Lucide React npm Comprehensive icon library with consistent design for React applications. |
2,519 (19.8%) | 108M | 24.9K | ISC |
| Class Variance Authority npm Type-safe CSS class composition for component variants and styling. |
1,791 (14.1%) | 66.3M | 6,903 | Apache-2.0 |
| Radix UI npm Unstyled, accessible component primitives for building design systems. |
1,519 (12.0%) | 182M | 19.4K | MIT |
| Sonner npm Opinionated toast notification component for React applications. |
1,025 (8.1%) | 49.6M | 13K | MIT |
| React Icons npm Popular icon packs imported as React components with ES6. |
688 (5.4%) | 8.8M | 12.7K | MIT |
| cmdk npm Command menu component library for React applications. |
687 (5.4%) | 42.2M | 13K | MIT |
| React Day Picker npm Flexible and customizable date picker component for React. |
675 (5.3%) | 42.8M | 6,859 | MIT |
| Vaul npm Unstyled, accessible drawer component for React with smooth animations. |
582 (4.6%) | 35M | 8,638 | MIT |