Ripple
Server ComponentConcentric rings that expand from the centre of a surface.
Import
tsx
import { Ripple } from "@cronus-ui/ui";
bash
npx cronus-ui add ripple
Examples
API Reference
Generated from the component's exported types.
RippleProps
Extends HTMLAttributes<HTMLDivElement>
| Prop | Type | Default | Description |
|---|---|---|---|
ref | Ref<HTMLDivElement> | — | — |
count | number | 8 | Number of concentric rings. Clamped to `1–16`. |
duration | number | 8 | Seconds for one expansion cycle. |