svelte-svg-spinners
v0.2.1
Published
A collection of [SVG Spinners](https://github.com/n3r4zzurr0/svg-spinners) components for Svelte.
Downloads
238
Readme
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) 2024 Luis Luvia