A layered hero where a giant headline sits behind the product: a background layer, the headline, a front subject (a transparent image or any node) and readable content on top. Moving a mouse over the section shifts each layer by a different depth through spring-smoothed motion values, and the optional scroll prop also moves the layers at different speeds as the section scrolls past. The content layer never moves. Pointer depth only runs on fine pointers; with reduced motion or depth 0 every layer stays still.
pnpm dlx shadcn@latest add "https://sunui.synvize.com/r/depth-hero.json"