use-clamp-text
react hook to clamp multiline text to a given height in a responsive way (in < 2.5kb)
js-snip
Universal JavaScript library for clamping HTML text elements.
nanoclamp
Responsive text clamping component for React
multi-clamp
Simple, efficient and easy-to-use multiline text clamp module. (supports reverse clamp)