canvas-ui brings WebGL shaders to live DOM
canvas-ui by David Haz (@DavidHDev) is an experimental open-source UI component library that applies real-time WebGL shader effects—such as liquid warping, glass refraction, and VHS distortion—directly over live HTML elements. Leveraging the experimental html-in-canvas API, it enables React, Vue, Svelte, and vanilla web apps to use GPU-accelerated visuals while preserving native DOM interactivity and text selection.
Blending high-end WebGL graphics with standard web interaction has long been a challenge, making canvas-ui an exciting step forward for creative front-end development.
- –Enables rich shader visual effects directly on interactive text, buttons, and layouts.
- –Preserves native web usability features including text selection, focus handling, and link navigation.
- –Offers multi-framework support for React, Vue, Svelte, and vanilla TypeScript via a shadcn-style component registry.
- –Relies on experimental browser features like html-in-canvas, which may limit present-day cross-browser production readiness.
DISCOVERED
3h ago
2026-07-25
PUBLISHED
3h ago
2026-07-25
RELEVANCE
AUTHOR
Github Awesome