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.

Anatomy

  1. Body

  2. Link

Variants

  1. One line

  2. Two lines

  3. Three lines

States

  1. Collapsed

  2. Expanded

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. ¹

Do

Don't

Content

Link text

The text that expands the component should be “Show more”. The text to collapse it should be "Show less”.

© 2026 Basis Technologies
© 2026 Basis Technologies
© 2026 Basis Technologies