Features/Interactions

Scroll pinning and horizontal scroll

Pin a section while the visitor scrolls a set distance, vertically or with a horizontal track.

Pin keeps a section fixed at the top of the screen while the page scrolls through a distance you set, and the interaction's actions run over that distance. In Horizontal mode the first element inside the section moves sideways by how much wider it is than the section, giving a horizontal scroll gallery. Use it for product tours, step-by-step stories and horizontal card rails.

How it works

  • Available on interactions with the While Scrolling event (engine 2).
  • Fields: Pin (yes/no), Direction (Vertical or Horizontal), Distance (number with px, vh, svh, lvh or dvh, or auto for horizontal), Offset (px), Track.
  • An interaction can hold a pin with no actions (it only pins).
  • The editor warns: not on small screens or with reduced motion (set screens in Scope), not inside a flex or grid parent or under an element that scrolls or clips; near the top of the first screen it can shift the page on load. Horizontal pins should be below the first screen.

When to use it

  • Horizontal scrolling case-study gallery
  • A pinned phone mockup whose screens change as you scroll

Limitations

  • Does not work inside a flex or grid parent, or under a scrolling or clipping ancestor.
  • Not applied with reduced motion.

Availability

  • Works in Designer.
  • Included in every plan.

How to use it.

  1. Select the section and add a While Scrolling interaction.
  2. Set Pin to Yes and choose Direction and Distance.
  3. Add actions to run during the pin.

Questions.

What units can the distance use?

Related features.

No card needed

Build it today.Pay when it goes live.

Every feature is unmetered while you build. Checkout opens the first time you publish.