Skip to main content

Paragraph

    The Paragraph component displays a block of text with the default text style and supports text truncation.

    Import​

    import { Paragraph } from '@dynatrace/strato-components/typography';

    Demo​

    Combine with other typography components​

    All typography components like Strong, Strikethrough or Text can be used within a Paragraph.

    Limit number of lines​

    Setting the optional maxLines property limits the text in the Paragraph to the given number of lines. When the text exceeds the set limit, it is truncated, and an ellipsis is displayed to indicate the truncation.

    Still have questions?
    Find answers in the Dynatrace Community