# react-mousechase

> Pretty UI React Components which involve 'chasing' the user's mouse position

Latest version **1.1.0** (published 2020-06-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-mousechase
pnpm add react-mousechase
yarn add react-mousechase
bun add react-mousechase
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2020-06-08 |
| First published | 2019-04-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 1.8 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Thomas English |
| Maintainers | englishtom |
| Keywords | react, ui, component, mouse, chase, mousechase |

## Links

- npm: https://www.npmjs.com/package/react-mousechase
- Repository: https://github.com/englishtom/react-mousechase
- Homepage: https://github.com/englishtom/react-mousechase#readme
- Issues: https://github.com/englishtom/react-mousechase/issues
- npm.io page: https://npm.io/package/react-mousechase

## Dependencies (3)

- [react](https://npm.io/package/react.md) ^16.8.6
- [classnames](https://npm.io/package/classnames.md) ^2.2.6
- [prop-types](https://npm.io/package/prop-types.md) ^15.7.2

## Alternatives

- [@progress/kendo-ooxml](https://npm.io/package/@progress/kendo-ooxml.md) — 152.1K weekly downloads
- [@progress/kendo-react-ripple](https://npm.io/package/@progress/kendo-react-ripple.md) — 8.0K weekly downloads
- [@progress/kendo-react-orgchart](https://npm.io/package/@progress/kendo-react-orgchart.md) — 4.3K weekly downloads
- [@praxisui/dynamic-fields](https://npm.io/package/@praxisui/dynamic-fields.md) — 2.4K weekly downloads
- [@mesalvo/react-ui](https://npm.io/package/@mesalvo/react-ui.md) — 1.7K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2020-06-08
- 1.0.0 — 2019-04-18

## README

# react-mousechase
Pretty UI React Components which involve 'chasing' the user's mouse position.

[Demo Online](https://englishtom.github.io/#/react-mousechase/)

## Installation

react-mousechase is available on NPM as **react-mousechase**:

```
npm install react-mousechase
```

## MouseChaseBackground

```jsx
import React from 'react';
import {
    MouseChaseBackground,
} from 'react-mousechase';

const App = () => (
        <div className="overflow-hidden">
            <MouseChaseBackground invert={true} friction={0.05} disabled={false} disabledOnMouseout={true}>
                <div className="image-cover one"></div>
            </MouseChaseBackground>
        </div>
)

export default App;
```

## MouseChaseIcon

```jsx
import React from 'react';
import {
    MouseChaseIcon,
} from 'react-mousechase';

const App = () => (
    <MouseChaseIcon 
        icon={icon} 
        onClick={() => alert('You clicked the icon!')}
        friction={0.1}
        disabled={false}
    >
        <div className="image-cover two"></div>
    </MouseChaseIcon>
)

export default App;
```

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