1.0.0 • Published 5 years ago

resnow v1.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

resnow ❄️

React component for snow on your webpage ☃️

npm](https://www.npmjs.com/package/resnow)

Install

npm install --save resnow
yarn add resnow

Usage

import React from 'react'
import Snow from 'resnow'

export default () => (
  <div style={{ background: 'blue' }}>
    <Snow />
  </div>
)
PropEffect
maxNumber of particles. Default: 32
speedSpeed of particles, in ms. Default: 32
colorColor of particles. Default: rgba(255, 255, 255, 0.75)
width/heightSize of <canvas>. Default: 1024x768, but fills browser window

License

MIT © @lachlanjc