Skip to content
Docs

Strong

Marks text to signify strong importance.
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.

Prop Type Default Description
class string nil Additional CSS classes.
style string nil Additional inline styles.
truncate boolean Whether to truncate text with ellipsis when it overflows.
wrap string Text wrapping: one of wrap, nowrap, pretty, balance.
class Additional CSS classes.
Type string Default nil
style Additional inline styles.
Type string Default nil
truncate Whether to truncate text with ellipsis when it overflows.
Type boolean Default
wrap Text wrapping: one of wrap, nowrap, pretty, balance.
Type string Default

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 max_width="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>