Skip to content
R

react-blur

React component for blurred backgrounds

by javierbyteOpen source

#1296in UI Libraries
0In stores

Description

React Blur is a React component that creates a blurred background from an image, using a canvas to do the blur work. You pass it the image p…

Highlights

  • Blurred image backgrounds drawn on a canvas
  • Adjustable blur radius
  • Optional resize redraw with a set interval
  • Base styles can be turned off for custom CSS

Ratings & Reviews

No ratings yet

Be the first to rate react-blur.

People also visit

G

gatsby-background-image

Lazy-loading React background-image component

UI Libraries
Launch
R

react-slider

Slider component for React

UI Libraries
Launch
R

react-sidebar

A sidebar component for React

UI Libraries
Launch
R

react-intense

A React component for viewing large images up close

UI Libraries
Launch
R

react-slick

React carousel component

UI Libraries
Launch
R

react-slider

Slider component for React

UI Libraries
Launch

react-blur FAQ

What does React Blur do?

It is a React component that shows a blurred version of an image as a background, drawn with a canvas.

How do I control the blur?

Set the blurRadius prop to change its size. The img prop takes the path to the image.

Does it update when the window resizes?

By default yes. The shouldResize prop turns redrawing on resize on or off, and resizeInterval sets how often it redraws, with a default of 128 ms.

Is it open source?

The code is public on GitHub, and the README includes an example in the demo branch.

What are the best react-blur alternatives?

Popular alternatives to react-blur include gatsby-background-image, react-slider and react-sidebar. See all react-blur alternatives

Developer Stuff

Badges