Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
vue-spinners-css
Advanced tools
Readme
Browse components and explore their props with Bit.
Install specific vue spinner component with npm, yarn, unpkg or bit without having to install the whole project.
Install components and live demo
Each component accepts a color
prop, and loading
prop.
The default color
prop is #7f58af
.
The default loading
prop is true
.
Spinner | color: string | loading: boolean |
---|---|---|
Circle Spinner | #7f58af | true |
Default Spinner | #7f58af | true |
DualRing Spinner | #7f58af | true |
Ellipsis Spinner | #7f58af | true |
Facebook Spinner | #7f58af | true |
Grid Spinner | #7f58af | true |
Heart Spinner | #7f58af | true |
Hourglass Spinner | #7f58af | true |
Ring Spinner | #7f58af | true |
Ripple Spinner | #7f58af | true |
Roller Spinner | #7f58af | true |
Spinner Spinner | #7f58af | true |
Orbitals Spinner | #7f58af | true |
$ npm i --save vue-spinners-css
Install specific vue 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.vue-spinners-css.facebook-loader
yarn add @bit/joshk.vue-spinners-css.facebook-loader
bit import joshk.vue-spinners-css/facebook-loader
you can use a random color from jotils
import Vue from 'vue'
import * as VueSpinnersCss from "vue-spinners-css";
Vue.use(VueSpinnersCss)
// Each spinner can now be used in your templates anywhere in the app!
<template>
<FacebookLoader :color="randomcolor" />
<FacebookLoader />
</template>
<script>
//using npm or yarn
import { FacebookLoader } from 'vue-spinners-css';
//using bit
import FacebookLoader from '@bit/joshk.vue-spinners-css.facebook-loader';
import { getRandomColor } from '@bit/joshk.jotils.get-random-color'
export default ({
data: () => ({
randomcolor: getRandomColor()
}),
components: {
FacebookLoader,
}
})
</script>
<!--Load libraries in your page's header-->
<script src="https://unpkg.com/vue"></script>
<script src="https://unpkg.com/vue-spinners-css"></script>
<!--Use a component somewhere in your app-->
<div id="app">
<facebook-loader color="blue" />
</div>
<script>
new Vue({ el: '#app', data: { } })
</script>
You can see the components locally by cloning this repo and doing the following steps:
package.json
, run: npm install
.npm run serve
.If you like to support my open-source contributions and feeling generous, feel free to:
FAQs
[![CircleCI](https://circleci.com/gh/JoshK2/vue-spinners-css.svg?style=svg)](https://circleci.com/gh/JoshK2/vue-spinners-css) [![bit components](https://img.shields.io/badge/dynamic/json.svg?color=6e3991&label=bit%20components&query=payload.totalComponent
The npm package vue-spinners-css receives a total of 581 weekly downloads. As such, vue-spinners-css popularity was classified as not popular.
We found that vue-spinners-css demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.