Andarist/react-textarea-autosize
<textarea /> component for React which grows with content observed · 2026-10-07
Health v2 · maintenance only
37/100
- Activity 6
- Release rhythm 40
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 28.0
- age_days: 4817
- days_rel: 569
- days_push: 569
- n_releases_24m: 5
Adoption not part of the score
2412 stars · 246 forks observed · 2026-10-07
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A drop-in React replacement for the native <textarea> element that automatically grows and shrinks with its content. It is a tiny (~1.3KB gzipped) TypeScript component supporting min/max row constraints and height-change callbacks.
Use cases
- auto-resize a textarea as the user types
- build a chat input that grows with the message
- limit a textarea to a maximum number of visible rows
- set a minimum height for a comment box
- replace a plain textarea without changing its props
- get notified when the textarea height changes
When to choose
- you use React and need a self-sizing textarea with minimal bundle cost
- you want min/max row constraints and height-change callbacks out of the box
- you need a drop-in replacement that forwards all native textarea props
When to avoid
- you are not using React
- you need autosizing for other form elements or non-React frameworks
- you need IE8 or older browser support
Facets
library · maturity stable
ui-components form-handling frontend-framework web-development frontend browser react textarea autosize react-component typescript web-server nodejs
3 sources
- readme: https://github.com/Andarist/react-textarea-autosize · fetched 2026-10-07 · 01c94e4d17c8
- homepage: http://andarist.github.io/react-textarea-autosize/ · fetched 2026-08-29 · dbad50c02bea
- registry_npm: https://registry.npmjs.org/react-textarea-autosize · fetched 2026-08-29 · a58c1bc6ca76
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Andarist/react-textarea-autosize | main | 37 |
For agents
markdown · JSON · MCP: product_card(name="Andarist/react-textarea-autosize")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem