← All stories
● Covered by 1 source · 1 reportMedium impact1 neutral

Canvas UI Launches with 35 HTML-in-Canvas Components for GPU Effects on Live DOM

🔄 Updated 2h ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • Canvas UI launched with 35 HTML-in-Canvas components.
  • Applies WebGL/WebGPU effects over live DOM content.
  • Preserves text selection, link clicking, and accessibility.
  • Requires Chrome with `canvas-draw-element` flag or origin trial.

Introduction of Canvas UI

Canvas UI, an open-source component library developed by React Bits creator David Haz, has been released. It is the first library built on the experimental HTML-in-Canvas API, enabling GPU-accelerated visual effects to be applied directly to live, interactive web page content.

Component Features and Functionality

The library includes 35 components, offering effects such as pointer-driven fluid, fire, glass lenses, ASCII filters, VHS grain, and particle reveals. Each effect provides both a WebGL build using GLSL and a WebGPU build using WGSL via vgpu. Wrappers are available for React, Solid, Preact, Vue, Svelte, and vanilla TypeScript.

Unlike traditional methods that render static bitmaps, most Canvas UI components utilize Chrome's html-in-canvas API. This API allows live DOM content to be laid out within a canvas, captured as a texture, and then distorted using a shader. This approach ensures that text remains selectable, links remain clickable, and content stays within the accessibility tree.

Distribution and Browser Compatibility

Components are distributed as source code through a shadcn-compatible registry, rather than as a package. Full functionality, particularly for html-in-canvas effects, requires Chrome with the `canvas-draw-element` flag enabled or an origin trial token, which is active from Chrome 148 through 150 and domain-bound. Without these, html-in-canvas effects fall back to a plain GPU overlay or render content unchanged, though 3D object components function universally.

Industry Reception and Practical Advice

The library has received positive feedback, with shadcn calling it one of the most impressive registries seen, and Chrome for Developers acknowledging its role in empowering new frameworks. Flavio Copes highlighted the engineering details, noting features like IntersectionObserver for off-screen components, `prefers-reduced-motion` support, and proper resource release on unmount. Copes advised using one strong effect rather than multiple and avoiding its use on dashboards, checkout flows, or documentation sites.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~26 min · 21 stories · Sep 23

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

Canvas UI, an open-source library, has launched with 35 components that apply WebGL and WebGPU effects directly over live, interactive HTML content using the experimental HTML-in-Canvas API. This allows for visual effects like fluid distortions and glass lenses while preserving DOM interactivity and accessibility. The library offers builds for various frameworks and requires Chrome with a specific flag or origin trial token for full functionality.