A technique that limits a block of text to a set number of lines and hides the rest, usually adding an ellipsis, so items like cards stay the same height.
Synonyms
- multi-line truncation
Related terms
In plain words
- cutting text off after a few lines with a '…'
Usage example
Each card uses a two-line clamp so the grid stays tidy.
Don't confuse with…
- text reflowText reflow rearranges all the text to fit the space; a line clamp instead hides the overflow after a fixed number of lines.
Categories
- Typography