Skip to main content

Text

Import

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

Use cases

CodeSandbox

Change font and text style

Setting the optional textStyle and fontStyle properties allows for changing the style of the rendered text. While textStyle determines font weight and size, fontStyle defines whether variable-width font for regular text or monospace font for code examples is used.

CodeSandbox
Still have questions?
Find answers in the Dynatrace Community