react-mousechase
Pretty UI React Components which involve 'chasing' the user's mouse position.
Installation
react-mousechase is available on NPM as react-mousechase:
npm install react-mousechase
MouseChaseBackground
import React from 'react';import MouseChaseBackground from 'react-mousechase'; const App = <div ="overflow-hidden"> <MouseChaseBackground = = = => <div ="image-cover one"></div> </MouseChaseBackground> </div> ;
MouseChaseIcon
import React from 'react';import MouseChaseIcon from 'react-mousechase'; const App = <MouseChaseIcon = = = = > <div ="image-cover two"></div> </MouseChaseIcon> ;