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
VaultScrollRising Card on Scroll
Ink Spread MenuBrowse all 182Ink Drop Loader
  • 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

Rising Card 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

  • Card
  • Pinned
  • Section transition
  • Reveal
  • Zoom
  • ScrollTrigger
  • Sticky

Features.

  • A card rises from below the screen over a soft backdrop and stops dead centre
  • A sheet the exact size of the card then spreads from behind it until it fills the screen
  • Every edge of the sheet moves at the same speed, so the nearer edges land first
  • The card's corners square off as the sheet spreads
  • Two looks, shown one after the other: a solid ink card that becomes an ash page, and a dark see-through card and sheet
  • A card to start from: two-line heading, button and an animated line drawing (a corner tag .crz_tag and a line under the heading .crz_sub are optional)
  • Repeats down a page: every scene inside the wrapper runs on its own
  • Read straight from the scroll: no easing, and it runs backwards on the way up
  • The card is measured again on resize and once fonts load
  • Respects prefers-reduced-motion: the finished scene, standing still

How to get it right.

Give it something to rise over

The scene starts moving as soon as its top edge enters the screen, so put a section before it. The card is already two thirds of the way up when the stage locks in place.

Make the sheet your next page

--crz-sheet is what fills the screen at the end. Set it to the background of the section that follows and the card lands on that page with no seam.

Blur the backdrop in the file

The backdrop moves all the time. A picture with the blur baked in costs nothing; a CSS filter: blur() on a full-screen layer does. A small file is enough: the demo's is 960px wide.

Keep the card smaller than the screen

The sheet starts at the card's edges. A card as tall as the screen leaves it nowhere to spread. On phones the card is the stage width less 2.5em.

Variations.

  • Dark scene — add crz_scene--dark to a scene: a see-through card and sheet over a dimmed backdrop
  • Glass everywhere — data-au-card="glass" on the wrapper turns every scene dark and see-through
  • No drawing — delete the <canvas data-crz-art>; the same goes for the tag and the button
  • More scenes — repeat a [data-crz-scene] section inside the wrapper, with a plain section before it
  • Longer rise, quicker spread — data-au-split="0.65"
  • More scroll — --crz-length: 400vh
  • Square card — --crz-radius: 0
  • Still backdrop — data-au-drift="false"
  • Wider or narrower card — --crz-width: 36em
  • More in the card — add to it freely; the script measures whatever is there

Where it fits.

  • Landing pages — a call to action that becomes the next section
  • Product pages — a feature card that opens into its own chapter
  • Before a footer — the last card spreads into the footer's colour

Frequently asked.

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

Because the rounding is part of the motion: the sheet starts with the card's corners and squares off as it reaches the screen edges. Set --crz-radius: 0 for a square card.

Yes. Anything can sit in the stage under the sheet. Keep the .crz_backdrop class on it, or give it position: absolute and inset: 0 yourself.

Yes. Each scene is its own instance. Put some page between them so the second card has something to rise over.

Related components.

NewPro

Arc Collage Hero

Scroll

Pro

Outline Paint Reveal

Scroll

Pro

Wipe-Up Dial Slides

Scroll