BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/motiq/flow-warp-image

Flow Warp Image

motiq/flow-warp-image
FreeComponent

A media surface that liquefies under the pointer: a 32×20 spring mesh (k=90, c=8) displaces sub-rects of your image with a (1−d/R)² falloff and snaps back elastically, throws a radial splash on pointer exit, and swells on a Lissajous path while idle. One canvas, DPR capped at 2, arrow keys and Space as the keyboard equivalent.

Live preview

live · rendered by the registry
Rendered by motiq on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://www.motiq.dev/r/flow-warp-image.json

Source

registry/media/flow-warp-image.tsxwww.motiq.dev/r/flow-warp-image.json · first 6 KB
1"use client";
2
3import * as React from "react";
4
5import { cn } from "@/lib/utils";
6import { useReducedMotion, useVisibilityPause } from "@/lib/motiq";
7
8/* -------------------------------------------------------------------------- */
9/* Types */
10/* -------------------------------------------------------------------------- */
11
12/** Anything the canvas can sample from: a URL, or an already-painted surface. */
13export type FlowWarpSource = string | HTMLCanvasElement | HTMLImageElement;
14
15export interface FlowWarpImageProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
16 /** Image URL (or a canvas/image element) sampled into the warping mesh. */
17 src?: FlowWarpSource;
18 /** Describes the picture for assistive tech. Empty string = purely decorative. */
19 alt?: string;
20 /** Mesh resolution as [columns, rows]. */
21 grid?: [number, number];
22 /** Per-node return spring stiffness. */
23 stiffness?: number;
24 /** Per-node damping. */
25 damping?: number;
26 /** Pointer push radius in CSS px. */
27 radius?: number;
28 /** Impulse gain multiplier (1 = the tuned default). */
29 strength?: number;
30 /** Throw a radial splash from the last pointer position on exit. */
31 splashOnLeave?: boolean;
32 /** Let a virtual pointer ride a Lissajous path after 3s of stillness. */
33 idleWave?: boolean;
34 /** Deterministic seed for the built-in fallback surface (used when `src` is unset). */
35 seed?: number;
36 /** Overlay content (labels, titles) rendered above the canvas. */
37 overlay?: React.ReactNode;
38 /** Force the still variant regardless of system preference. */
39 reducedMotion?: boolean;
40 /** Stop the rAF loop while scrolled offscreen or the tab is hidden. */
41 pauseWhenHidden?: boolean;
42}
43
44/* -------------------------------------------------------------------------- */
45/* Physics constants (Motion Lab ship spec) */
46/* -------------------------------------------------------------------------- */
47
48const DEFAULT_GRID: [number, number] = [32, 20];
49const K_DEFAULT = 90;
50const C_DEFAULT = 8;
51const PUSH_RADIUS = 140;
52/** Base impulse gain; pointer speed adds SPEED_GAIN · |v|. */
53const BASE_GAIN = 260;
54const SPEED_GAIN = 0.45;
55/** Pointer speed is clamped so a flick can't blow the mesh apart. */
56const MAX_POINTER_SPEED = 3200;
57const SPLASH_RADIUS = 230;
58const SPLASH_POWER = 300;
59const KEY_SPLASH_POWER = 130;
60const KEY_BURST_POWER = 340;
61// … truncated

What it pulls in

Other registry items

  • https://motiq.dev/r/utils.json
  • https://motiq.dev/r/primitives.json

Files it writes

  • registry/media/flow-warp-image.tsx

Facts

Registry
motiq
Type
registry:component
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-12
Last confirmed
yesterday

Go to the source

Docs on motiq www.motiq.dev RMahammad/motiq on GitHub Raw registry item This item as JSON

More from motiq

All 100 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Activity Streamactivity-streammotiqComponentsFree1 dep
Adaptive Safe-Zone Gridadaptive-safe-zone-gridmotiqComponentsFreeno deps
Agent Run Timelineagent-run-timelinemotiqComponentsFree1 dep
AI Response Streamai-response-streammotiqComponentsFree1 dep
Animated Accordionanimated-accordionmotiqComponentsFree2 deps
Animated Buttonanimated-buttonmotiqComponentsFree1 dep
Animated Dialoganimated-dialogmotiqComponentsFree2 deps
Animated Gridanimated-gridmotiqComponentsFree2 deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

KitGrade

SaaS starter kits, scored from measured facts

kitgrade.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex