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/Split Canvas

Split Canvas

A canvas-led scroll effect that splits or reveals visual states for before-after stories, AI launches, and transformation sections.

GSAP Three.jsLenis
DemoDemoDemo

Tune the Real Props

Bg Color

Page background color.

Overview

Split Canvas makes scroll feel like a cut through the visual field. It is for pages where the transition between states matters.

Use Split Canvas when the page message benefits from a visual split that feels deliberate. Creative studios, AI launches, and experimental brand pages can use it to frame contrast, reveal, or transformation. The page job is contrast: two sides of the idea should feel connected by the interaction.

The production risk is canvas dependency. If the split effect fails, the core message, headline, and CTA must still exist in HTML and remain visually complete.


Usage Code

page
1import SplitCanvas from '@/components/effects/split-canvas'2 3const page = () => {4  return (5    <>6    <SplitCanvas />7    </>8  )9}10 11export default page

Example Production Use Case

An AI launch page contrasting before-and-after product states: Split Canvas frames the transformation as a designed reveal rather than a static comparison. The outcome is contrast: the visitor feels the shift before reading the detail.


Best Used For

  • Brand sections where the change between two visual states is the point of the scroll moment.
  • Before/after and state-change moments where the cut is the message.
  • Split Canvas creates a concrete scroll outcome that a static section would not deliver.

Not For

Not for content where the before/after state is not obvious without motion.

Not for pages where split motion would hide the CTA or interrupt reading.


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 animated sequence must match DOM order. On mobile, replace pinned or horizontal mechanics with stacked sections, native swipe, or static cards.


Common Mistakes

  • Putting meaningful copy only inside a canvas layer.
  • Letting the seam hide the before/after comparison.
  • Using a split when there is no real two-state story.

Changelog

Added prefers-reduced-motion support: the pixel-grid shutter transition becomes a plain crossfade between images
Initial release

API Reference

PropTypeDefaultDescription
bgColorcolor#F5F5F0Page background color.
gridSizenumber16Pixel-dissolve shader's grid cell size, in px.
numSlicesnumber32Number of horizontal slices the pixel-wipe transition is split into.
canvasSizenumber599Size (px) of the central transitioning canvas panel on desktop - mobile/tablet sizes scale proportionally.

Questions, Answered.

What makes Split Canvas different from a standard scroll reveal?

Scroll acts like a cut through the visual field, splitting and shifting the canvas between two states rather than revealing one element. The transition between states is the message. Use it where the change itself is what you want noticed.

How should Split Canvas simplify on mobile devices?

Reduce the split travel and ensure the two states stack or transition cleanly on a narrow screen. Keep any text content in the DOM, not painted into the canvas. With reduced motion, the slice-blind and pixel motion is replaced by a plain crossfade between images, still driven by scroll.

What should developers test before shipping Split Canvas?

The component renders a Three.js WebGL canvas that already pauses offscreen and when the tab is hidden; confirm it cleans up on route change and keeps meaningful HTML alongside it. Check the split doesn't clip content at the seam. There is no static fallback, so check the section still reads if WebGL fails to load.

Which content structure works best with Split Canvas?

A two-state moment — before/after, open/closed, or a strong scene change — where the cut dramatizes a transition. It's wrong for continuous reading or many states. Keep it to a single, clear split.

When should I avoid Split Canvas even if the preview looks good?

Avoid it where the meaning lives in text that would end up inside a canvas, on content-dense pages, or where the seam could hide information. If there's no real two-state story, the cut is empty. Skip it when a fade would do the same job.

Request a Custom Animation

Need a custom effect? Tell us what to create.

Related Effects

Explore All EffectsExplore All EffectsExplore All Effects
Scroll Distortion
Pro
GSAPThree.js

Scroll Distortion

Scroll

Interactive Blur Reveal
WebGL Shader

Interactive Blur Reveal

WebGL

Dither Canvas
Pro
canvas-shader

Dither Canvas

Backgrounds

Mouse Pixelation
Pro
Three.js@react-three/fiber@react-three/postprocessing

Mouse Pixelation

WebGL