Components / effect

Shutter Wipe Transition

v1.0.0 · premium

Eight bars slide across to cover the page from top to bottom, the page swaps, then the bars leave to the right.

Shutter Wipe Transition demo

Implementation

Eight bars slide across to cover the page from top to bottom, the page swaps, then the bars leave to the right.

Framework
React 19.3.1 with TypeScript
Motion
Native CSS and browser APIs. No GSAP required.
Available modes
build
Version
1.0.0 · published

Source code

Download source ZIP
export function ShutterWipe({ viewKey, children, direction = 'forward', duration = 1100, ink, className }: {
  /** A key that changes for each page, such as the route path. */
  viewKey: string;

Quality evidence

Export tested in 2 consumer projects with chromium, firefox, webkit. Evidence recorded on .

Changelog

v1.0.0 · Eight bars slide across to cover the page from top to bottom, the page swaps, then the bars leave to the right.

Frequently asked questions

What is the difference from the stripe wipe?

The shutter uses eight horizontal bars that slide sideways, and the stripe wipe uses six vertical columns that rise. Both swap the page while it is covered.

Does it work with my router?

Yes. Use your route path as viewKey and render the new route as children. The component knows nothing about the router.