{% load brickwork_icons i18n %} {% comment %} Empty state (STA-001/002). variant distinguishes "no data yet" (nothing ever created) from "no results" (a filter matched nothing), so the two are never identical: no_results offers a clear-filters action, no_data an onboarding one. The icon is decorative; the heading + body carry the meaning (both required, no package-supplied default copy, STA-003). Required context: heading, body. Optional: variant ("no_data" default or "no_results"), icon (registry name), action_href, action_label. {% endcomment %}
{{ body }}
{% if action_href and action_label %} {{ action_label }} {% endif %} {% block empty_state_action %}{% endblock %}