resnow

1.0.0 • Public • Published

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>
)
Prop Effect
max Number of particles. Default: 32
speed Speed of particles, in ms. Default: 32
color Color of particles. Default: rgba(255, 255, 255, 0.75)
width/height Size of <canvas>. Default: 1024x768, but fills browser window

License

MIT © @lachlanjc

Readme

Keywords

none

Package Sidebar

Install

npm i resnow

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

33.1 kB

Total Files

8

Last publish

Collaborators

  • lachlanjc