Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 652 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 652 Bytes

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