adobe/balance-text
A plugin for implementing balancing of wrapping text in a web page observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: no_license
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: n/a
- age_days: 4982
- days_rel: n/a
- days_push: 877
- n_releases_24m: 0
Adoption not part of the score
1403 stars · 77 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A JavaScript polyfill implementing balanced text wrapping for web pages, providing an alternative line-breaking algorithm so wrapped lines contain roughly equal amounts of text. It implements the proposed CSS `text-wrap: balance` behavior and is referenced in the CSS Text Module Level 4 draft.
Use cases
- balance wrapped headline text across lines
- polyfill text-wrap: balance in browsers without support
- avoid ragged centered multi-line text
- re-balance text on window resize
- apply balanced wrapping to dynamically added DOM content
When to choose
- you need balanced multi-line text in browsers lacking native text-wrap: balance
- you want a lightweight drop-in script with class-based or manual triggering
- you need resize-aware rebalancing of headings or centered text
When to avoid
- target browsers already support native CSS text-wrap: balance
- you need a jQuery plugin API (use the legacy 2.0.0 version instead)
- you need general text layout beyond line balancing
Facets
library · maturity stable
ui-components frontend-framework templating web-development frontend web-design browser text-wrapping polyfill typography css-text-wrap-balance line-breaking javascript
1 source
- readme: https://github.com/adobe/balance-text · fetched 2026-08-28 · 26c5a49899a4
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| adobe/balance-text | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="adobe/balance-text")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem