Split Wordmark Object Hero
What it does
A giant edge-to-edge word split into two letter groups with a central gap measured to the width of a cut-out product photo, which stands in the gap in front of the letters. On load the rules draw in, each letter rises out of its own mask in sequence and the object lifts into place; on scroll a scrubbed parallax moves the object up faster than the word.
How it's built
| Category | text |
|---|---|
| Tech | gsap, lenis |
| GSAP plugins | ScrollTrigger |
| Complexity | section |
| Performance cost | light |
| Mobile-safe | yes |
| Scroll | hijacks scrolling |
Rebuild it with AI
This component's prompt is part of the paid library. Below you can read how it starts; the full prompt, the exact structure, timing and easing an AI agent needs to rebuild the effect, unlocks with any paid plan, yearly or lifetime.
# Split Wordmark Object Hero — an edge-to-edge word split around a cut-out object
## Goal
Build a full-viewport black hero whose single word (here "ORIGEN") runs exactly from the left margin to the right margin, split into two letter groups ("ORI" and "GEN") with an empty gap between them. The gap is measured to the width of a tall cut-out product photo (transparent PNG) plus air on each side, and the object stands in that gap *in front of* the letters, its head inside the band of the letters and its body running off the bottom of the screen. The word sits between two hairline rules. On load the rules draw in from the left, each letter rises out of its own mask one after another, and the object lifts and grows into place. On scroll, a scrubbed parallax moves the object up 0.32 screens while the word moves only 0.12, so the object peels away from the word. Below 768px there is no gap: the word fits the width whole and the object stands under it on the right.
## Tech
Vanilla HTML/CSS/JS with ES module imports. `gsap` (npm) with `ScrollTrigger`, and `lenis` (npm) for smooth scrolling. `gsap.registerPlugin(ScrollTrigger)`. No SplitText: the letters are written as spans by hand (6 letters).
Lenis runs on GSAP's ticker (skip it under reduced motion):
```js
const lenis = new Lenis({ duration: 1.1, easing: (t) => 1 - Math.pow(1 - t, 3.4) });
lenis.on("scroll", ScrollTrigger.update);
gsap.ticker.add((time) => lenis.raf(time * 1000));
gsap.ticker.lagSmoothing(0);
```
…
Premium prompt
Unlock this prompt, and every other one
From $99/year, or $139 once for lifetime access. Commercial license included.
See pricing Or start with the free set Already bought? Sign in
New components in your inbox
One email a week, only when new components ship, each with its live demo and prompt.