https://github.com/wcandillon/react-progressive-image-loading
Progressively load images using a blur effect.
https://github.com/wcandillon/react-progressive-image-loading
progressive-image react
Last synced: 12 months ago
JSON representation
Progressively load images using a blur effect.
- Host: GitHub
- URL: https://github.com/wcandillon/react-progressive-image-loading
- Owner: wcandillon
- License: apache-2.0
- Created: 2017-05-01T13:00:30.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-08-11T04:05:46.000Z (almost 5 years ago)
- Last Synced: 2025-02-02T03:51:29.211Z (over 1 year ago)
- Topics: progressive-image, react
- Language: TypeScript
- Size: 55.7 KB
- Stars: 120
- Watchers: 5
- Forks: 18
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# React Progressive Image Loading
Progressively load images using a blur effect.
[](https://circleci.com/gh/wcandillon/react-progressive-image-loading)
[](https://badge.fury.io/js/react-progressive-image-loading)

## Installation
```bash
$ npm install react-progressive-image-loading --save
```
## Import
```jsx
import ProgressiveImage from "react-progressive-image-loading";
```
## Usage
```jsx
}
/>
```
Instead of using the `img` tag, you can use `background-image` with a `div`.
```jsx
}
/>
```
You can also customize the transition time and the timing function used for that transition.
```jsx
}
/>
```