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 & marqueesTilted Word Marquee
Scroll Spy NavBrowse all 182Shape Mask Reveal
  • 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 Word Marquee

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
  • Draggable
  • InertiaPlugin

Setup

npm i gsapregisterPlugin(Draggable, InertiaPlugin)

More like this

  • Tilt
  • Velocity
  • Marquee
  • Infinite loop
  • Draggable

Features.

  • A belt of big words and photos that runs on its own, 200px a second by default and scaled with the font size
  • Two rows by default, tilted −3°, every second row running the other way
  • Grab any row to scrub it back and forth 1:1 with the pointer
  • Throw it and it coasts with momentum, lands with a whole item on the stage's edge, then carries on in the direction you threw it
  • Endless: the script copies the items until each row covers twice the screen, so the loop never shows a gap
  • A vertical mode: a column drifting up with soft fades top and bottom, beside your copy if you add some
  • Pauses under the mouse, on keyboard focus and off screen; a tap pauses it on touch
  • Left / Right move it one item, with Right as next
  • Respects prefers-reduced-motion: nothing moves and each row becomes a plain scroller that Left / Right scroll
  • GSAP with Draggable and InertiaPlugin

How to get it right.

Mix short words and photos

Each row is one list of items: words at 7.2em and photos at 10.8em wide, 2.5em apart. One word per photo reads best; long phrases make one set so wide that a throw covers very little of it.

Use 1.4:1 photos

Photos are cropped to 1.4:1. In the vertical mode they fill the column up to 26em wide, so export them around 840px wide.

Give the vertical mode one track

data-au-tracks sets columns in the vertical mode, and they share the column's width. One column suits it; two works for a wide column of short words.

The copy is optional

It ships without any. To add some, put <header class="smq_head"> first in the stage with a .smq_eyebrow, .smq_title and .smq_body, or pass those props in React. In the vertical mode the column then moves to the right, beside it.

Keep the pause for things people read

The belt stops under the mouse by default. If it's only for looking at and you want it to keep running, set data-au-pause-on-hover="false". Keyboard focus, a tap and leaving the screen still stop it.

Variations.

  • Default — horizontal, two rows, speed 2, tilted −3°
  • One row, flat — data-au-tracks="1" and --smq-tilt: 0deg
  • Reversed — data-au-reverse="true": the first row runs right (or down in the vertical mode)
  • Vertical column — data-au-axis="y" with data-au-tracks="1"
  • Still until grabbed — data-au-speed="0": nothing runs until someone throws it
  • Your colours — override the --smq-* variables on .smq_stage

Where it fits.

  • Portfolio and studio pages — project names and stills you can flick through
  • Places and destinations — a belt of locations with a photo of each
  • Product ranges — names and shots running between two sections
  • Testimonials and notes — the vertical column beside a short intro

Frequently asked.

The horizontal belt shrinks at 991px (4.5em words, 7em photos) and again at 479px (3em words, 4.75em photos). Rows still take touch drags, and the page still scrolls vertically and pinches over them. A tap pauses and restarts the belt. The vertical mode stacks the column under any copy at 991px and below, and on touch the column doesn't take drags, so a finger scrolls the page.

With a whole item's start on the stage's edge, whichever is nearest to where the throw would have ended. Items can be different widths.

Yes. Change the items in [data-smq-list], then call window.au.ScrubMarquee.refresh().

Yes. Every stage runs on its own.

Yes: gsap, Draggable and InertiaPlugin, loaded before the script.

Related components.

NewPro

Ink Bloom Slider

Click

Pro

Rotating Ring Timeline

Drag

Pro

Ruler Card Carousel

Drag