Command Palette

Search for a command to run...

Back to Components
Animation

Scroll Reveal

Elements that animate in when scrolled into view

React
Framer Motion
TypeScript

Scroll Reveal

This content animates in when scrolled into view

Installation

This component requires the following dependencies:

npm install framer-motion

Props

PropTypeDefaultDescription
childrenReactNode-Content to reveal
classNamestring-Additional CSS classes
delaynumber0Animation delay in seconds
direction"up" | "down" | "left" | "right""up"Direction to animate from