Skip to content

Text Scroll Marquee

Pro

Rows of large words or logos slide sideways at their own speeds as the page scrolls, and lean with the speed.

  • Base UI
  • Motion
  • React 19
  • Tailwind CSS 4

Added Nov 14, 2026 · Pro license

Playground

Loading the preview

Props

Needs your Pro API key in GELATIN_UI_PRO_TOKEN. Set it up

Pro itemAPI key required

Text Scroll Marquee needs a Pro API key

Try the live preview for free. With Pro, the add command above puts the source in your project.

Files it adds
22
More Pro items, one API key
+327
Your coding agent runs it
1 cmd

$79$129once, for life

Already have Pro? Sign in to set up your API key.

Put two rows between two sections. Give them opposite speeds.

values-band.tsx

TextScrollMarquee

<div>
PropTypeDefaultDescription
range"page""pin""view"—Where the scroll source counts from: view (default, the item's own pass through the view), page (the page scroll from its top, for a hero), or pin (the px a tall section with a sticky stage has pinned). See PARALLAX_RANGES.
containerRefObject<HTMLElement | null>—The scroll box, when the item scrolls inside one and not with the page.
disabledbooleanfalseRests every layer and stops the work.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

TextScrollMarqueeRow

<div>
PropTypeDefaultDescription
speednumber1How fast the row slides with the scroll: 1 is the designed speed, 2 twice as fast. Positive slides it toward the start of the line (left in left to right), negative toward the end, so two rows with −1 and 1 slide apart. Default 1.
leanbooleanfalseThe row leans (skewX, up to 8 degrees) with the scroll speed, and stands up when it stops.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.
  • Put one TextScrollMarqueeRow for each row in a TextScrollMarquee. The children of a row are one unit: words, a phrase, or a row of logos. The row repeats it to cover its width.
  • Use speed on each row: 1 is the designed speed (the default), 2 is twice as fast. Positive slides it toward the start of the line, negative toward the end, so two rows with 1.2 and −1.2 slide apart.
  • Use lean on a row to lean it with the scroll speed, up to 8 degrees. It stands up when the page stops.
  • Put className on a row to style the moving track: the gap between units (default gap-8) and the type.
  • Use range="page" for a marquee in a hero (it counts the page scroll from the top), container when it scrolls inside a box, and disabled to keep the rows at rest.
  • For a row that moves on its own with time, also when the page is still, use Marquee.
  • For layers and images that move at their own speed as the page scrolls, use Parallax.
  • For a heading whose words slide together into one line, use Text Split Headline.
  • For text that people must read to do a task, use plain text: a moving row is hard to read.
Scroll slide
none · each row slides sideways as the page scrolls, at its `speed` (1 is half a px for each px of scroll), in the same frame as the scroll; it wraps into one unit, so it never runs out
Lean
drift · a spring of 476ms · with `lean`, the row leans with the scroll speed, up to 8 degrees, and stands up when the page stops
  1. AddedText Scroll Marquee.
Open the release