Bloom.Components.GradientText (bloom v0.0.8)

Gradient text component

Summary

Functions

Attributes

  • class (:string) - CSS class for text. Defaults to "".
  • from_color (:string) - Defaults to "zinc-500".
  • to_color (:string) - Defaults to "black".
  • Global attributes are accepted.

Slots

  • inner_block (required)

Functions

Link to this function

gradient_text(assigns)

Attributes

  • class (:string) - CSS class for text. Defaults to "".
  • from_color (:string) - Defaults to "zinc-500".
  • to_color (:string) - Defaults to "black".
  • Global attributes are accepted.

Slots

  • inner_block (required)