Spring Loaders React Component
Loading Spinner: Spring Loaders with Rebound and Canvas
-
Loading Spinners - Choose one of the settings available
-
Make Your Own - Configure any loading spinner made of polygonal shapes
Demo
Install
npm install --save react-spring-loaders
Usage
import React Component from 'react' import SpringLoader from "react-spring-loaders"; const settings = rebound: tension: 14 friction: 10 spinner: id: "spinner" radius: 90 sides: 6 depth: 8 colors: background: "#00272C" stroke: null base: null child: "#02C39A" alwaysForward: true // When false the spring will reverse normally. restAt: null // A number from 0.1 to 0.9 || null for full rotation renderBase: false ; { return <div> <SpringLoader = /> /* Default Settings <SpringLoader /> */ </div> ; }
License
MIT © kalifa17