Back to components
ComponentEffectFree

Scroll Snap Sections React component

Full-height sections that snap into place one at a time as you scroll, each sliding its eyebrow, title and text up while its photo unclips and settles, with a counter, a progress line and dot navigation.

About the Scroll Snap Sections component

Scroll Snap Sections turns a page into chapters: each section fills the view, and scrolling moves cleanly from one to the next instead of stopping halfway. As a section lands, its title and text slide up into place and its photo opens out from a smaller frame and settles.

A counter and progress line show where you are, and dots on the right jump straight to any section. It works with the mouse wheel, trackpad, touch, and the keyboard.

When to use it

Use it for hotel, product and brand stories told in a few big moments, case studies, onboarding tours, or any page where each section deserves the whole screen.

Keep it to a handful of sections with short copy; long text inside a snapping section is awkward to read.

Installation

Add the Scroll Snap Sections component to your project with the shadcn CLI. It lands in components/scroll-snap-sections.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/scroll-snap-sections

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install clsx tailwind-merge

More Effect components

Entrance Reveal
Free
Parallax Section
Free
Image Mask Reveal
Free
Liquid Image Effect
Click Burst
Free
Confetti Show