View Source ZoonkWeb.Components.Header (Zoonk v0.3.0-alpha)

Header components.

Link to this section Summary

Functions

Renders a header with title.

Link to this section Functions

Renders a header with title.

attributes

Attributes

  • class (:string) - the optional additional classes to add to the header element. Defaults to nil.
  • icon (:string) - the optional icon name to add to the header element. Defaults to nil.

slots

Slots

  • inner_block (required) - the inner block that renders the header content.
  • subtitle - renders a subtitle under the header content.
  • actions - renders a slot for actions, such as a button, at the bottom of the header.