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
VaultScrollTilted Parallax Cards
Drop-In Photo CardsBrowse all 182Gooey Toolbar Tooltip
  • 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

Tilted Parallax Cards

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
  • Tilt
  • ScrollTrigger
  • Parallax

Features.

  • A row of four cards, each a 3:4 picture with a title and one line under it, tilted its own way (−5°, 3°, −3°, 5°)
  • Every card drifts upward at its own speed while it crosses the screen, so the row pulls apart into layers and settles back as you scroll up
  • Speeds are set per card with data-tcd-speed; the drift scales with the section's text size, so it keeps its proportion on every screen
  • Hovering a card with a mouse straightens it and lifts it a touch; touch screens skip the hover
  • The row stays inside its container (max 80em, 2.5em side room) so tilted corners never touch the screen edge
  • Four columns, then two below 992px, then one straight column (max 30em) below 768px
  • Respects prefers-reduced-motion: no drift and no hover transition

How to get it right.

Mix the speeds

The layering comes from neighbours moving at different rates. Keep at least one slow card (around −0.2) next to a fast one (−1.5 or more) so they visibly overtake each other.

Leave room for the rise

The fastest card climbs speed × travel px (about 170px with the defaults). The section's 14em bottom padding covers that; raise it if you push data-au-travel or a speed up.

Keep the tilt on the inner layer

GSAP moves .tcd_card. The tilt and hover are on .tcd_tilt inside it. Put any extra transforms on the inner layer, or the script's y replaces them.

Choose the catch-up

data-au-scrub="1" lets the cards trail the scroll by a second, which reads as weight. 0 locks them to the scroll bar.

Section title and card text

Add <h2 class="tcd_title"> above .tcd_grid for a section title. Each card's text is <figcaption class="tcd_caption"> after .tcd_media, with .tcd_name and .tcd_note; delete it for picture-only cards. In React, pass title, and name and note on a card.

Variations.

  • Calm — data-au-travel="40"
  • Wild — data-au-travel="250", with more bottom padding
  • Locked — data-au-scrub="0"
  • Your palette — override --tcd-bg, --tcd-fg, --tcd-fg-2, --tcd-card, --tcd-line and --tcd-surface on the section

Where it fits.

  • Lookbooks and campaigns — a handful of key shots
  • Product ranges — four colourways or flavours
  • Team or speaker rows — portraits with names
  • Portfolios — a strip of featured projects

Frequently asked.

Yes. Every [data-tcd-card] drifts on its own. The grid has four columns on desktop, so a fifth card starts a new row; change grid-template-columns on .tcd_grid to fit your count.

Set --tcd-tilt on its .tcd_tilt, e.g. style="--tcd-tilt: 8deg", or use the tcd_tilt--a … --d classes.

They do drift; the hover is what's skipped on touch. If nothing moves, check whether reduced motion is on in the device settings.

Yes: give it a positive data-tcd-speed. Add top padding to the section so it doesn't collide with anything above the row.

No. It scrubs on 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