Skip to content
caliper ui pro docs

Water ripple

A photograph under a sheet of water. The pointer trails small ripples, a press drops a stone, and light rain can fall on its own; the rings spread, cross, bend the picture beneath and catch the light before they die away.

Pro

When to use

  • Travel, hospitality and nature imagery that should invite a touch.
  • A hero picture on a calm page.

When not to use

  • Pictures with text or faces that must stay sharp.
  • Several on one page.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/water-ripple

Adds its 3 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.

API reference

WaterRipple

3 props

Also accepts the native props of its root element and a ref.

PropTypeDefaultDescription
src *string—
alt *string—What the picture shows.
rainbooleantrueLight rain falling on its own. Without it the water is still until touched.

Keyboard

  • No custom key handling; Tab and the native activation keys do the work.

Accessibility

It exposes img semantics, with aria-label kept in step with state.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/water-ripple.md

The index of every part is at /llms.txt.

More in Media