There are 2 repositories under truncate-text topic.
💈 Shave is a 0 dep JS plugin that truncates text to fit within an element based on a set max-height ✁
"Cross browser" solution for the poorly supported `-webkit-line-clamp` css property regarding to multi-line text truncation
JavaScript library that truncates text, list or table by chars, elements or rows.
React multiline text clamping component with show more/less feature
📃React component to show more text or show less
Framework agnostic code to dynamically truncate long text in the center.
Display long text with read more and read less
Streamline your UI with this React component that is designed to truncate text seamlessly. [Storybook Doc] https://64f883177ec11e1edcf84fc7-hpmuefbevq.chromatic.com/?path=/docs/stories-truncatable--docs
React component for adding an ellipsis to the middle of a line of text.
Make short numbers from long numbers
Truncate filenames from a prefix
Support for truncating multiple lines in Tailwindcss
Jquery Plugin to truncate texts easily
✂️ Truncate text by number of lines
A react hook to dynamically truncate text from middle.
React component for clamping lines. It adds ellipsis if text exceeds the defined max lines value
Simple text truncate witten in Pure JavaScript
Truncate text in React using react-lines-ellipsis
React mui-v4. Truncate text and show tooltip if need.
PHP function that truncates text in HTML while preserving the tags and the HTML validity.
A JavaScript plugin for truncating strings. Useful for making post excerpts.