All Projects → JoshK2 → React Spinners Css

JoshK2 / React Spinners Css

Licence: mit
Amazing collection of React spinners components with pure css

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to React Spinners Css

vue-spinners-css
Amazing collection of Vue spinners components with pure css.
Stars: ✭ 50 (-78.45%)
Mutual labels:  progress, animations, spinners
Alive Progress
A new kind of Progress Bar, with real-time throughput, ETA, and very cool animations!
Stars: ✭ 2,940 (+1167.24%)
Mutual labels:  animations, progress, spinners
react-awesome-loaders
🚀 High quality, super responsive and completely customisable Loading Animations to insert into your website with single line of code.
Stars: ✭ 146 (-37.07%)
Mutual labels:  progress, spinners
Spinners React
Lightweight SVG/CSS spinners for React
Stars: ✭ 254 (+9.48%)
Mutual labels:  progress, spinners
spinners-angular
Lightweight SVG/CSS spinners for Angular
Stars: ✭ 21 (-90.95%)
Mutual labels:  progress, spinners
Whirl
CSS loading animations with minimal effort!
Stars: ✭ 774 (+233.62%)
Mutual labels:  progress, spinners
spinnies
Node.js module to create and manage multiple spinners in command-line interface programs
Stars: ✭ 111 (-52.16%)
Mutual labels:  progress, spinners
Zwmusicdownloadview
精仿唱吧App音乐下载进度按钮,完美快速集成使用(A beautiful musical download progress button which can show the progress and click to play Music after finishing)
Stars: ✭ 88 (-62.07%)
Mutual labels:  animations, progress
React Native Animated Spinkit
A collection of loading indicators for React Native
Stars: ✭ 186 (-19.83%)
Mutual labels:  animations, spinners
Swiftyanimate
Composable animations in Swift
Stars: ✭ 194 (-16.38%)
Mutual labels:  animations
React Native Modalfy
🥞 Modal citizen of React Native.
Stars: ✭ 212 (-8.62%)
Mutual labels:  animations
Babypiganimation
基本动画、位移动画、缩放动画、旋转动画、组动画、关键帧动画、贝塞尔曲线、进度条动画、复杂动画、OC动画、aniamtion、basicanimation等。
Stars: ✭ 192 (-17.24%)
Mutual labels:  animations
React Portfolio Template
Modern React Portfolio Template (FREE)
Stars: ✭ 188 (-18.97%)
Mutual labels:  animations
Progressmanager
⏳ Listen the progress of downloading and uploading in Okhttp, compatible Retrofit and Glide (一行代码即可监听 App 中所有网络链接的上传以及下载进度, 包括 Glide 的图片加载进度).
Stars: ✭ 2,463 (+961.64%)
Mutual labels:  progress
Motionlayoutexperiments
Collection of experiments, using motion layout.
Stars: ✭ 194 (-16.38%)
Mutual labels:  animations
Transition.css
Drop-in CSS transitions
Stars: ✭ 199 (-14.22%)
Mutual labels:  animations
Jelly
🌊 - Jelly is a library for animated, non-interactive & interactive viewcontroller transitions and presentations with the focus on a simple and yet flexible API.
Stars: ✭ 2,319 (+899.57%)
Mutual labels:  animations
Animatable Component
Animate once, use Everywhere! 💫
Stars: ✭ 188 (-18.97%)
Mutual labels:  animations
Stepindicator
StepIndicator is an iOS library that indicates steps in an animated way.
Stars: ✭ 229 (-1.29%)
Mutual labels:  progress
Srdownloadmanager
Powerful and easy-to-use file download manager based on NSURLSession. Provide download status, progress and completion callback block.
Stars: ✭ 221 (-4.74%)
Mutual labels:  progress

React Spinners CSS Loaders (Vue, Angular)

CircleCI bit components npm version GitHub stars code style: prettier GitHub license Twitter Follow

Amazing collection of React spinners components with pure css.
The React spinners are based on loading.io and from all over the web.
If you want to add your own spinner, please follow the contributing guidelines.

  • 💅No extra CSS imports
  • ✂️Zero dependencies
  • 📦Spinners can be installing separately

Live Demo

Browse components and explore their props with Bit.
Install specific react spinner component with npm, yarn or bit without having to install the whole project.
Install components and live demo

🚀 List of Spinners - PropTypes and Default Props

Each component accepts a color prop, and few accepts also size prop.
The default color prop is #7f58af.
Component that accepts size prop have a default size in pixel.

Spinner color: string size: number className: string style: object
<Circle/> #7f58af 64 "" {}
<Default/> #7f58af 80 "" {}
<Ellipsis/> #7f58af 80 "" {}
<DualRing/> #7f58af 80 "" {}
<Facebook/> #7f58af 80 "" {}
<Grid/> #7f58af 80 "" {}
<Heart/> #7f58af 80 "" {}
<Hourglass/> #7f58af 32 "" {}
<Ring/> #7f58af 80 "" {}
<Ripple/> #7f58af 80 "" {}
<Roller/> #7f58af - "" {}
<Spinner/> #7f58af - "" {}
<Orbitals/> #7f58af - "" {}
<Ouroboro/> #7f58af - "" {}

📦 Installation

Using npm to install react-spinners-css:

$ npm i --save react-spinners-css

Play and install react spinners with Bit

Install specific react spinner component with bit, npm or yarn without having to install the whole project.
Using bit to play with live demo, and try the spinners before install.

set npm regisetry config(one time action):

npm config set '@bit:registry' https://node.bit.dev

and use your favorite package manager:

npm i @bit/joshk.react-spinners-css.facebook
yarn add @bit/joshk.react-spinners-css.facebook
bit import joshk.react-spinners-css/facebook

💻 Usage Examples

you can use a random color from jotils

//using npm or yarn
import { Circle, Heart } from 'react-spinners-css';
//using bit
import Facebook from '@bit/joshk.react-spinners-css.facebook';
import { getRandomColor } from '@bit/joshk.jotils.get-random-color'
...
render() {
   return(
     <div>
       <Circle /> //default color is #7f58af
       <Circle color="red" />
       <Circle color="#be97e8" size={200} /> //size prop is number in pixel
       <Heart color={getRandomColor()} />
       <Facebook /> //default color is #7f58af
       <Facebook color="red" />
     </div>
   )
}

👾 Development

You can see the components locally by cloning this repo and doing the following steps:

  • Install dependencies from package.json, run: npm install.
  • Run the app in the development mode, run: npm run start.

🙌 Contributing

  • Pull requests and ⭐ stars are always welcome.
  • For bugs and feature requests, please create an issue.
  • If you want to add your own spinner, please follow the contributing guidelines.
  • If you want to update or add features to some spinner, please follow the contributing guidelines.

👏🏻 Support my open-source

If you like to support my open-source contributions please star and share this project. 💫

❔How to use with SSR?

  • How to use with Next.js?
    Install next-transpile-modules and set library CSS to be transpiled.
    Example configuration with the library package or with a Bit component:

    // next.config.js
    const withTM = require('next-transpile-modules')([
      'react-spinners-css',
      '@bit/*',
    ]) // pass the modules you would like to see transpiled
    
    module.exports = withTM()
    
  • How to use with Razzle?
    Create razzle.config.js file and add the following:

    const nodeExternals = require('webpack-node-externals')
    
    module.exports = {
      modify: (config, { target, dev }) => {
        config.externals =
          target === 'node'
            ? [
                nodeExternals({
                  whitelist: [
                    dev ? 'webpack/hot/poll?300' : null,
                    /\.(eot|woff|woff2|ttf|otf)$/,
                    /\.(svg|png|jpg|jpeg|gif|ico)$/,
                    /\.(mp4|mp3|ogg|swf|webp)$/,
                    /\.(css|scss|sass|sss|less)$/,
                    /^react-spinners-css/,
                    /^@bit\/(.*)/,
                  ].filter(Boolean),
                }),
              ]
            : []
        return config
      },
    }
    
    

    This is a simple example based on the Razzle repo.

📄 License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].