All Projects → Fuxy526 → vue-snowf

Fuxy526 / vue-snowf

Licence: MIT license
Snowfall component for Vue.js, let it snow on your page! ❄ demo: https://fuxy526.github.io/snowf/

Programming Languages

Vue
7211 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to vue-snowf

snowworker
Website snow! It'll settle on anything that has a .rooftop class.
Stars: ✭ 25 (-34.21%)
Mutual labels:  snowflake, snow
laravel-snowflake
This Laravel package to generate 64 bit identifier like the snowflake within Twitter.
Stars: ✭ 94 (+147.37%)
Mutual labels:  snowflake
vue-progressbar-component
[CSS GPU Animation] Simple progressbar for vuejs
Stars: ✭ 13 (-65.79%)
Mutual labels:  vue-component
vue-collapse
A simple collapse component for Vue.js
Stars: ✭ 34 (-10.53%)
Mutual labels:  vue-component
vue-cute-rate
Simple to use and very cute rate component for Vue.js.
Stars: ✭ 43 (+13.16%)
Mutual labels:  vue-component
snowflake
Yet another snowflake
Stars: ✭ 22 (-42.11%)
Mutual labels:  snowflake
sno
Compact, sortable and fast unique IDs with embedded metadata.
Stars: ✭ 77 (+102.63%)
Mutual labels:  snowflake
sunflake
Zero dependency, lightweight, snowflake generator
Stars: ✭ 17 (-55.26%)
Mutual labels:  snowflake
go-snowflake
❄ An Lock Free ID Generator for Golang based on Snowflake Algorithm (Twitter announced).
Stars: ✭ 206 (+442.11%)
Mutual labels:  snowflake
xcrop
Mobile image cropping component - Vue React 移动端裁剪组件
Stars: ✭ 27 (-28.95%)
Mutual labels:  vue-component
DBTestCompare
Application to compare results of two SQL queries
Stars: ✭ 15 (-60.53%)
Mutual labels:  snowflake
Excelerator
This is an Excel Addin for Windows that reads and writes data to Snowflake
Stars: ✭ 53 (+39.47%)
Mutual labels:  snowflake
vue-component-devtool
Vue 组件开发模板
Stars: ✭ 32 (-15.79%)
Mutual labels:  vue-component
vue-pagination-minemine
使用 vue2.0 实现一个简洁的分页组件
Stars: ✭ 52 (+36.84%)
Mutual labels:  vue-component
unique-ui
一个用于Vue2.x的移动端组件库
Stars: ✭ 43 (+13.16%)
Mutual labels:  vue-component
vuejs-countdown-timer
⏱ Vue 2 event countdown and timer component
Stars: ✭ 47 (+23.68%)
Mutual labels:  vue-component
vue-crop
[举个例子]https://codesandbox.io/s/910ro8ym9r [演示链接(戳我直达)]http://www.wwwwxy.top/html/blg/
Stars: ✭ 38 (+0%)
Mutual labels:  vue-component
snowflake
a language
Stars: ✭ 16 (-57.89%)
Mutual labels:  snowflake
ui-nuclear-mobile
A configurable Mobile UI based on Antd Mobile and Vue
Stars: ✭ 61 (+60.53%)
Mutual labels:  vue-component
shadow
Shadow dom support for Vue
Stars: ✭ 46 (+21.05%)
Mutual labels:  vue-component

vue-snowf

Version Downloads License

Snowfall component for Vue.js -- Let it snow on your page!

Install

npm:

npm install vue-snowf --save

Usage

import Snowf from 'vue-snowf';

// Add Snowf to the components
export default {
  components: {
	  Snowf
  },
  ...
}

// Insert component in the template
<Snowf
  :amount="50"
  :size="5"
  :speed="1.5"
  :wind="0"
  :opacity="0.8"
  :swing="1"
  :image="null"
  :zIndex="null"
  :resize="true"
  color="#fff"
/>

Default Options

Argument Type Default Value Description
amount Number 50 Number of snowflakes displayed at a time.
size Number 5 Size of snowflakes.
speed Number 1.5 Vertical speed of snowflakes. The larger, the snowflakes drop faster.
wind Number 0 Horizontal wind power. Wind will blow right if this is a positive number, and a negative number makes wind blow left.
color String '#fff' Color of snowflakes. This option accepts HEX or RGB color code, such as "#fff", "#ffffff", "rgb(255,255,255)".
opacity Number 0.8 The max opacity of snowflakes. The plugin will generate snowflakes with different opacity from 0 to this number.
swing Number 1 Swing offset of snowflakes. If you don't want them to swing, set this option as 0.
image String null Set this option to replace the snowflake with your image.
zIndex Number null Position of the canvas layer. Set the layer front or back by changing this value.
resize Boolean true Adjust canvas size and snowflakes position automatically or not.

Others

snowf (use snowf with Vanilla JS)

react-snowf (use snowf with React)

Licence

vue-snowf is open source and released under the MIT Licence.

Copyright (c) 2017 Fuxy526

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].