Pulsing ripple animation effect for highlighting content like avatars, icons, or status indicators
color="var(--brand-5)"color="rgb(34 197 94)"color="#ef4444"color="rgba(59, 130, 246, 1)"color="hsl(45, 93%, 47%)"duration={1}duration={2}duration={3}duration={4}Avatar, profile pictures
{ borderRadius: "9999px" }Cards, buttons
{ width: 80, height: 48, borderRadius: "12px" }Feature cards
{ width: 96, height: 64, borderRadius: "16px" }Tags, badges
{ width: 96, height: 40, borderRadius: "9999px" }Icons, thumbnails
{ width: 56, borderRadius: "8px" }Status indicators
{ width: 16, borderRadius: "9999px" }Box-shadow fill effect
{ variant: "fill" }Outline ring effect
{ variant: "border" }User profile with online indicator
{ nested: true }
Highlighting updated content
{ width: 64 }
New notification indicator
{ width: 12 }CTA button with attention pulse
{ width: 135, height: 48, borderRadius: "9999px" }| Prop | Type | Default | Description |
|---|---|---|---|
width | number | 64 | Ripple width in pixels |
height | number | = width | Ripple height in pixels (defaults to width) |
borderRadius | string | 9999px | Border radius (e.g., "9999px", "12px", "8px") |
color | string | var(--brand-5) | Supports CSS variable, HEX, RGB, RGBA, HSL formats |
duration | number | 2 | Animation duration in seconds |
className | string | - | Additional CSS classes for the container |
children | ReactNode | - | Content to display in center |
borderRadiuswidth and height for non-square shapes