Loading
Loading
Loading
mobile footer

Build the Interaction Layer Your Website is Missing.

Browse All EffectsBrowse All EffectsBrowse All EffectsUpgrade to ProUpgrade to ProUpgrade to Pro

70+ effects free, forever. No credit card.

© 2026 Hyperiux. All Rights Reserved.

AI Component CatalogueHey AI, Learn About Us
Platform

Vault

  • Documentation
  • Pricing
  • Blog
  • Community
  • NPM
  • MCP

Categories

  • All Effects
  • WebGL
  • Text
  • Backgrounds
  • Buttons
  • Carousels
  • Scroll
  • Components
  • Navigation
  • Cursor
  • Transitions
  • Loaders

Documents

  • Introduction
  • Installation
  • CLI
  • Dependencies
  • License

Legal

  • License Agreement
  • Terms of Service
  • Privacy Policy
  • Refund Policy
Socials
  • Twitter / X
  • LinkedIn
  • GitHub
  • Instagram
Contact Us
  • hello@hyperiux.com
New effects, in your inbox

Every new drop, plus the occasional behind-the-scenes build. No spam. Unsubscribe anytime.

All Effects
Featured ComponentsText AnimationsAnimated BackgroundsAnimated ButtonsCarousel EffectsScroll EffectsCreative ComponentsNavigationsCursor EffectsTransitionsLoadersWebGL & 3D Effects
Templates
IntroductionInstallationCLIDependenciesLicense
PricingBlogGithubNPMMCP Doc
Loading
Home/effects/Square Translate

Square Translate

A scroll-linked list animation where a small square marker travels down a column of text rows, scaling and rotating as it goes, while the rows near it slide sideways.

GSAP
DemoDemoDemo

Tune the Real Props

Square Color

Color of the translated square marker.

Overview

Square Translate turns a plain list into a scroll-driven reading guide. A small square marker scales in, travels down the list while rotating a full turn, and scales out, and the row it is passing slides to the right, with neighbouring rows shifting by smaller amounts.

Use Square Translate for a list of short items that should be read one by one: services, capabilities, deliverables, or what's included in a plan. The rows of copy are the content and the square is the pointer that walks the visitor through them; pass your own rows with the items prop. The page job is order: movement should feel precise rather than decorative.

The main risk is overflow. Rows shift 55px to the right by default (translateValue), so leave room on the right edge, especially below 768px where the list goes full width.


Usage Code

page
1import SquareTranslate from "@/components/effects/square-translate";2 3const page = () => {4  return (5    <>6            <SquareTranslate />7    </>8  9  );10};11 12export default page;

Example Production Use Case

An agency services page listing ten capabilities: as the visitor scrolls, the square marker walks down the list and each service slides forward as the marker reaches it, so the list is read item by item rather than skimmed. The outcome is order: the motion reinforces the list instead of distracting from it.


Best Used For

  • Service, capability, and feature lists where each row is a short line of copy.
  • Minimal, typographic sections where a single moving marker suits the visual system.
  • Square Translate creates a concrete scroll outcome that a static section would not deliver.

Not For

Not for long paragraphs, forms, or lists where rows need to be compared side by side.

Not for lists with links or controls in each row, since the rows slide sideways under the pointer as you scroll.


Performance Budget

Animate transform and opacity, avoid layout reads in scroll handlers, pre-size media, and clean up timelines/listeners when the route changes.


Accessibility and Mobile

The rows render as real text in DOM order and the square is pointer-events-none decoration, so reading order is unaffected. Each row is its own single-item <ul>, so screen readers may announce ten short lists rather than one; adjust the markup if that matters. Nothing is pinned; below 768px the list goes full width with a 12px square, so check the sideways shift does not clip long rows.


Common Mistakes

  • Letting shifted rows run past the container edge on narrow screens.
  • Using rows so long that they wrap and the sideways shift becomes hard to follow.
  • Using geometric motion without a clear brand or layout role.

Changelog

Added prefers-reduced-motion support: only the item currently aligned with the cube shifts (other items stay at their initial position instead of rippling), and the shift moves only the row's text, not its border
Initial release

API Reference

PropTypeDefaultDescription
translateValuenumber55Translate distance for the row currently aligned with the square.
totalTranslateImpactnumber3How many neighboring rows ripple outward from the square.
maxRotationnumber360Total rotation the square completes over the scroll track.
transitionDurationnumber0.4Tween duration for the square and row movement on each scroll update.
squareColorcolor#FB450FColor of the translated square marker.
squareSizenumber12Width and height of the square marker in pixels.

Questions, Answered.

What makes Square Translate different from a standard scroll reveal?

A standard reveal animates content in once. Square Translate keeps working for the whole scroll through the list: a small square marker travels down the rows, scaling in, rotating a full turn, and scaling out, while the row it lines up with slides sideways and nearby rows follow by smaller amounts. The rows of copy are the content, and the square is the guide that walks the eye through them.

How should Square Translate simplify on mobile devices?

The component already goes full width below 768px with a fixed 12px square; lower translateValue if rows clip on narrow screens. The list still reads fine without the motion. With reduced motion the square still travels, rotates, and scales with scroll, but only the row it is aligned with shifts its text, with no ripple across neighbouring rows.

What should developers test before shipping Square Translate?

Confirm the row shift doesn't cause horizontal overflow, that the list reads well with your real item count and lengths, and that rows return to rest when you scroll past either end of the list. Test across breakpoints. Verify the static state looks intentional.

Which content structure works best with Square Translate?

A single column of short, parallel items, such as services, deliverables, or plan inclusions, passed through the items prop. The default list has ten one-line rows, which gives the marker a clear path. Keep each row to one line so the sideways shift stays readable.

When should I avoid Square Translate even if the preview looks good?

Avoid it when rows contain links or controls, when items are long paragraphs, or when the list is so short that a guided walk adds nothing. If the motion adds nothing to reading the list, leave it out. Skip it on utility routes.

Request a Custom Animation

Need a custom effect? Tell us what to create.

Related Effects

Explore All EffectsExplore All EffectsExplore All Effects
Scroll Stack
Pro
GSAP

Scroll Stack

Scroll

3D Portfolio Slider
Pro
Three.jsGSAPLenis

3D Portfolio Slider

WebGL

Parallax Gallery
Pro
GSAPLenis

Parallax Gallery

Scroll

Horizontal Feature Reveal
GSAP

Horizontal Feature Reveal

Scroll