This Package is the Sam Herbert svg loaders implementation for elm
The Loaders can be previewed at:
http:https://elm-loaders.surge.sh/
I've implemented all the loaders available:
- Audio
- Ball Triangle
- Bars
- Circles
- Grid
- Hearts
- Oval
- Puff
- Rings
- SpinningCircles
- TailSpin
- ThreeDots
elm install jouderianjr/elm-loaders
import Loaders
view : Html msg
view =
div [] [ Loaders.tailSpin 40 "#ff0000" ]
PS. The number that is passed as parameter is always the width, then the height adjusts in the correct ratio.