{% comment %}
Component: Button (c-button)
Props:
label: Button text / accessible label
variant: primary | secondary | ghost | danger | link (default: primary)
size: sm | md | lg (default: md)
icon: icon name (optional)
icon_position: start | end (default: start)
href: url if rendering as link
type: button | submit | reset (default: button)
loading: boolean (default: false)
disabled: boolean (default: false)
attrs: extra HTML attributes dict
classes: extra CSS classes string
{% endcomment %}
{% if href %}
{% if icon and icon_position != "end" %}{% include "components/_icon_render.html" with name=icon %}{% endif %}
{% if label %}{{ label }}{% endif %}
{% if icon and icon_position == "end" %}{% include "components/_icon_render.html" with name=icon %}{% endif %}
{% else %}
{% endif %}