https://github.com/motion/HoverGlow
A React component to make H ☀️ V E R G L O W S
https://github.com/motion/HoverGlow
Last synced: 15 days ago
JSON representation
A React component to make H ☀️ V E R G L O W S
- Host: GitHub
- URL: https://github.com/motion/HoverGlow
- Owner: motion
- Created: 2016-08-16T05:10:11.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-02-24T00:11:15.000Z (over 9 years ago)
- Last Synced: 2025-04-20T22:54:00.860Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 717 KB
- Stars: 57
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-github-projects - HoverGlow - A React component to make H ☀️ V E R G L O W S ⭐57 `JavaScript` (📦 Legacy & Inactive Projects)
README
## hoverglow

Make glows that hover.
```
npm install --save hoverglow
```
#### Props
```js
static defaultProps = {
width: 380,
height: 200,
color: [0,0,0],
zIndex: 100,
resist: 0,
scale: 1,
opacity: 0.025,
boundPct: null,
borderRadius: 100,
shadowSize: null,
shadowOffsetTop: 0,
shadowOffsetLeft: 0,
clickable: false,
clickDuration: 150,
clickScale: 2,
transition: 1000,
}
```
#### Usage
```js
class {
render() {
render (
...
)
}
}
```