Pond Glide
A draggable stack of three cards over a slow theme-tinted swirl, with pixel-tile reveals.
Three cards sit in a tilted stack inside slowly turning orbit rings, set on theme surfaces with serif quotes and a mono seal. Drag left or tap for the next card, drag right for the previous one, or use the arrow keys. Each image is overlaid with a moving grid of hidden tiles that your cursor wipes away, and each new card inks its quote in word by word. A WebGL swirl tinted from the background and primary, with cursor ripples, fills the scene. Default images are koi photos from Wikimedia Commons (CC BY-SA); pass your own through cards. It re-reads the theme when the mode or palette changes, pauses off screen and stays still when the user prefers reduced motion.
Installation
CLI
npx @modus-ui/cli add pond-glideManual
- Copy the code from the component tab.
- Create a file at
components/ui/pond-glide.tsx. - Paste the code.
Usage
Props
| Prop | Type | Default | Description |
|---|---|---|---|
cards | PondGlideCard[] | three pond studies (Shallows, Ripple, Still Pool) | The cards of the stack, front first (name, seal, lines, image, optional panel, ink, accent). |
hint | string | "drag · tap · let it drift" | Hint under the stack. |
backgroundColor | string | "hsl(var(--background))" | Scene background colour. |
swirlColors | [string, string] | Theme background → primary-tinted muted | Two colours of the swirling background shader. |
Comments