Framer Motion - Visible
Utility React hook to trigger framer motion animations when a node is visible in the viewport.
Installation
npm i framer-motion-visible
Usage
{ const visibleAnimation = ; return <motionh1 ...visibleAnimation>children</motionh1>;}
Development
Uses microbundle for development setup.
Following command for running a dev library build.
npm run dev