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
VaultSliders & marqueesStripe Reveal Carousel
Bulging Strip SliderBrowse all 182Tilting Panel Menu
  • 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

Stripe Reveal Carousel

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

Setup

npm i gsap

More like this

  • Card
  • Carousel
  • Reveal
  • Draggable
  • SVG

Features.

  • A row of tall 4:5 product cards under a small label with an orange square
  • Hover a card and a second photo cuts in through slanted stripes that slide in from above and below in turn, left to right; leaving plays it backwards
  • A small details card with the name, price and an arrow rises in at the bottom on hover; on touch screens it's always shown
  • The first time each card comes into view, a plate the colour of the page slides off its photo, one card after another
  • Drag or throw the row, use Previous / Next or press ← / → to travel card by card, 0.8s on the house curve; it always lands on a card, whatever interrupts it
  • A drag never follows a link, vertical swipes and pinch stay with the page, and a row that fits on screen sits still with no buttons
  • Cards fully out of view can't be reached by Tab; keyboard focus on a card brings it in and plays the hover
  • 4 cards in view from 768px up, 1.3 below; cards in view, stripe count, slant, stripe speed, travel time and the reveal are options
  • Respects prefers-reduced-motion: steps jump, the stripes swap at once and there's no reveal plate
  • GSAP only, no plugins

How to get it right.

Pair your photos

The hover photo should be the same product from another side, worn, or in detail. Two unrelated photos make the stripes read as a glitch rather than a turn. Both are cropped to 4:5; export them around 720px wide.

Keep the details card short

It sits over the bottom of the photo: a name of two or three words and a price. Longer names wrap and cover more of the photo.

Name the link, not the photo

Each card is one link, named by the text in its details card. The photos ship with empty alt, so a screen reader hears "Padel racket, £140" once. Add alt to the main photo only if it says something the name doesn't.

Add extras when you need them

  • A kind line under the name: <span class="stc_kind">Heavyweight</span> after .stc_name, or kind on an item in React. It takes --stc-muted.
  • Cards without a hover photo: leave out .stc_alt. The details card still rises in.

Match the plate to the page

The reveal plate is --stc-bg, the same as the section. On a page of another colour, set --stc-bg to it so the plate looks like the page sliding away.

Variations.

  • Default — 4 cards in view, 5 stripes at 35°
  • Big cards — data-au-per-view="2.5"
  • Fine stripes — data-au-stripes="9" with data-au-wipe="0.45"
  • Upright blinds — data-au-slant="0"
  • No reveal — data-au-reveal="false" for rows lower down a busy page
  • Your colours — override the --stc-* variables; --stc-margin and --stc-gap set the edges and the space between cards

Where it fits.

  • Shop rows — new in, best sellers, "from the same collection"
  • Lookbooks — the product on its own, then worn
  • Print and art shops — the work, then the work on a wall
  • Portfolio teasers — a still, then a detail

Frequently asked.

1.3 cards are in view, so the next one peeks in. Swipe sideways to move; vertical scrolling and pinch stay with the page. There's no hover, so the details card is always shown and the second photo never shows.

Yes. Every root runs on its own, with its own clip paths.

Yes. Tab to a card and its hover plays; ← / → step the row while focus is inside it, and keys with a modifier stay with the browser. Previous and Next are buttons.

Until a card's reveal plate is half gone, hovering it does nothing, so the stripes never fight the plate. Turn the reveal off with data-au-reveal="false" and hover works at once.

Yes, the core gsap only, loaded before the script.

Related components.

NewPro

Ink Bloom Slider

Click

Pro

Rotating Ring Timeline

Drag

Pro

Ruler Card Carousel

Drag