{% component ui.icon(name: string) -%} {%- endcomponent ui.icon %} {% component ui.badge(label: string, variant: string = "default") -%} {{ label }} {%- endcomponent ui.badge %} {% component ui.button(label: string, variant: string = "primary", size: string = "md", ...attrs) -%} {%- endcomponent ui.button %} {% component ui.card(title: string = "", ...attrs) %}
{%- if title %}

{{ title }}

{%- endif %}
{{ body | safe }}
{% endcomponent ui.card %} {% component ui.alert(variant: string = "info", dismissible: bool = false) %} {% endcomponent ui.alert %} {% component ui.stat(label: string, value, icon: string = "", trend: string = "") -%}
{%- if icon %}
{{ }}
{%- endif %}
{{ value }}
{{ label }}
{%- if trend %}
{{ }}
{%- endif %}
{%- endcomponent ui.stat %} {% component ui.nav.item(label: string, href: string = "#", icon: string = "", children: array = [], active: bool = false) %} {% endcomponent ui.nav.item %} {% component ui.table(headers: array, rows: array, ...attrs) %} {%- for header in headers %} {%- endfor %} {%- for row in rows %} {%- for cell in row %} {%- endfor %} {%- endfor %}
{{ header }}
{{ cell }}
{% endcomponent ui.table %} {% component layout.section(title: string = "", subtitle: string = "", ...attrs) %}
{%- if title %}

{{ title }}

{%- if subtitle %}

{{ subtitle }}

{%- endif %}
{%- endif %}
{{ body }}
{% endcomponent layout.section %}