LedgerUI.Components.GlowText (LedgerUI v0.2.0)

Copy Markdown View Source

Text with a living gradient: the colors drift across the letters (lu-glowtx).

<.glow_text as="h1">Signetum</.glow_text>
<.glow_text tone="warm">New</.glow_text>

Summary

Functions

Renders the gradient text. as is the HTML tag.

Functions

glow_text(assigns)

Renders the gradient text. as is the HTML tag.

Attributes

  • tone (:string) - Defaults to "default". Must be one of "default", or "warm".
  • as (:string) - Defaults to "span". Must be one of "span", "h1", "h2", "h3", "p", or "div".
  • class (:any) - Defaults to nil.
  • Global attributes are accepted.

Slots

  • inner_block (required)