<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/canvas-ui-ships-35-html-in-canvas-components-that-run-webgl-and-webgpu-effects-over-live-dom-tfekmd60e" -->

---
title: Canvas UI Ships 35 HTML-in-Canvas Components That Run...
description: Canvas UI, a new open-source component library from React Bits creator David Haz, is the first built on Chrome's experimental HTML-in-Canvas API. It ships 35...
canonical: https://daily.dev/posts/canvas-ui-ships-35-html-in-canvas-components-that-run-webgl-and-webgpu-effects-over-live-dom-tfekmd60e
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Canvas UI Ships 35 HTML-in-Canvas Components That Run WebGL and WebGPU Effects Over Live DOM | daily.dev
og:description: Canvas UI, a new open-source component library from React Bits creator David Haz, is the first built on Chrome's experimental HTML-in-Canvas API. It ships 35...
og:url: https://daily.dev/posts/canvas-ui-ships-35-html-in-canvas-components-that-run-webgl-and-webgpu-effects-over-live-dom-tfekmd60e
og:image: https://api.daily.dev/og/posts/tfekMD60E.png
og:image:alt: Canvas UI Ships 35 HTML-in-Canvas Components That Run WebGL and WebGPU Effects Over Live DOM
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Canvas UI Ships 35 HTML-in-Canvas Components That Run WebGL and WebGPU Effects Over Live DOM

**[InfoQ](https://daily.dev/sources/infoq)** · 3 min read · 0 upvotes · 0 comments

## Summary

Canvas UI, a new open-source component library from React Bits creator David Haz, is the first built on Chrome's experimental HTML-in-Canvas API. It ships 35 GPU-accelerated effects (fluid, fire, glass lenses, ASCII filters, particle reveals) that render over live, interactive DOM rather than static bitmaps, keeping text selectable and content in the accessibility tree. Each effect has both a WebGL (GLSL) and WebGPU (WGSL via vgpu) build, with framework wrappers for React, Solid, Preact, Vue and Svelte, distributed as source through a shadcn-compatible registry. Full functionality requires Chrome 148-150 with a flag or origin trial token; elsewhere effects fall back to a plain overlay since Safari and Firefox don't support the underlying API. The library received praise from shadcn's creator and the Chrome for Developers account, a detailed teardown from Flavio Copes, and sparked Hacker News debate over browser-specific web APIs. It's licensed MIT plus Commons Clause, has passed 4,600 GitHub stars, and its registry is MCP-ready.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.infoq.com/news/2026/09/canvas-ui-webgl>

## Questions this post answers

### What Chrome version do I need to use the HTML-in-Canvas API for Canvas UI's effects?

You need Chrome with the canvas-draw-element flag enabled, or an origin trial token, which is valid from Chrome 148 through Chrome 150 and is bound to a single domain. Outside of that window or without the flag, html-in-canvas effects fall back to a plain GPU overlay or render the wrapped content unchanged, though 3D object components work everywhere regardless.

_Track browser API rollouts like this on daily.dev before betting a UI feature on an origin trial._

### How does Canvas UI render live DOM content inside a canvas with WebGL effects?

It uses Chrome's html-in-canvas API to lay out live DOM inside a canvas, capture it with drawElementImage, upload it as a texture, and distort it with a GLSL (WebGL) or WGSL (WebGPU, via vgpu) shader. Text remains selectable, links remain clickable, and the content stays in the accessibility tree, unlike traditional canvas rendering that produces a static bitmap.

_Developers weighing shader-driven DOM effects can follow this technique's evolution on daily.dev._

### How are Canvas UI components installed and updated, and what license applies?

Components are distributed as source through a shadcn-compatible registry rather than an npm package, installed with a command like npx shadcn@latest add @canvas-ui/liquid-react. Because code is copied into the repository, upgrades mean re-running the install command and reconciling local edits. It is licensed MIT plus the Commons Clause, permitting commercial use but not reselling the components themselves.

_Anyone evaluating shadcn-style registry libraries can compare licensing and update tradeoffs via daily.dev._

## Similar posts on daily.dev

- [The Web Is Fun Again: First Experiments with HTML in Canvas – Frontend Masters Blog](https://daily.dev/posts/the-web-is-fun-again-first-experiments-with-html-in-canvas-frontend-masters-blog-n0q3syc0y) · Frontend Masters · 3 upvotes · 0 comments
- [Bypassing the DOM: How We Built a 60 FPS GPU Playground in React](https://daily.dev/posts/bypassing-the-dom-how-we-built-a-60-fps-gpu-playground-in-react-bjjoodryo) · Medium · 1 upvotes · 0 comments
- [ChartGPU/ChartGPU: Beautiful, open source, WebGPU-based charting library](https://daily.dev/posts/chartgpu-chartgpu-beautiful-open-source-webgpu-based-charting-library-brup1nbn4) · Hacker News · 46 upvotes · 3 comments

---

Tags: [#google-chrome](https://daily.dev/tags/google-chrome), [#webgl](https://daily.dev/tags/webgl), [#shadcn](https://daily.dev/tags/shadcn), [#webgpu](https://daily.dev/tags/webgpu)

[View this post on daily.dev](https://daily.dev/posts/canvas-ui-ships-35-html-in-canvas-components-that-run-webgl-and-webgpu-effects-over-live-dom-tfekmd60e)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Canvas UI Ships 35 HTML-in-Canvas Components That Run WebGL and WebGPU Effects Over Live DOM","url":"https://daily.dev/posts/canvas-ui-ships-35-html-in-canvas-components-that-run-webgl-and-webgpu-effects-over-live-dom-tfekmd60e","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/canvas-ui-ships-35-html-in-canvas-components-that-run-webgl-and-webgpu-effects-over-live-dom-tfekmd60e"},"datePublished":"2026-09-24T06:10:53.094Z","dateModified":"2026-09-24T06:11:17.474Z","description":"Canvas UI, a new open-source component library from React Bits creator David Haz, is the first built on Chrome's experimental HTML-in-Canvas API. It ships 35...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/975a5d7ac74a1e9f91fc5e801ac60200?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/975a5d7ac74a1e9f91fc5e801ac60200?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"InfoQ","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"InfoQ","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/afc3bced3e1e4b188dd9127017a60e0c","url":"https://daily.dev/sources/infoq"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/canvas-ui-ships-35-html-in-canvas-components-that-run-webgl-and-webgpu-effects-over-live-dom-tfekmd60e","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"google-chrome,webgl,shadcn,webgpu","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"InfoQ","item":"https://daily.dev/sources/infoq"},{"@type":"ListItem","position":3,"name":"Canvas UI Ships 35 HTML-in-Canvas Components That Run WebGL and WebGPU Effects Over Live DOM"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/canvas-ui-ships-35-html-in-canvas-components-that-run-webgl-and-webgpu-effects-over-live-dom-tfekmd60e#faq","mainEntity":[{"@type":"Question","name":"What Chrome version do I need to use the HTML-in-Canvas API for Canvas UI's effects?","acceptedAnswer":{"@type":"Answer","text":"You need Chrome with the canvas-draw-element flag enabled, or an origin trial token, which is valid from Chrome 148 through Chrome 150 and is bound to a single domain. Outside of that window or without the flag, html-in-canvas effects fall back to a plain GPU overlay or render the wrapped content unchanged, though 3D object components work everywhere regardless. Track browser API rollouts like this on daily.dev before betting a UI feature on an origin trial."}},{"@type":"Question","name":"How does Canvas UI render live DOM content inside a canvas with WebGL effects?","acceptedAnswer":{"@type":"Answer","text":"It uses Chrome's html-in-canvas API to lay out live DOM inside a canvas, capture it with drawElementImage, upload it as a texture, and distort it with a GLSL (WebGL) or WGSL (WebGPU, via vgpu) shader. Text remains selectable, links remain clickable, and the content stays in the accessibility tree, unlike traditional canvas rendering that produces a static bitmap. Developers weighing shader-driven DOM effects can follow this technique's evolution on daily.dev."}},{"@type":"Question","name":"How are Canvas UI components installed and updated, and what license applies?","acceptedAnswer":{"@type":"Answer","text":"Components are distributed as source through a shadcn-compatible registry rather than an npm package, installed with a command like npx shadcn@latest add @canvas-ui/liquid-react. Because code is copied into the repository, upgrades mean re-running the install command and reconciling local edits. It is licensed MIT plus the Commons Clause, permitting commercial use but not reselling the components themselves. Anyone evaluating shadcn-style registry libraries can compare licensing and update tradeoffs via daily.dev."}}]}
```

