Skip to main content

Paragraph

Paragraph

Import

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

Use cases

CodeSandbox

Combine with other typography components

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

CodeSandbox

Limit the 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.

CodeSandbox
Still have questions?
Find answers in the Dynatrace Community