{# Inline spinner for buttons, loading states, etc. #} {% macro spinner(size="md", color="currentColor") %} {% set sizes = {"sm": "16px", "md": "24px", "lg": "32px", "xl": "48px"} %} {% set s = sizes.get(size, size) %} {% endmacro %}