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
VaultUI componentsImage Slide Tabs
Side Wipe TransitionBrowse all 182Total Eclipse on Scroll
  • 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

Image Slide Tabs

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
  • CustomEase

Setup

npm i gsapregisterPlugin(CustomEase)

More like this

  • Tabs
  • Reveal

Features.

  • Picking a tab slides its picture in over the old one: up for a later tab, down for an earlier one
  • The title and line roll out and in through masks in the same direction
  • The picked tab's thumbnail opens up; hovering a tab opens it halfway
  • Click as fast as you like: every pick starts at once and nothing queues or pops
  • Real tabs: arrow keys move and wrap, Home and End jump, focus is visible
  • window.au.SlideOverTabs.select(el, 2) picks a tab from your own code
  • Respects prefers-reduced-motion: every change is instant

How to get it right.

Keep the pictures in tab order

The script pairs pictures, panels and tabs by position. The first [data-sot-image] belongs to the first tab, and so on.

One title, one line

Each panel holds a short title and at most one short line. The masks roll whole lines, so a line that wraps moves as one block.

Pick pictures that crop tall

The picture box is about half the screen wide and the full height on desktop, close to square on phones. Keep the subject near the middle.

Short tab names

Names sit on one row and cut off with an ellipsis. One or two words work.

Variations.

  • Slower slide — data-au-duration="1.2"; the copy and thumbnails scale with it
  • Tighter copy — data-au-stagger="0.03"
  • A different curve — data-au-ease="snappy" (or soft, linear; smooth is the default) changes how the picture slides
  • More curves — data-au-ease also takes expo-out, expo-in-out, windup, drive, kick. windup pulls back first
  • Sideways slide — data-au-direction="horizontal": later tabs come in from the right, earlier ones from the left
  • More tabs — add a picture, a panel and a tab in the same position in each group, with matching ids
  • Bigger thumbnails — --sot-thumb: 5em
  • Extra detail in a tab — add more spans to .sot_tab; it is a flex row
  • Rounded picture — border-radius on .sot_media

Where it fits.

  • Portfolios — projects with one picture each
  • Product pages — features or finishes
  • Hospitality and property — rooms, floors, venues
  • About pages — services or team areas

Frequently asked.

The new picture starts sliding over the one in flight. When the newest one lands it clears everything under it.

Only the current picture stays; each pick slides a fresh copy over it. destroy() puts the originals back.

Yes: window.au.SlideOverTabs.select(el, index), counting from 0.

No. The block is one screen tall. For a taller layout, set height: auto on .sot_root and give .sot_media an aspect-ratio.

Related components.

Pro

Glow Band Sheet Modal

Click

Pro

Expanding Card Modal

Click

Pro

Cursor Follow Tooltip

Cursor