<
button-play-audio
/>
A button plays an audio file from a url
Button can have icons (unicode, emojis), using the icon slot
🌍
↬
yet an other click
But why?
An icon can also be a google material symbol, using the symbol and symbol-type attribute
It is also possible to use the font-awesome library, for icons and animations, using the faattribute, like you'd use the class attribute. fa-play attribute, will add these classes only when the audio is playing (and can be used with google material symbol too)
Button with an icon slot, with a lottie-player animation inside