Effects Fancy Stable

Ripple

Set of concentric circles that pulse in a staggered wave, each ring larger, more transparent, and more delayed than the last, with the outermost ring rendered dashed to suggest a fading signal

Preview

Installation

pnpm add fancy-ui-svelte
import { Ripple } from 'fancy-ui-svelte'

Usage

svelte
<script lang="ts">
  import { Ripple } from 'fancy-ui-svelte';
</script>

<Ripple />

Examples

Basic Usage

Styled Circles

Interactive Playground

Props

PropTypeDefaultDescription
baseCircleSize number210Diameter of the smallest (innermost) circle in pixels
baseCircleOpacity number0.24Opacity of the innermost circle
spaceBetweenCircle number70Extra pixels added to each successive circle
circleOpacityDowngradeRatio number0.03Opacity reduction per circle outward
circleClass string""Additional CSS classes applied to each circle
waveSpeed number80Animation delay between circles in ms
numberOfCircles number7Total number of concentric circles