1.0.0 • Published 6 years ago

react-motion-blur v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

react-motion-blur

Apply a motion blur visual effect to any element

NPM

Install

npm install --save react-motion-blur

Usage

import * as React from "react";
import {MotionBlur} from "react-motion-blur";


const Example = () => (
  <MotionBlur intensity={2}>
    <img src="https://example.com/image.png"/>
    <div className="whatever-you-want">
      Any HTML content can go in here!
    </div>
    No need for wrappers or anything.
  </MotionBlur>
);

License

MIT © kroltan