# react-blur-mouseover

> This is a component for React that gives you the ability to view before and after photos with a blur circle.

Latest version **1.0.1** (published 2021-08-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-blur-mouseover
pnpm add react-blur-mouseover
yarn add react-blur-mouseover
bun add react-blur-mouseover
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2021-08-05 |
| First published | 2021-08-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 0 |
| Unpacked size | 13.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | saberap |
| Maintainers | saberap |

## Links

- npm: https://www.npmjs.com/package/react-blur-mouseover
- Repository: https://github.com/saberap/react-blur-mouseover
- npm.io page: https://npm.io/package/react-blur-mouseover

## Recent versions

- 1.0.1 (latest) — 2021-08-05
- 1.0.0 — 2021-08-05

## README

# react-blur-mouseover([demo](https://saberap.github.io/react-blur-mouseover/))

> This is a component for React that gives you the ability to view before and after photos with a blur circle.

[![NPM](https://img.shields.io/npm/v/react-blur-mouseover.svg)](https://www.npmjs.com/package/react-blur-mouseover) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save react-blur-mouseover
```

## Usage

```tsx
import React, { Component } from 'react'

import ReactBlurMouseover from 'react-blur-mouseover'

class Example extends Component {
  const firstImage = {
      src : 'image1.jpg',
      width: '100%',
      height: '500px'
  };
  const secondImage = {
      src : 'image2.jpg',
      width: '100%',
      height: '500px'
  };
  render() {
    return <ReactBlurMouseover
               firstImage={firstImage}
               secondImage={secondImage}
               radius={100}
               />
  }
}
```

## Props

| Property       | Type   | Default  | Description                        |
| -------------- | ------ | -------- | ---------------------------------- |
| `firstImage`   | object | Required | source, width and height of image. |
| `secondImage`  | object | Required | source, width and height of image. |
| `stdDeviation` | number | 5        | The amount of blur circle          |
| `radius`       | number | 50       | Radius of circle                   |



## License

MIT © [saberap](https://github.com/saberap)

---
_Source: https://npm.io/package/react-blur-mouseover · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
