tailwind-plugin-line-clamp weekly downloads statistics
By hangar115 · npm · Tailwind plugins
Tailwind CSS plugin to add line clamps
tailwind-plugin-line-clamp has 19 recorded weekly downloads on npm, an increase of 58.3% over the past 30 days, ranking #3002 of 3,247 tracked listings.
About tailwind-plugin-line-clamp
Aspect Ratio Plugin for Tailwind CSS
Requirements
This plugin adds line clamps with breakpoint support based on the tailwindcss-aspect-ratio plugin by webdna.
Props to Diego Czul (@luisczul) for helping me get this working.
Installation
npm install tailwind-plugin-line-clamp
// tailwind.config.js
module.exports = {
theme: {
clamp: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], // defaults to this
},
plugins: [
require('tailwind-plugin-line-clamp'),
],
};
The above configuration would create the following classes, as well as their responsive variants:
.clamp-1 {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
overflow: hidden;
}
.xl\:clamp-1 {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
overflow: hidden;
}
.clamp-2 {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
.clamp-3 {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;
}
Description from the npm listing.
- tailwind
- tailwindcss
- plugin
- tailwindcss-plugin
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (170)Similar npm Tailwind plugins plugins
All 20 tailwind-plugin-line-clamp alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/tailwind-plugin-line-clamp. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.