{#- chirp-ui: ASCII Empty State component Centered "nothing here" state with ASCII glyph, heading, and optional description. Usage: from "chirpui/ascii_empty.html" import ascii_empty call ascii_empty() end call ascii_empty(glyph="~", heading="No results", description="Try a different search.", variant="muted") end Variants: default, muted, accent -#} {% def ascii_empty(glyph="◇", heading="Nothing here", description="", variant="default", cls="") %} {% set variant = variant | validate_variant(("default","muted","accent"), "default") %}

{{ heading }}

{% if description %}

{{ description }}

{% end %}
{% slot %}
{% end %}