Platform
VaultVault
  • Free15
  • Navigation19
  • Buttons9
  • Scroll55
  • Text27
  • Sliders & marquees19
  • Gallery & images67
  • Cursor24
  • Page transitions10
  • Loaders2
  • Backgrounds10
  • UI components33
ButtonsPart of ProButtons
IconsPart of ProIcons
  • Interface Essentials144
  • Social Icons69
  • Payment Badges41
SavedPart of ProSaved
Support
DocumentationDocumentation
MCP serverMCP server
SettingsSettings
VaultScrollFull-Bleed Image Expand
Drifting Box RowsBrowse all 182Fanning Image Cards
  • Free15
  • Navigation19
  • Buttons9
  • Scroll55
  • Text27
  • Sliders & marquees19
  • Gallery & images67
  • Cursor24
  • Page transitions10
  • Loaders2
  • Backgrounds10
  • UI components33
  • Interface Essentials144
  • Social Icons69
  • Payment Badges41
Sign inSign in

Start free. The code for 15 components, no card needed.

Get 15 free

Full-Bleed Image Expand

This one is locked. Become a member to open the code for it and the rest of the Vault.

See plansTry the 15 free ones

What you'll need.

Install

  • gsap
  • ScrollTrigger

Setup

npm i gsapregisterPlugin(ScrollTrigger)

More like this

  • Pinned
  • Expand
  • ScrollTrigger
  • Sticky

Features.

  • A pinned section where a rounded 16:9 picture grows from its grid zone to full-bleed as you scroll
  • Every edge travels to the screen edge, the corners square off and the picture settles from a 1.08 zoom
  • A caption pill rides from the picture's corner out to the page margin, over a scrim that fades in
  • The copy fades out once the picture has covered half of it, and back in on the way up
  • Holds full-bleed for half a screen before the page moves on
  • Click the picture to glide to full-bleed, or back
  • Stacks below 992px: title then picture, with the picture opening only its side margins
  • Respects prefers-reduced-motion: no catch-up or fades, and the click jumps

How to get it right.

Use a landscape picture

The picture is always shown at 16:9 and covers its box, so anything close to that ratio crops cleanly. Keep the subject away from the bottom-left corner, where the pill sits.

Keep the copy short

The title can run into column 5 (the picture covers it on the way out). Two title lines fit.

Body copy is optional

It ships with a title and a pill label. To add more, put a .bkm_body holding <p class="bkm_text"> and a <dl class="bkm_meta"> after the title (text and meta in React); they sit at the foot of columns 1–4. A short paragraph and three meta items fit. <span class="bkm_pill-meta"> adds a second bit of text to the pill (captionMeta). The copy block and the pill must stay: the script needs them.

Tune the pace

data-au-grow is the scroll to full-bleed in vh and data-au-hold the scroll held there. 100 and 50 feel calm; drop the hold to 0 if the next section should follow straight on.

Give it full width

The grid, margins and full-bleed are measured against the section. Put it at full width in normal page flow.

Variations.

  • No zoom — data-au-zoom="1" for a picture that only grows
  • Quick break — data-au-grow="60" and data-au-hold="0"
  • Long hold — data-au-hold="100" to sit at full-bleed for a whole screen
  • Square corners — --bkm-radius: 0em on the section

Where it fits.

  • Project pages — the hero shot of a building, product or space
  • Editorial features — a single photograph that takes over the screen
  • Brand stories — a moment that needs the whole screen
  • Launches — the product reveal before the details

Frequently asked.

Not as it ships: the frame is sized and scaled for an image. A <video> with object-fit: cover in place of the <img> inside data-bkm-frame is drawn the same way, but play and pause are up to you.

So the picture never sits on top of readable text. It fades once the picture's left edge has covered half of the copy's width, and comes back when you scroll up.

It glides the page to where the picture is full-bleed, or back to the start of the section if it's already there. A wheel or touch stops the glide.

Yes. Override --bkm-bg, --bkm-fg, --bkm-fg-2, --bkm-muted and --bkm-accent on the section; --bkm-margin, --bkm-radius and --bkm-pill-inset set the layout.

No. It scrubs off the scroll position, so it works with native scrolling and with any smooth-scroll library that updates ScrollTrigger.

Related components.

NewPro

Arc Collage Hero

Scroll

Pro

Rising Card on Scroll

Scroll

Pro

Outline Paint Reveal

Scroll