Parallax Shapes Hero

Candy-colored shapes float at different depths and drift with the pointer and scroll, while the last word of the headline keeps changing.

Blocks
landingheroparallaxscroll

Interfaces that feel playful

Drop-in sections with personality. Move your cursor, scroll a little, and watch everything react.

Usage

Drop the file into your project and import it. There is no package to install.

usage.tsx
import { HeroParallax } from "@/registry/blocks/hero-parallax";

export function Example() {
  return <HeroParallax />;
}

Install prerequisites

Every component here relies only on Tailwind and the cn helper from shadcn/ui.

terminal
npm i clsx tailwind-merge

More in Blocks