use-clamp-text

react hook to clamp multiline text to a given height in a responsive way (in < 2.5kb)

Browse on unpkg