svg-loader-react
TypeScript icon, indicating that this package has built-in type declarations

0.1.9 • Public • Published

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

Name Usage output
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.

Readme

Keywords

none

Package Sidebar

Install

npm i svg-loader-react

Weekly Downloads

15

Version

0.1.9

License

MIT

Unpacked Size

658 kB

Total Files

72

Last publish

Collaborators

  • saikrishna26