Installation
Choose your framework. The registry installs one component file and its PixiJS dependency.
Installation unavailable
This preview is not assigned to the free or paid catalog. Installation is unavailable.
The registry command writes the component to src/lib/components/ui/WaterRipple.svelte and installs its dependencies.
The registry command writes the component to src/components/ui/WaterRipple.tsx and installs its dependencies.
The registry command writes the component to src/components/ui/WaterRipple.vue and installs its dependencies.
The ripple brush is embedded as a data URL, so installation does not create a separate image file.
Overview
Water Ripple turns any image into an interactive surface, stamping soft expanding displacement waves wherever the pointer moves.
The bundled ripple brush is embedded directly in the generated component, while the displayed image remains an explicit source supplied by the consumer.
Basic usage
The shader fills its parent. Your layout decides whether that parent is a card, hero, or viewport.
- Give the component a resolved height through its class or parent container.
- Remote image sources must allow cross-origin image loading when served from another origin.
- Reduced-motion preferences pause the displacement animation without removing the source image.
Component API
Types below match the selected Svelte component.
Types below match the selected React component.
Types below match the selected Vue component.