{#- chirp-ui: Bento Grid Asymmetric grid layout for feature showcases and dashboards. For asymmetric fr tracks (e.g. 2fr 1fr 1fr) without this component’s default card chrome, use grid() from chirpui/layout.html with preset="bento-211". Usage: from "chirpui/bento_grid.html" import bento_grid, bento_item call bento_grid() call bento_item(span=2)

Wide feature

end call bento_item()

Normal item

end call bento_item(span_row=true)

Tall item

end end -#} {% def bento_grid(cols=3, cls="") %}
{% slot %}
{% end %} {% def bento_item(span=none, span_row=false, cls="") %} {% set span_class = " chirpui-bento__item--span-2" if span == 2 else " chirpui-bento__item--span-full" if span == "full" else "" %} {% set row_class = " chirpui-bento__item--span-row" if span_row else "" %}
{% slot %}
{% end %}