EssenceUI.Components.Strong (Essence UI v0.2.0)

Copy Markdown View Source

Themed strong text.

Summary

Functions

Marks text to signify strong importance.

Functions

strong(assigns)

Marks text to signify strong importance.

Examples

<.strong>Styles come and go. Good design is a language, not a style</.strong>
<.strong truncate>Long quote that will be truncated if too long.</.strong>

Props

  • class - Additional CSS classes to add to the element.
  • style - Additional inline styles.
  • rest - Additional HTML attributes.

Attributes

  • truncate (:boolean) - Whether to truncate text with ellipsis when it overflows.
  • wrap (:string) - Text wrapping: one of wrap, nowrap, pretty, balance. Must be one of "wrap", "nowrap", "pretty", or "balance".
  • class (:string) - Additional CSS classes. Defaults to nil.
  • style (:string) - Additional inline styles. Defaults to nil.
  • rest (:any) - Additional HTML attributes. Defaults to %{}.

Slots

  • inner_block (required)