Andarist/react-textarea-autosize
<textarea /> component for React which grows with content observed · 2026-08-28
Health v2 · maintenance only
36/100
- Activity 14
- Release rhythm 28
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 31
- age_days: 4769
- days_rel: 521
- days_push: 521
- n_releases_24m: 6
Adoption not part of the score
2409 stars · 247 forks observed · 2026-08-28
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-08-28 · 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 | 36 |
For agents
markdown · JSON · MCP: product_card(name="Andarist/react-textarea-autosize")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem