5.0.0 • Published 7 months ago

astro-svg-loaders v5.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

🚀 Astro SVG Loaders

version downloads github actions typescript makepr

This Astro package provides you with a collection of loading animations built with pure SVG by the amazing @sherb.

📦 Installation

This package is hosted on npm.

npm install astro-svg-loaders

Or using yarn

yarn add astro-svg-loaders

🥑 Usage

To add a loading indicator in any of your Astro pages or components, just import a loader from astro-svg-loaders then use it inside the your HTML:

---
import { SpinningCircles } from "astro-svg-loaders"
---

<html lang="en">
    <body>
        // renders a spining cercle animation
        <p>Please wait while content is loading</p>
        <SpinningCircles />
    </body>
</html>

List of all available loaders:

Note

You can check a demo of all the available animations here

// renders all available loader animations
<Audio />
<BallTriangle />
<Bars />
<Circles />
<Grid />
<Hearts />
<Oval />
<Puff />
<Rings />
<SpinningCircles />
<TailSpin />
<ThreeDots />

Change log

Please see the changelog for more information on what has changed recently.

Acknowledgements

Astro SVG Loaders relies heavily on the amazing work Sam Herbert is doing developing: SVG-Loaders , Thanks Sam! ❤️

5.0.0

7 months ago

4.1.0

8 months ago

4.0.1

1 year ago

4.0.0

2 years ago

3.1.1

2 years ago

3.1.0

2 years ago

3.0.0

2 years ago

2.2.0

2 years ago

2.1.0

2 years ago

1.2.2

3 years ago

2.0.0

2 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago