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/Shear Wipe

Shear Wipe

A slanted wipe that switches between two content panels inside one section with a sharp angled motion.

GSAP
DemoDemoDemo

Tune the Real Props

Components Text Color

Text color for the Components panel.

Components Background Color

Background color for the Components panel.

Showcase Text Color

Text color for the Showcase panel.

Showcase Background Color

Background color for the Showcase panel.

Overview

Shear Wipe lets users move between related content states without leaving the page.

On desktop, the interaction is built around two large vertical labels, Components and Showcase, at the edges of the section. Clicking Showcase sweeps a slanted panel across from the right edge to cover the Components view; clicking Components pulls it back. Hovering the opposite label nudges the slanted edge as a preview. The result feels more graphic than a standard tabs component, but the job is still simple: show the right content when the user asks for it.

Use Shear Wipe when two related content views need to share the same space: components and showcases, features and proof, product story and results, design approach and implementation details. It is built for exactly two panels, Components and Showcase, each holding a heading and a short paragraph that you edit in the source. The page job is controlled switching: the visitor should understand which view is active, what changed, and where to click next.

The production risk is treating the visual wipe as the product. On desktop the two labels are clickable divs, not buttons, so they cannot be reached or triggered from the keyboard; add real buttons or a tab pattern before relying on it there. The angled wipe should make the content change feel designed; it should not make the user decode the interface.


Usage Code

page
1import ShearWipe from '@/components/shear-wipe'2 3const page = () => {4  return (5   <>6    <ShearWipe />7   </>8  )9}10 11export default page12 

Example Production Use Case

A product page can use Shear Wipe to switch between Components and Showcase. The Components view explains what the product includes in a heading and short paragraph, while the Showcase view gives a short proof statement; richer content such as screenshots means extending the panels in the source. The angled wipe makes the change feel intentional, but the user remains in control of what appears.

The outcome is focus: the page can show multiple sides of one story without stacking every detail vertically or forcing the visitor into a full carousel.


Best Used For

  • Product sections where two related views need to share one visual space.
  • Agency or portfolio pages that want to switch between capability copy and showcase proof.
  • Feature sections where the selected content should slide into view with more personality than standard tabs.
  • Landing pages where the content change should feel graphic, but still remain easy to understand.

Not For

Not for page transitions, route changes, checkout flows, dashboards, dense documentation, or large tab systems with many panels.

Not for critical information that users must see without clicking.

Not for keyboard-critical interfaces without changes: on desktop the panels switch only on a mouse click (hover just nudges the edge) and the labels are not focusable. Below 1024px the switch uses real tab buttons that work with keyboard and touch.


Performance Budget

Animate transform, clipping, and opacity rather than layout. Pre-size the content area where possible so the wipe does not create layout shift. Avoid loading heavy media for every inactive panel upfront, and clean up timers, observers, or animation instances when the component unmounts.


Accessibility and Mobile

Below 1024px the component already uses a role="tablist" with two role="tab" buttons carrying aria-selected, plus a sliding underline on the active tab. On desktop the vertical labels are plain divs with click handlers and no tabIndex or key handling, so keyboard users cannot switch panels there, and the active panel is shown only by which colour fills the section. Make the desktop labels real buttons, give each panel a labelled region, and preserve focus-visible styles.

Below 1024px the slanted wipe is replaced by the tab layout: the underline slides to the selected tab, the background colour changes, and the panel content cross-fades. With reduced motion enabled, the desktop wipe and the mobile content swap happen instantly, and the hover nudge on the labels is turned off.


Common Mistakes

  • Describing Shear Wipe as a page transition when it is a content-switching component.
  • Leaving the desktop vertical labels as click-only divs instead of focusable buttons.
  • Hiding the active state, so users cannot tell whether Components or Showcase is selected.
  • Putting essential copy only inside an animated layer that is hard to access.
  • Shipping the demo headings and placeholder copy as real proof.

Changelog

Initial release

API Reference

PropTypeDefaultDescription
componentsTextColorstring#0D47A1Text color for the Components panel.
componentsBackgroundColorstring#E3F2FDBackground color for the Components panel.
showcaseTextColorstring#ffffffText color for the Showcase panel.
showcaseBackgroundColorstring#0D47A1Background color for the Showcase panel.
clipPathDurationnumber0.9Duration of the shear clip-path wipe between panels.

Questions, Answered.

What is Shear Wipe?

Shear Wipe is a React content-switching component that reveals different content views through an angled slide-in wipe.

Is Shear Wipe a page transition?

No. It does not change routes. It switches content inside the same component when a user clicks labels such as Components or Showcase.

When should I use Shear Wipe?

Use it when related content views need a shared space and a more graphic switch than normal tabs.

Should Shear Wipe use tabs?

If the views are mutually exclusive and function like tabs, use a proper tab pattern. If the labels behave more like mode switches, use real buttons with clear active state and a labelled content region.

How should Shear Wipe behave on mobile?

Below 1024px it switches automatically to a tab layout with Components and Showcase tab buttons, a sliding underline and a cross-fade between panels, so there are no large angled panels on small screens.

What should reduced motion do for Shear Wipe?

With prefers-reduced-motion set, the angled wipe and the mobile cross-fade are skipped and the content switches instantly. The content stays fully readable without motion.

View MoreView More

Request a Custom Animation

Need a custom effect? Tell us what to create.

Related Effects

Explore All EffectsExplore All EffectsExplore All Effects
Scroll Stack
Pro
GSAP

Scroll Stack

Scroll

Animated Toggle
Pro
CSS

Animated Toggle

Buttons

Animated Form
Pro
zod

Animated Form

Components

Arrow Fill Button
Lucide-react

Arrow Fill Button

Buttons