Free Webinar β€” Building for Scale with Pion & Webflow

0.1.0

Ripple Interaction

Interactive ripple effect overlay triggered by click/touch events.

Interactive ripple effect overlay triggered by click/touch events.

Features

  • βœ… Zero dependencies - Pure React implementation
  • βœ… Full accessibility - ARIA labels, keyboard navigation, screen reader support
  • βœ… Theme support - Light, dark, and auto modes
  • βœ… Reduced motion support - Respects user preferences

Props

rippleColor

  • Type: string - Default: 'rgba(139, 92, 246, 0.5)'
  • Ripple color (rgba)

duration

  • Type: number - Default: 1000
  • Ripple duration in milliseconds

maxSize

  • Type: number - Default: 300
  • Maximum ripple size in pixels

theme

  • Type: 'light' | 'dark' | 'auto' - Default: 'auto'
  • Theme mode

className

  • Type: string
  • Additional CSS class

Customization

Webflow Classes

Target these classes in Webflow Designer for custom styles:

  • .cc-ripple-interaction