![chrome_54Uk8Qpx8p](https://user-images.githubusercontent.com/54861487/86740454-4a074e00-c054-11ea-8d35-ddcb438982e7.png)


Keywords
vuejs, preloader, loader, spinner, loading, vue
License
MIT
Install
npm install vue-ui-preloader@1.1.1

Documentation

chrome_54Uk8Qpx8p

Netlify Status

Demo and playground

Live demo - https://vue-preloader.netlify.app/

Playground Website. Adjust the settings using the playground options. On the bottom of the page you will find the source code that you can directly use in your project or you can manually change the props.

Installation

# use yarn
yarn add 
# use npm
npm install --save 

Usage

In your main.js

import Vue from 'vue'

In your template

<template>
  <loader object="#ff7b00" 
    color1="#ffffff" 
    color2="#17fd3d" 
    size="5" 
    speed="2" 
    bg="#343a40" 
    objectbg="#999793" 
    opacity="100" 
    name="circular">
  </loader>
</template>

note(you can either use the playground website to automatically get all the props set or you can set them manaully using the below prop list. You can also resort to not passing any prop, in this case the preloader will use default settings.)

Props

Name Type Default Description
name string 'spinning' decides the type of loader
object string '#ff9633' set the color of the loaders. hex or color
color1 string only for circular set the color of the circular loader disk1. hex or color
color2 string only for circular set the color of the circular loader disk2. hex or color
size number 5 set the size of loader
bg string '#343a40' set the color of the loader background. hex or color
objectbg string '#999793' set the color of the loader object background. hex or color
opacity number 80 set the opacity of background
speed number 2 animation speed in seconds

Author

© Vinayak sharma Hrishikesh Agarwal