@fossbarrow/tailwindcss-multiline-truncate weekly downloads statistics
By fossbarrow · npm · Tailwind plugins
Support for truncating multiple lines in Tailwindcss
@fossbarrow/tailwindcss-multiline-truncate has 4 recorded weekly downloads on npm, a decrease of 60.0% over the past 30 days, ranking #2221 of 2,322 tracked listings.
About @fossbarrow/tailwindcss-multiline-truncate
Tailwindcss Multiline Truncate Support
Support for truncating multiple lines in Tailwindcss.
Installation
npm
npm install @fossbarrow/tailwindcss-multiline-truncate --save
yarn
yarn add @fossbarrow/tailwindcss-multiline-truncate
Usage
Register the plugin in tailwind.config.js.
// tailwind.config.js
{
plugins: [
require('@fossbarrow/tailwindcss-multiline-truncate')(),
],
}
Add the truncate settings and modify after own desire in the same file.
// tailwind.config.js
{
theme: {
truncate: {
lines: {
3: '3',
5: '5',
8: '8',
}
}
}
Now, in your vue component, you can use the plugin like so:
<p class="truncate-3-lines">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Veritatis, porro
exercitationem dolorum nemo molestiae excepturi eos non suscipit, cupiditate
incidunt libero nisi atque voluptas sint reiciendis placeat! Eos, magnam
asperiores? ipsum dolor sit amet consectetur adipisicing elit.
libero nisi atque voluptas sint reiciendis!
</p>
Output:
Lorem ipsum dolor sit amet consectetur adipisicing elit. Veritatis, porro
exercitationem dolorum nemo molestiae excepturi eos non suscipit, cupiditate
incidunt libero nisi atque voluptas sint reiciendis placeat! Eos, magnam...
Utilities
This plugin generates the following utilities:
.truncate-[key]-lines {
'overflow': 'hidden',
'display': '-webkit-box',
'-webkit-box-orient': 'vertical',
'-webkit-line-clamp': [value],
}
Variants:
You can also add variants just like any rule:
//tailwind.config.js
{
...
plugins: [
require('@fossbarrow/tailwindcss-multiline-truncate')(['responsive', 'hover']),
]
}
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
The MIT License (MIT). Please see License File for more information.
Description from the npm listing.
- tailwindcss-plugin
- tailwindcss
- truncate-text
- multiline-truncate
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 (544)Similar npm Tailwind plugins plugins
All 20 @fossbarrow/tailwindcss-multiline-truncate 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/@fossbarrow/tailwindcss-multiline-truncate. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.