muddle/modules/amezing/components/audio-button.spug
2026-10-23 08:53:07 -04:00

5 lines
No EOL
289 B
Text

<button class="audio-button" {{ if accentStyle }}{{ accentStyle | safe }}{{ end }}>
{%- set icon = load_data(path="icons/phosphor/" ~ "music" ~ ".svg", required=false) -%}
{%- if icon -%}{{ icon | safe }}{{ else }}🎵{{ end }}
<span class="audio-button-label">Audio</span>
</button>