Taiga UI 5 is out!

LineClamp KIT

Examples API GitHub

Lorem ipsum
Gaudeamus igitur
Carpe diem
Veni, vidi, vici
[content]
full content inside
PolymorpheusContent
[lineHeight]
height of single line, used to limit component's height.
number
[linesLimit]
number of visible lines
number
[style.max-width.px]
value of max-width
number
(overflownChange)
emits true if there's extra content which isn't visible otherwise false when all content is visible.
boolean
(overflownChange) false