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 & marqueesBulging Strip Slider
3D Image SphereBrowse all 182Stripe Reveal Carousel
  • 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

Bulging Strip Slider

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

  • three

Setup

npm i gsapregisterPlugin(three)

More like this

  • Carousel
  • Expand
  • Velocity
  • 3D
  • Draggable
  • Canvas
  • WebGL

Features.

  • A row of tall picture strips you drag, wheel or arrow-key sideways
  • The strips trail the input, swell towards you round the middle of the screen and lean with the motion
  • Grey at rest, warming to colour where they bulge; the strip under the mouse lights up
  • Click a strip and it opens wide in the centre, its neighbours squeezed to the sides
  • The page eases to the open picture's colour, and the bar's ink flips dark or light to stay readable
  • A tick pager follows along: ticks stretch with the motion, and the open picture's tick becomes a box with its number
  • Always lands on a strip after a drag or wheel
  • Keyboard: Left / Right, Enter opens, Escape closes; a screen-reader status line names the open picture
  • Draws only while something moves, holds its last frame off screen
  • Without WebGL, or if the context is lost, the pictures show as a plain sideways row
  • Respects prefers-reduced-motion: no intro, no bulge or lean, every move jumps

How to get it right.

Load three.js first

The script reads window.THREE. Load the three.js UMD build before code.js. Without it the plain row of pictures stays and the console says why after 10 seconds.

Use 16:10 pictures

The open view is 16:10 and strips show a tall slice from the middle of each picture, so keep the subject centred. Around 1024 × 640 is plenty.

Give each picture a tone

data-sbg-tone on each <img> is the page colour while it's open. Pick a colour from the picture, or a neutral that suits it. Leave it out to keep --sbg-bg. Turn the colour change off with data-au-tint="false".

Give it the full screen

It's built for a full-viewport stage (100svh). The wheel moves the row and only hands back to the page at either end, so place it where that's expected, or set data-au-wheel="false".

Retheme with variables

--sbg-bg is the page (read once at init), --sbg-fg the bar's ink. Strips are drawn grey over the page, so they suit dark and light pages alike.

Variations.

  • Strip bulge — the default: grey strips, 0.9 bulge, page takes colour
  • Flat lean — data-au-bulge="0" and data-au-tilt="1.6": no swell, just a sway
  • Colour row — data-au-grey="false": strips in full colour all the time
  • Wide planks — data-au-strip="7" and data-au-gap="1.5"
  • Light page — --sbg-bg: #fffcf2; --sbg-fg: #252422

Where it fits.

  • Portfolio home pages — every project on one screen, opened one at a time
  • Photo series — a lookbook or shoot you browse in order
  • Collection launches — products in a row that opens up on a pick
  • Studio archives — a long run of covers that stays compact

Frequently asked.

That's the fallback. three.js isn't loaded, WebGL isn't available, or the script hasn't run yet.

Not directly: strips are drawn on a canvas, and a click opens the picture. Link to the full project from elsewhere on the page.

The wheel moves the row until it reaches either end, then the page scrolls. Set data-au-wheel="false" to leave the wheel to the page; drag and keys still work.

Yes. Swipe sideways to move it, tap a strip to open it. Vertical swipes and pinch stay with the page.

Yes. Every instance is independent, and one off screen doesn't draw.

Related components.

NewPro

Ink Bloom Slider

Click

Pro

Rotating Ring Timeline

Drag

Pro

Ruler Card Carousel

Drag