Parallax Scroll
Layered parallax scroll card that offsets shapes at different speeds.
Parallax
Parallax scroll focus
Layered shapes move at different speeds to create depth as you scroll.
Velocity
1.3x
Depth
240px
Cadence
Smooth
Dependencies
- clsx
- tailwind-merge
Files
- components/ui/parallax-scroll.tsx
Installation
Using shadcn CLI
npx shadcn add parallax-scroll --url https://ui.hampton.ioManual installation
Copy the component file to your project and install dependencies:
npm install clsx tailwind-mergeRelated Effects Components
Animated Beam Connectors
Animated connector beams that link nodes with a flowing motion trail.
Animated Border Gradient
Animated conic gradient border wrapper with configurable radius and hover pause.
Animated Marquee Strip
An infinite scrolling strip with premium cards for logos, partners, or testimonials.
Confetti
Animated confetti effect component perfect for celebrations. Includes a ready-to-use ConfettiButton wrapper.
Confetti Burst
Triggered confetti celebration effect that bursts outward from the center.
Cursor Spotlight
A spotlight section that tracks the cursor and reveals content inside the highlight.