Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 522 Bytes

README.md

File metadata and controls

27 lines (15 loc) · 522 Bytes

React Blur

React component for creating blurred backgrounds.

Live demo

react-blur

Installation

npm install react-blur --save

Usage

var Blur = require('react-blur');

<Blur img='/directory/img.jpg' blurRadius={5}>
    The content.
</Blur>

Props.

  • img: The image path.
  • blurRadius: The size of the blur radius.

Thanks to Quasimodo for the algorithm.