Scroll Theme

Show Preview
Scroll Theme
Scroll Theme

About Scroll Theme

Scroll Theme Background

Change the background color of your page as visitors scroll through sections.

Features

  • Per-section color: set a target color for every section.

  • Trigger point: choose Top, Center or Bottom of the viewport for each section.

  • Per-section transition: use Framer's transition control for every color change.

  • Any order: sections are detected by their position on the page, so the order in the list doesn't matter.

  • Start color: set the background shown before the first section is reached.

  • Responsive: ignores layers hidden at other breakpoints, even when the same ID is used on desktop, tablet and phone.

  • Late content: picks up sections that render late, such as CMS content.

  • Reduced motion: switches colors instantly for visitors who prefer reduced motion.

  • Lightweight: nothing runs while the page is idle, and scrolling doesn't re-render React.

How to use

  1. Place the component on your page and set its Position to Fixed, with Top, Left, Right and Bottom all set to 0, and Width and Height set to Fixed as well. This keeps the background pinned to the screen and covering it while visitors scroll.

  2. Make sure the component sits below your content: send it to the back or give it a lower z-index than your content.

  3. Turn pointer events off (set to none) on the component, so it never blocks clicks, hovers or scrolling on the content above it.

  4. Set the background of your content frames and sections to transparent. A section with its own background color will cover the component and hide the color changes.

  5. Give each section on your page an ID (for example: hero, work, footer).

  6. Add one entry per section in the component: Section ID, target color, trigger and transition.

  7. Preview the page and scroll. The canvas only shows the start color.

  8. Add the component to each page that should use the effect. Settings are per page, so you can use different sections and colors on every page.

Tips

  • IDs must match exactly (for example: hero). A leading "#" is optional.

From ItsOwra

Type Motion

Related Components

Dot Grid Background
Hover Mask Effect
Background Pattern
Grain Surface