vue-swirl

Vue Swirl (loading component)
2,138
Install
npm install vue-swirl
Latest Version:1.0.25
Vue:3
License:MIT
Last Updated:Jun 12, 2023
Links: npm
Maintainer: emresolmaz

Vue Swirl (loading component)

Easy to use loading animation package in vuejs.

• Contact

npm version install size npm downloads code coverage npm bundle size Known Vulnerabilities

Browser Support

Chrome Firefox Safari Opera Edge IE
Latest ✔ Latest ✔ Latest ✔ Latest ✔ Latest ✔ 11 ✔

Installing

Package manager

Using npm:

$ npm install vue-swirl

Using yarn:

$ yarn add vue-swirl

After the package is installed, include it in your project using import or require in the main.js folder in the main directory:

import VueSwirl from 'vue-swirl';

then use the folder you imported into the same folder (main.js):

app.use(VueSwirl);
// Or
appInstance.use(VueSwirl);

Usage

To use this package, after completing the import, enter any component and add <vue-swirl></vue-swirl> to the beginning of any element.

<template>
    <div>
        <h1>Vue Swirl!</h1>
        <vue-swirl>   
            <p>A best loading package.</p>
        </vue-swirl>   
    </div>
</templa
type
  • block
  • circle (default)
  • bars
  • dots
color
  • the code of each color you want or its full name in html. (red, #FFFF ..)
  • #191919 default

Example

    <vue-swirl type="block" color="#191919">   
        /////
    </vue-swirl>   

Resources

Credits

vue-swirl is heavily influenced by loading gifs and .svg animations

License

emresolmaz.com.tr

Related Packages

@tomjs/vite-plugin-html

A Vite plugin for handling HTML files, providing compression, template, and CDN...

3,753 3
create-xg

前端模板库

1,197
axios-progress-bar

Slim progress bar (NProgress) for Web applications that use Axios library for HT...

224,641 248
x-axios-progress-bar

Slim progress bar (NProgress) for Web applications that use Axios library for HT...

10,074 1
vite-ssr

Vite utility for server side rendering

64,502 833

Version History

Version Released Vue License
1.0.25 ^3.2.25 MIT
1.0.24 ^3.2.25 MIT
1.0.23 ^3.2.25 MIT
1.0.22 ^3.2.25 MIT
1.0.21 ^3.2.25 MIT