tailwindlabs/tailwindcss-line-clamp
A plugin that provides utilities for visually truncating text after a fixed number of lines. observed · 2026-08-28
Health v2 · maintenance only
60/100
- Activity 82
- Release rhythm 8
- 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: n/a
- age_days: 2065
- days_rel: n/a
- days_push: 113
- n_releases_24m: 0
Adoption not part of the score
1186 stars · 35 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
An official Tailwind CSS plugin providing line-clamp utilities for visually truncating text after a fixed number of lines. As of Tailwind CSS v3.3 these utilities are built into the framework, so the plugin is no longer required.
Use cases
- truncate text after a fixed number of lines in tailwind
- add line-clamp utilities to tailwind css
- clamp paragraph text to 3 lines with css classes
- show text preview with ellipsis after n lines
- remove line clamping responsively with line-clamp-none
When to choose
- you are on Tailwind CSS v3.2 or earlier and need line-clamp utilities
When to avoid
- you use Tailwind CSS v3.3 or later, where line-clamp is built in
Facets
plugin · maturity maintenance
ui-components css-framework frontend web-development browser tailwindcss line-clamp text-truncation css-utilities deprecated-in-favor-of-core nodejs web-server
1 source
- readme: https://github.com/tailwindlabs/tailwindcss-line-clamp · fetched 2026-08-28 · b3e92202772a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tailwindlabs/tailwindcss-line-clamp | main | 60 |
For agents
markdown · JSON · MCP: product_card(name="tailwindlabs/tailwindcss-line-clamp")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem