react-motion-blur
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i react-motion-blur

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

50.1 kB

Total Files

8

Last publish

Collaborators

  • kroltan