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
VaultScrollBead Line Timeline
Split-Flap BoardBrowse all 182Tile Fly-Through
  • 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

Bead Line Timeline

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

Setup

npm i gsapregisterPlugin(ScrollTrigger, CustomEase)

More like this

  • Timeline
  • Pinned
  • Line drawing
  • ScrollTrigger
  • Sticky

Features.

  • A row of steps held on screen while a bead rides the line above them and draws it behind itself
  • A dotted ghost shows where the line is heading
  • Each step brightens as the bead reaches it, its number rolls up digit by digit and its picture fades and scales in
  • Passed steps stay with their pictures, a little dimmer; everything reverses as you scroll back up
  • Click a step to glide to it; the active step carries aria-current="step"
  • Phones get the steps stacked beside a vertical line, with no pinning
  • Respects prefers-reduced-motion: the bead jumps from step to step and changes are instant

How to get it right.

Three to five steps

The steps share the row in equal columns. Four is the sweet spot on a laptop; past five the columns get narrow for a title and a picture.

Keep each step the same shape

A number, a short title and a 4:3 picture. Room for the picture is reserved from the start, so nothing jumps when it fades in. To add copy, put <span class="str_text"> after the title (text in React) on every step; one or two lines is plenty.

Number with digits

Each digit of a number rolls up through 0…that digit. Two-digit numbers (01, 02…) roll nicely; letters and symbols just slide in.

Set the pace with length

data-au-length is the scroll in vh on top of one screen. 200 gives each of four steps half a screen; raise it for more steps.

Variations.

  • Locked bead — data-au-scrub="0" for a bead that tracks the scroll exactly
  • Quick run — data-au-length="120" further down a page
  • Accent line — set --str-fg: #f68e66 on the section for an orange line, bead and titles
  • Bigger bead — --str-bead: 0.875em

Where it fits.

  • How it works — a product's three to five steps
  • Process pages — a studio's way of working, phase by phase
  • Onboarding — what happens after sign-up
  • Recipes and guides — the method, with a photo per step

Frequently asked.

Copy a whole <li data-str-step> with its button, number, title and media, and renumber. The script measures the anchors itself.

Four stacked steps are taller than a phone screen, so below 768px the steps scroll normally and the bead runs down a vertical line as their numbers pass 60% of the screen.

Each step is a button that glides the page to that step. To link away, add a link inside the step's text rather than changing the button.

Yes. Override --str-bg, --str-fg, --str-fg-2 and --str-surface on the section.

No. It scrubs off the scroll position, so it works with native scrolling and with any smooth-scroll library that updates ScrollTrigger.

Related components.

NewPro

Arc Collage Hero

Scroll

Pro

Rising Card on Scroll

Scroll

Pro

Outline Paint Reveal

Scroll