Guides / Motion

Parallax

Parallax scrolls foreground and background at different speeds—creates depth, common in game backdrops and landing heroes.

Live demo

Foreground

Implementation prompts

Standard

Parallax hero: the background scrolls at half the speed of the foreground.

With motion

Parallax with lerped (smoothed) scroll tracking and layered speeds for depth.
Design spec entry
### Parallax (#parallax)

Category: Motion

Parallax scrolls foreground and background at different speeds—creates depth, common in game backdrops and landing heroes.

- Do: Parallax hero: the background scrolls at half the speed of the foreground

With motion: Parallax with lerped (smoothed) scroll tracking and layered speeds for depth.

Live demo: https://uidesignmd.com/guides/parallax/