made with vue.js

Vue Snip

Text Truncation Directive

Visit Site


Text Truncation Directive

"vue-snip is a Vue.js directive that clamps the content of a text element if it exceeds specified number of lines. It automatically re-snips the text after an element resize or reactive data change, and offers two snipping approaches (CSS / JS) picked on a per-element basis.

vue-snip supports Vue.js 2 as well as Vue.js 3 and has no dependencies."


Ajo Bilec

Social Media Links

Viselect Vue Visual DOM-Selection Library
icon-eye-dark Created with Sketch. 412
TransX Transition Animation Library
icon-eye-dark Created with Sketch. 1.301
Sentry for Vue Vue Application Monitoring
πŸ’š Sponsored by Friends
We’re hosting on Digital Ocean! πŸ’™ Try it today and get a free $100 credit.
VueTypes Vue Prop Types Definitions
icon-eye-dark Created with Sketch. 692
Pinia Undo Undo/Redo Plugin for Pinia
icon-eye-dark Created with Sketch. 486