1.0.14 • Published 2 years ago

react-move-element v1.0.14

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
2 years ago

React-move-element

Rotating element with your mouse movement in React

React-move-element is a react component that rotates your element(s) by tracking your mouse movements and scroll on your pages in React.

  • Track your mouse & scroll
  • Light package
  • React v.16 and higher

Installation

yarn add react-move-element
npm install react-move-element

Using

  import RotatingElement from 'react-move-element'

 <RotatingElement isFixed={isFixed}>
     <img
        src={"/fileName"}
        height={}
        width={}
        alt="exemple"
    />
 </RotatingElement>

Props

PropsDescription
isFixedisFixed indicates that that the element is fixed on the page

Exemple with props isFixed:

 <RotatingElement isFixed={false}></RotatingElement>
1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago