Ready

Text Truncate

The Text Truncate Component is a UI element that manages the display of lengthy text content by truncating it to a specified number of lines in its collapsed state.

Ready

Text Truncate

The Text Truncate Component is a UI element that manages the display of lengthy text content by truncating it to a specified number of lines in its collapsed state.

Ready

Text Truncate

The Text Truncate Component is a UI element that manages the display of lengthy text content by truncating it to a specified number of lines in its collapsed state.

States

States

States

  1. Collapsed

  2. Expanded

Behaviors

Behaviors

Behaviors

Expanding

When the "Show more" text is clicked, the component expands vertically to show all hidden text.

Number of lines

The component can be configured to show one, two or three lines of text when in the collapsed state.

Best Practices

Best Practices

Best Practices

1. When to use

Use this component to save vertical space when designing a content heavy page. Do not use this component when there is sufficient space to display the entire content block. ¹

2. Secondary Information

Only use this component to truncate secondary information such as descriptions or additional contextual information. Do not use this component to truncate primary information that is critical to decision making. ¹

Need more guidance?

Suggest an addition or an edit.

Need more guidance?

Suggest an addition or an edit.

Need more guidance?

Suggest an addition or an edit.

© 2025 Basis Technologies
© 2025 Basis Technologies
© 2025 Basis Technologies