Flux Image
imageProA photo that flows like liquid under the pointer: a small WebGL2 fluid simulation with a prism split, sheen and warping edges. A click sends out a ring.
Introductory price until 31 December 2026. €79 after that.
Preview
Live demo. The theme switches the demo itself.
Code
The code is locked
Flux Image is part of Manniche UI Pro. A key unlocks the source of all 66 effects.
Buy · €49€49 · Introductory price until 31 December 2026. €79 after that.
- One-off payment
- One developer
- Sign in and create your key straight away
- No VAT (§ 19 UStG)
Have a key? Get the code with the CLI or MCP.
The key lives in MANNICHE_PRO_KEY, never in your code or a URL. How to set it up
npx shadcn@latest add @manniche-pro/flux-imageclaude mcp add --transport http manniche-ui https://mikkelmanniche.dk/api/mcp --header "Authorization: Bearer $MANNICHE_PRO_KEY"Props
FluxImageProps
| Prop | Type | Default | What it does |
|---|---|---|---|
src required | string | – | The photo. Cross-origin images must be served with CORS headers, or the still image is shown instead. |
alt required | string | – | Describes the photo for screen readers. |
fit | 'cover' | 'contain' | 'cover' | cover crops the photo to fill the box, contain shows all of it. |
focusX | number | 0.5 | Horizontal focus point from 0 (left) to 1 (right), used when cover crops the photo. |
focusY | number | 0.5 | Vertical focus point from 0 (top) to 1 (bottom), used when cover crops the photo. |
intensity | number | 1 | How hard the pointer stirs the surface. 1 is a firm stir; 0.4 a gentle one. |
radius | number | 90 | Reach of the pointer in CSS pixels. |
resolution | number | 128 | Cells along the long side of the simulation. Higher is finer and costs more; 64 to 256 is sensible. |
recovery | number | 1 | How quickly the photo heals after a stir. 1 settles in about three seconds; 2 in half that. |
swirl | number | 0.45 | 0 to 1: how much the flow curls into eddies. |
chroma | number | 0.4 | 0 to 1: colour fringing where the surface is pulled hardest. |
shine | number | 0.35 | 0 to 1: a glassy sheen on the slopes of each ripple. |
edges | 'warp' | 'clamp' | 'warp' | warp lets the frame's edges ripple too; clamp keeps a clean rectangle. |
hint | boolean | true | Gives one short stir when the photo first scrolls into view, so people see it is alive. |
children | ReactNode | – | Content shown on top of the photo. |
className | string | – | – |
A11y
Screen reader
The alt text sits on a real image that stays in the page. The WebGL canvas drawn over it is created with aria-hidden, so the picture is read once.
Reduced motion
Under reduced motion no canvas is created and only the still image shows. Otherwise the loop runs only while the image is on screen and within a few seconds of a touch. The stir is pointer-only and decorative, so it has no keyboard equivalent.
Other
Without WebGL2 or cross-origin pixel access the plain image stays as it is.