vue-clamp
open-sourceShare
AI Summary
vue-clamp is a Vue.js library that provides a directive and component for clamping text to a specified number of lines, adding an ellipsis when content overflows. It is built for Vue developers who need reliable, responsive multi-line text truncation without complex CSS hacks. Its interest lies in offering a clean, declarative API that handles dynamic content and container resizing, solving a common UI challenge elegantly.
Cross-platform signals
GH
ViewGitHub
811
stars
93
forks
Updated 2026-07-05
You might also like
More in open-source