In the UI Starter Kit, there are some button components. The loading state has a left icon of a circle with a notch that rotates perpetually. I’m not sure what properties are making that happen to recreate it on my own buttons. The animation properties are default.
Do your own animation with CSS, as it seems like this is a feature that is not yet out. But I might be wrong. I don’t think that you can loop animations for now.
The animations update should be coming soon though, allowing to do this in no-code as well.
I like to create a flexbox that has a loader and button inside of it. then i give the loader an absolute positioning and position it wherever I want in the button. then I create a variable that is true when the loading state is active and false otherwise. finally I bind the visibility of the loader to that variable.