Skip to content

johnroma/react-parallax

Repository files navigation

React Parallax Component

Pass in three images that will be used to create a parallax effect. The images will be layered on top of each other and move at different speeds to create a 3D effect connected to the mouse movement.

Installation

pnpm install framermotion-parallax

Usage

import { Parallax } from 'framermotion-parallax';
 <Parallax bg='https://placehold.co/600x400/EEE/31343C' foreground={`https://placehold.co/600x400/EEE/31343C`}

About

standalone parallax experiments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published