Desktop · 1280px · shown at 0% · edit the text, images and colours in the panel
Horizontal Scroll Gallery — Free Website Section Template
Scroll effects · v1.0.0 · Updated 2026-10-22 · Responsive · GSAP animation · HTML, React & Vue
What's included
Features
About this section
Horizontal Scroll Gallery — Free GSAP Pinned Section

Horizontal Scroll Gallery turns vertical scrolling into sideways movement. On laptops and desktops the section pins to the screen and its row of tall image cards slides left as visitors keep scrolling down; when the last card arrives, the page carries on as normal.
Built with GSAP ScrollTrigger
The row is pinned and scrubbed with ScrollTrigger, and the scroll distance is measured from the row itself, so it always matches the number and width of your cards, including after a resize.
A real layout without JavaScript
The section is a swipeable row with CSS scroll snapping first. On phones, without JavaScript, with reduced motion and while you edit it, that is exactly what visitors get, so nothing is ever hidden.
Edit every card
Cards are an editable list of 2 to 12, each with an image, tag, title, text and link. Export HTML, a ZIP, React or Vue, or fork it into My Code. Pair it with the Pinned Scroll Story for a page full of scroll moments.
Why use it
Why Use the Horizontal Scroll Gallery
How it’s different
How It’s Different From Other Free Section Templates
Step by step
How to Use
- 1Edit the contentFill in the heading and cards in the panel. Wrap words in *asterisks* to colour them.
- 2Add your imagesUpload your own images (resized in your browser and kept on your device) or paste a hosted image URL.
- 3Match your brandPick a colour preset or exact colours, choose heading and body fonts from Google Fonts or your own uploaded font, set the corner radius and width, or apply your brand kit.
- 4Animate and previewChoose a GSAP entrance effect and speed, press Play animation, and check the section on desktop, tablet and mobile.
- 5Save and exportSave it to My designs, then export a single HTML file, a ZIP with your images, a React or Vue component, or fork it into My Code.
Real-world uses
Common Use Cases
Got questions?
Frequently Asked Questions
GSAP ScrollTrigger pins the section and moves the row of cards left in step with your vertical scrolling. The scroll length equals how far the row overflows, so it always ends exactly at the last card.
Below 768px the row stays a native swipeable row with scroll snapping, which feels more natural on touch screens than a pinned section.
Yes. All cards are ordinary links in the HTML, reachable with the keyboard and screen readers. People who prefer reduced motion get the swipeable row instead of the pinned animation.
Yes. Export it as a React or Vue component; the ScrollTrigger script is included and runs on the client. Load GSAP and ScrollTrigger from the CDN links in the export or from npm.
It saves an editable copy of your Horizontal Scroll Gallery in My Code, the UI Snippets code editor: the section markup goes in the HTML panel, its CSS (theme variables, base styles and layout) in the CSS panel, and the GSAP library is added as a CDN link, so you can keep refining the code and save your own versions.
Yes. It is free for personal and commercial websites, with no sign-up, no watermark and no attribution required. Everything runs in your browser and your edits are saved locally.