All Collections
Text
Modifiers
Line Limit Modifier
Line Limit Modifier

Set the maximum number of lines that text can wrap.

Updated over a week ago

When a Text layer no longer fits in the bounds of its parent, it automatically wraps the rest of its content to fit the frame.

To limit the number of lines that a Text layer can expand or contract to, add the Line Limit modifier and adjust the limits. If your text exceeds the maximum number of lines, it is truncated with ellipsis.

The Line Limit modifier can be applied to all Text layers within a hierarchy. For example, you can apply the modifier to a VStack to configure all the Text layers within it. In this example, all Text layers are capped at 3 lines.

Did this answer your question?