0.1.9 • Published 2 years ago

svg-loader-react v0.1.9

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

svg-loader-react

Add smooth, fast loaders to your react code with ease

Installation

To install the package, run the following command: npm install svg-loader-react

Usage

To use Loader in you project

import Loader from svg-loader-react
function App(){
    return(
             <Loader name="Audio" />
        )
}

output

Audio

Available Loaders

NameUsageoutput
Audio<Loader name="audio"/>Audio-svg
Ball Triangle<Loader name="balltriangle"/>Ball-Triangle
Bars<Loader name="bars"/>Bars
Circles<Loader name="circles"/>Circles
Grid<Loader name="grid"/>grid
hearts<Loader name="hearts"/>hearts
oval<Loader name="oval"/>oval
puff<Loader name="puff"/>puff
rings<Loader name="rings"/>rings
spinningcircle<Loader name="spinningcircle"/>spinningcircle
tailspin<Loader name="tailspin"/>tailspin
threedots<Loader name="threedots"/>threedots

Options

You can pass the following options to the Loader function: | Name | Type | default | | :------------: | :-------------------------------: | :--------------------------------------------: | | width | number | 45 | | height | number | 45 | | color | string | 🟨 |

License

This project is licensed under the MIT License - see the LICENSE file for details.

0.1.8

2 years ago

0.1.7

2 years ago

0.1.9

2 years ago

0.1.4

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago