Immersive 2 - Pinned horizontal scroll galleryPro
A section that pins to the viewport while vertical scrolling translates a row of large image cards sideways, with a progress bar tracking the journey. Use it for collections, case-study chapters or lookbooks where each frame deserves the full screen.
About Immersive 2
A section that pins to the viewport while vertical scrolling translates a row of large image cards sideways, with a progress bar tracking the journey. Use it for collections, case-study chapters or lookbooks where each frame deserves the full screen.
Immersive 2 is a immersive block for React and Tailwind CSS, included in Chocolate UI Pro with motion animations that respect reduced-motion settings. It ships as 102 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.
- immersive
- horizontal scroll
- gallery
- sticky
- pinned
- translateX
- useScroll
Installation
- Set up your project with
npx chocolateui initandnpx chocolateui login(see the installation guide). - Run the Chocolate UI CLI:
npx chocolateui add immersive-02Dependencies installed automatically: motion.
Uses: reveal, use-reduced-motion, utils.
Usage
import Immersive02 from "@/components/blocks/immersive-02"
export default function Page() {
return <Immersive02 />
}