Timeline Animation

A timeline animation built with Framer Motion that animates sections one after another as they enter the viewport. Supports an animationNum prop to control when each item in the timeline animates.

Installation

npx uilayouts@latest add framer-timeline

Props

PropTypeDefaultDescription
childrenReact.ReactNodeThe content to be displayed within the timeline.
askeyof HTMLElementTagNameMapdivThe HTML element to use for the timeline.
timelineRefReact.RefObject<HTMLDivElement>A reference to the timeline element for manipulation.
oncebooleanfalseWhether to animate only once.
variantsVariantsA set of variants to animate the timeline.