Before/After Wipe

Motion Components · Vol. 2

Component

Before/After Wipe

A real-time WebGL wipe: drag anywhere (or use the slider, arrow keys or buttons) and a glowing seam repaints a wrecked, rain-soaked skyline into the same city at golden hour. A 3D metal handle rides the seam and sparks stream off it.

Variants

Sizes and states, all built from the same markup.

Compact
Default
Disabled

Usage

Paste the markup, include assets/css/tokens.css and assets/css/tailwind.css, then run the script from this page.

Accessibility