{#- chirp-ui: Aspect Ratio Fixed-ratio frame for media, previews, charts, and embedded content. Usage: from "chirpui/aspect_ratio.html" import aspect_ratio {% call aspect_ratio("16 / 9") %} {% end %} -#} {% def aspect_ratio(ratio="16 / 9", cls="", attrs_map=none) %} {% set _ratio = ratio if ratio else "16 / 9" %}
{% slot %}
{% end %}