Theme

npm_versionnpm Paragon package page

A Truncate component can help you crop multiline text. There will be three dots at the end of the text.

Basic Usage

Any Paragon component or export may be added to the code example.

With the custom ellipsis

Any Paragon component or export may be added to the code example.

With the onTruncate

Any Paragon component or export may be added to the code example.

Example usage in Card

Any Paragon component or export may be added to the code example.

HTML markdown support

Note: Truncate supports only plain HTML children and not jsx.

Any Paragon component or export may be added to the code example.

Usage Insights#

Truncate

Project NameParagon VersionInstance Count
frontend-app-admin-portal21.13.13
frontend-app-course-authoring22.8.114
frontend-app-learner-portal-enterprise21.13.118