Decay Card

Distortion effect card with GSAP animations and SVG filters

Configuring your account...

Please wait while we prepare everything for you

Usage

import DecayCard from './DecayCard';

<DecayCard width={200} height={300} image="https://picsum.photos/300/400?grayscale">
  <h2>Decay<br/>Card</h2>
</DecayCard>

Props

PropTypeDefaultDescription
widthnumber300Width of the card
heightnumber400Height of the card
imagestring'https://picsum.photos/300/400?grayscale'Background image URL
childrenReactNodeundefinedContent to display over the image

Features

  • Mouse-responsive distortion: Image distorts based on mouse movement
  • GSAP animations: Smooth transitions and effects
  • SVG filters: Advanced visual effects using SVG displacement maps
  • Responsive design: Adapts to different screen sizes
  • Customizable content: Add any content over the distorted image