0.2.0 • Published 2 years ago
svelte-svg-spinners v0.2.0
Svelte SVG Spinners
A collection of SVG Spinners components for Svelte.
Installation
npm install svelte-svg-spinners
Usage
<script>
import { Pulse } from 'svelte-svg-spinners'
</script>
<Pulse />
API
<SpinnerComponent />
Options
Property | Options | Description |
---|---|---|
size | number | Specifies the size of the spinner |
width | number | Specifies the width of the spinner |
height | number | Specifies the height of the spinner |
class | string | Specifies the classes of the spinner |
color | string | Color of the spinner |
dur | string | Duration of spinner animation |
ariaHidden | boolean | Set aria-hidden attribute |
Preview
License
MIT (c) 2022 Luis Luvia