GSAP Arch Window Hero with Circling Caption and Scroll-to-Full-Bleed
Overview
A sunlit Mediterranean resort hero: the model stands in an arched window that opens from a thin sliver, a caption runs round the arch, the arch tilts toward the cursor with a sun glare, and scrolling opens it to full screen.
The opening screen of a hotel, villa or summer label, in terracotta and warm sand. The model stands inside a tall arched window against a sunset terrace. On load the arch rises as a thin sliver of light and opens out to its full width while the photo eases back from a close zoom and the sun lifts behind her. Two big serif words slide in from the sides of the screen, a caption fades in and starts running round the outside of the arch, and an olive seal spins up beside it.
Details
- Category
- Hero
- Interaction
- On Load + Mouse Move + On Hover + On Scroll
- Trigger
- On Load
- Languages
- React, TypeScript, plain CSS
(01)Keep exploring
All 150 componentsBuilt with the same techniques
No. 142 / Scroll
GSAP Pinned Split Word Scroll Section with Rising Portrait
On Scroll · Mouse Move · On Hover
No. 022 / Hero
GSAP Editorial Night Hero with Growing Botanical SVG
On Load · Mouse Move · On Hover · On Click
No. 029 / Hero
GSAP Magazine Cover Hero with Cut-Out Models and Variable Type
On Load · Mouse Move · On Click · On Scroll
(02)FAQ
GSAP Arch Window Hero with Circling Caption and Scroll-to-Full-Bleed — FAQ
01What do I need to install?
npm install gsap @gsap/react. ScrollTrigger and SplitText ship with gsap. It's built for Next.js (it uses next/image), and its styles are plain CSS, so it doesn't need Tailwind.
02Which fonts does it use?
Cormorant Garamond with its italic for the big words, logo and figures (--font-cormorant) and Outfit for the small text, caption and seal (--font-outfit), both loaded with next/font in the example. Without them it falls back to Garamond or Georgia and the system sans.
03How do I use my own photo?
Pass model: a transparent cut-out (WebP or PNG) with its width, height and alt text. Crop it so the feet touch the bottom edge; it stands on the terrace at the foot of the arch. The sunset behind it is CSS, so recolour .terra-sky to change the hour.
04Can I turn off the pinning?
Yes. Set pin={false} and the arch opens while the hero simply scrolls away, with no extra scroll distance. With pinning on, the hero holds for most of a screen's scroll while the arch opens.
05How does it behave on phones?
The arch is narrower and sits higher, the words overlap it from the left and right edges, and the copy sits underneath. The tilt and parallax need a mouse, so touch screens skip them; the intro, the running caption, the seal and the scroll opening all play.
06What happens with reduced motion?
The arch, words, caption and seal appear in place with no intro, no pinning, no tilt and nothing running or turning. Hover styles on the links and buttons remain.