react-wrap-balancer
React component that automatically balances text wrapping for more readable headings.
UI components and icons npm MIT
Used in agent projects
29
0.2% of 12,697 public repos built with AI coding agents
Rank in ui components and icons
#52 of 75
by use in those projects
Downloads
249K
npm, last 7 days, react-wrap-balancer
GitHub stars
4,211
last push Mar 25, 2026
How react-wrap-balancer is used
react-wrap-balancer is a dependency in 29 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.2%), #52 of 75 in ui components and icons. The most used alternative there is Lucide React. Projects that use it most often also use Next.js (96.6%), Framer Motion (86.2%), Lucide React (82.8%).
Often used with react-wrap-balancer
| Next.js | 96.6% of react-wrap-balancer projects · 4.3× more than average |
|---|---|
| Framer Motion | 86.2% of react-wrap-balancer projects · 6.4× more than average |
| Lucide React | 82.8% of react-wrap-balancer projects · 4.2× more than average |
| Class Variance Authority | 79.3% of react-wrap-balancer projects · 5.6× more than average |
| Recharts | 79.3% of react-wrap-balancer projects · 9.7× more than average |
| next-themes | 75.9% of react-wrap-balancer projects · 8.6× more than average |
| Three.js | 75.9% of react-wrap-balancer projects · 4.1× more than average |
| clsx | 75.9% of react-wrap-balancer projects · 4.3× more than average |
Install
| Package | npm install react-wrap-balancer |
|---|---|
| Main stacks | Next.js (28), TypeScript / JavaScript (1) |
| Example projects | WTFAcademy/frontend, bryantanjw/pascal-client-v1, BeWaterXYZ/bewater-frontend |
Alternatives to react-wrap-balancer
| 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 |