0.1.2 • Published 6 months ago

helpful-motion-hooks v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months 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

6 months ago

0.1.0

1 year ago

0.1.1

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago