{# API #}
{%- set props = props | default([]) -%}
{%- set _color = props.color | default('primary') -%}
{%- set _isSimple = props.isSimple | default(false) -%}

{# Class names #}
{%- set _rootClassName = _spiritClassPrefix ~ 'Header' -%}
{%- set _rootColorClassName = _spiritClassPrefix ~ 'Header--' ~ _color -%}
{%- set _rootSimpleClassName = _isSimple ? _spiritClassPrefix ~ 'Header--simple' : null -%}

{# Miscellaneous #}
{%- set _styleProps = useStyleProps(props) -%}
{%- set _classNames = [ _rootClassName, _rootColorClassName, _rootSimpleClassName, _styleProps.className ] -%}

<header {{ mainProps(props) }} {{ styleProp(_styleProps) }} {{ classProp(_classNames) }}>
    {% block content %}{% endblock %}
</header>
