Scroll Progress 3D

NewPremium

3D scene that rotates and scales based on page scroll progress. Wireframe icosahedron with direction-aware coloring.

three3dscrollprogresswebgldirection-aware
Dependencies: @react-three/fiber, three

Installation

Terminalbash
npx motioncraft add scroll-progress-3d

Usage

scroll-progress-3d.tsxtsx
import { ScrollProgress3D } from "@/components/three/scroll-progress-3d";

<ScrollProgress3D wireframe stages={4} className="h-96" />

Props

PropTypeDefaultDescription
wireframebooleantrueShow wireframe
stagesnumber4Number of morph stages
classNamestringAdditional CSS classes

Related Components