0.1.2 • Published 2 years ago

helpful-motion-hooks v0.1.2

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

helpful-motion-hooks

Just some helpful framer motion hooks

useParallax

import { useParallax } from 'helpful-motion-hooks'

const parallaxRef = useRef()
const [ty, invty] = useParallax(ref)

useRelativeMouseFollow

import { useRelativeMouseFollow } from 'helpful-motion-hooks'

const followRef = useRef()
const [rx, ry] = useRelativeMouseFollow(ref)
0.1.2

2 years ago

0.1.0

2 years ago

0.1.1

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago