Strong

Native Solid 2 fork. Original documentation and designs © WorkOS; historical posts retain their original context.

The most important thing to remember is, stay positive.
<Text>
The most important thing to remember is, <Strong>stay positive</Strong>.
</Text>

API Reference

This component is based on the strong element and supports common margin props.

PropTypeDefault
asChildboolean—
truncateboolean—
wrapResponsive<"wrap" | "nowrap" | "pretty" | "balance">—

Examples

Truncate

Use the truncate prop to truncate text with an ellipsis when it overflows its container.

The goal of typography is to relate font size, line height, and line width in a proportional way that maximizes beauty and makes reading easier and more pleasant.
<Flex maxWidth="300px">
<Strong truncate>
The goal of typography is to relate font size, line height, and line width
in a proportional way that maximizes beauty and makes reading easier and
more pleasant.
</Strong>
</Flex>