Home

Awesome

React Blur

React component for creating blurred backgrounds using canvas.

react-blur

Installation

npm install react-blur --save

Usage

import Blur from "react-blur";

Example

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

For a complete example see the code in the demo branch.

Props

Contributing

Thanks to Quasimodo for the original stack blur algorithm.