Course lesson
Use Framer Motion initial Prop to Define the Beginning State of Animations
Add the initial prop to a motion component to tell Framer what state you want the element to be in when the page first loads. It will animate from that state to the state you declared in the animate prop.
- Duration
- 2 min
- Access
- Free
- Transcript
- Retained from source evidence
Add the initial prop to a motion component to tell Framer what state you want the element to be in when the page first loads. It will animate from that state to the state you declared in the animate prop.