Canvas UI ships 35 HTML-in-Canvas components with WebGL and WebGPU effects
Canvas UI, an open source library from React Bits creator David Haz, is the first built on the experimental HTML-in-Canvas API, running GPU effects over live DOM. It ships 35 components, including pointer-driven fluid, fire, glass lenses, ASCII filters, VHS grain and particle reveals.
- 35 components, each with a WebGL (GLSL) and WebGPU (WGSL) build via vgpu
- Wrappers for React, Solid, Preact, Vue, Svelte and vanilla TypeScript
- Full experience needs Chrome with the canvas-draw-element flag or an origin trial from Chrome 148 to 150
- MIT plus Commons Clause license: commercial use allowed, reselling components is not
Read next
Software