{#- chirp-ui: Stat component Label + value pair for followers, views, KPIs, etc. Usage: from "chirpui/stat.html" import stat stat(value="1.2K", label="Followers") stat(value="42", label="Videos", icon="▶") -#} {% def stat(value, label, icon=none, cls="") %}
{% if icon %} {{ icon | icon }} {% end %} {{ value }} {{ label }}
{% end %}