liquiddom
v0.2.0-rc.0 · MIT

Physical DOM, without sacrificing accessibility

WASM-driven soft-body physics animates your real DOM elements through a hidden canvas overlay. Screen readers, keyboard focus, and :hover all just work.

Built for production

A vanilla web library. Zero framework lock-in. Pre-allocated buffer pool. Zero per-frame allocation in the hot path.

Real DOM, real a11y

Your <button> stays a <button>. Screen readers see it, keyboard focus works, :hover fires. liquiddom paints over — never replaces.

WebGPU when available

renderer: 'auto' probes WebGPU then falls back to Canvas2D transparently. Metaball fusion and background refraction on capable browsers.

Framework adapters

Vanilla TS, React 18+, Vue 3.4+. One WASM instance shared across the app, idiomatic adapters that respect strict mode and SSR.

Install in 30 seconds

Published on npm as MIT. Vanilla core + optional framework adapters.

npm install liquiddom @liquiddom/react @liquiddom/vue

The React and Vue adapters are optional. Install only what your app uses.