{# vars: title, subheading, breadcrumbs, header_actions, host, record (optional), eyebrow (optional), title_suffix (optional, e.g. an emoji), hero (optional: soft glow behind the header) #} {% import "tungsten/components/ui.html" as ui %}
{% if hero is defined and hero %} {% endif %}
{{ ui.breadcrumbs(breadcrumbs) }} {% if eyebrow %}

{{ eyebrow }}

{% endif %}

{{ title }}{% if title_suffix is defined and title_suffix %} {{ title_suffix }}{% endif %}

{% if subheading %}

{{ subheading }}

{% endif %}
{% for a in header_actions or [] %}{{ a.render(ctx, host, record if record is defined else None, style=(None if a._style or a.__class__.__name__ == 'ActionGroup' else 'button')) }}{% endfor %} {% if extra_actions is defined %}{{ extra_actions }}{% endif %}