Agent skill

Locomotive Scroll Skill: Smooth Scroll and Parallax for Agents

The Locomotive Scroll skill guides an AI coding agent to build smooth scrolling, parallax, sticky elements and in-view triggers, and warns about accessibility and mobile trade-offs.

Install
/plugin install extended-3d-scroll
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the Locomotive Scroll skill?

Locomotive Scroll is a skill in the freshtechbro design skills repository. It teaches an AI coding agent to set up the Locomotive Scroll library: the data-scroll markup, smooth scrolling with lerp, parallax speed, sticky elements, viewport callbacks, GSAP ScrollTrigger syncing and the pitfalls that break fixed elements and accessibility.

This skill packages working knowledge of the Locomotive Scroll JavaScript library for an AI coding agent. It describes the required HTML structure, the options to pass at start-up, and the patterns people reach for on immersive landing pages.

The skill is honest about cost. It lists scroll hijacking, low-end device overhead, different touch behaviour on phones and broken fixed positioning as trade-offs, and gives a fix for each.

What the skill sets up

  • A scroll container with optional sections, which the skill says improves performance on long pages.
  • Parallax through a speed attribute, including slow, fast, negative and horizontal values.
  • Sticky elements pinned inside a section or a named target.
  • In-view detection with call events that fire on enter and exit.
  • Programmatic scrolling with offset, duration, easing and a callback.

Who the Locomotive Scroll skill is for

Best for

  • Story-driven landing pages and portfolios with depth and motion.
  • Developers who want a smooth scroll that works with GSAP ScrollTrigger.
  • Projects that need a mobile fallback and a reduced-motion switch from the start.

Not for

  • Plain content pages where native scrolling is better for readers and keyboards.
  • Simple fade-in reveals; the same repo points to a lighter scroll-reveal skill for those.
  • Pages that rely heavily on position fixed without workarounds.

Use it with UiChemy

The skill produces front-end code for your own project. If the site runs on WordPress, UiChemy Composer writes HTML, CSS and JS inside Elementor or Gutenberg, so check the motion there. Click Get Started on uichemy.com.