View Source ZoonkWeb.Components.Header (Zoonk v0.2.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 tonil
.icon
(:string
) - the optional icon name to add to the header element. Defaults tonil
.
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.