Skip to content

saket-bm-ai/react-motion-blur

 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 47.0%
  • TypeScript 34.3%
  • CSS 13.8%
  • HTML 4.9%