@brickslab/ui-web
Concentric ripple rings expanding from center with customizable frequency and amplitude
Props
| Prop | Type | Défaut | Requis | Description |
|---|---|---|---|---|
amplitude | number | 100 | — | Height of the ripple waves |
frequency | number | 5 | — | Number of ripple rings |
center | { x: number; y: number } | { x: 50, y: 50 } | — | Center position of ripples (0-100 for both x and y) |
speed | number | 6 | — | Animation speed in seconds |
Usage
Variations
Offset Center
Dense Ripples