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
VaultScrollGrowing Tile on Scroll
Image Ring BurstBrowse all 182Image Trail Takeover
  • 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

Growing Tile on Scroll

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

  • Grid
  • Pinned
  • Section transition
  • Reveal
  • Expand
  • ScrollTrigger
  • Sticky

Features.

  • The dark centre tile of a mosaic grows until it fills the screen while the other tiles fade
  • The grown tile turns into the page, its heading and button holding their place
  • The heading rises to the top and a row of tabs comes up under it
  • Six tabs with one line and a picture each; an accordion under 992px
  • Two tiles carry line drawings on canvas that move slowly while the mosaic is in view
  • A scroll that stops part-way through the landing is carried to its end
  • Under 992px there is no pinning: a dark card, then the accordion
  • Layout is measured again on resize and once fonts load
  • Respects prefers-reduced-motion: the mosaic and the next section sit as two still blocks

How to get it right.

Keep the heading short

It has to fit inside the centre tile at the start, with the button under it. Two short lines at 4em sit well; a longer line needs a smaller font-size on .tlg_heading. The heading and button appear twice in the markup, once on the dark tile and once in the next section: keep the two the same.

Keep the centre tile plain

The growing layer is a flat fill so the heading stays readable all the way, and so the change from the deep tile to the page is clear. A picture in the centre tile would be covered the moment the script starts.

Count your tabs

The tab row is a grid with one column per tab: repeat(6, auto) on .tlg_list, and six nth-child rules that place them. With more or fewer tabs, change both.

Don't add space above it for the transition

The track is its own runway: 100vh + --tlg-length. It needs nothing before it.

Variations.

  • A slower or quicker transition — --tlg-length: 340vh or 180vh
  • A little lag behind the scroll — data-au-scrub="0.6"
  • No carried landing — data-au-snap="false"
  • Tighter or looser mosaic — --tlg-gap: 0.5em; 0 butts the tiles together
  • Another tile colour — --tlg-dark for the centre tile, --tlg-stone and --tlg-grey for the drawing tiles
  • A light page — set --tlg-bg, --tlg-fg and --tlg-ink to a light pair, --tlg-grain: none, and give .tlg_btn a dark fill
  • Pictures in every tile — replace a <canvas data-tlg-art> with an <img class="tlg_img">
  • Your own next section — replace the tab list in [data-tlg-below] with a grid, a picture or a video
  • Fewer tiles — remove [data-tlg-tile] elements; the script runs with none

Where it fits.

  • Landing pages — a feature mosaic that opens into the section it introduces
  • Case studies — a contact sheet into the first chapter
  • Product pages — a set of shots into the detail section

Frequently asked.

No. It runs on native scroll, and with Lenis once Lenis updates ScrollTrigger.

That is the carried landing. Stop scrolling while the heading is rising and it finishes the move for you. Turn it off with data-au-snap="false".

Yes for the tile: the script reads its box wherever your grid puts it. The copy starts in the middle of the screen, so move .tlg_copy--dark to match.

Yes. Everything except the stage, the centre tile and the cover is optional, and the script runs without it.

Under 992px nothing is pinned. The dark tile becomes a square card with the heading and button, and the tabs become an accordion.

Related components.

NewPro

Arc Collage Hero

Scroll

Pro

Rising Card on Scroll

Scroll

Pro

Outline Paint Reveal

Scroll