wavefunk-ui 0.1.5

Askama and htmx UI component base for Wave Funk Rust applications.
Documentation
1
2
3
4
5
<div class="{{ self.class_name() }}">
{%- for option in options -%}
  <button class="wf-seg-opt{% if option.active %} is-active{% endif %}" type="button" value="{{ option.value }}">{{ option.label }}</button>
{%- endfor -%}
</div>