Creative components, in a new dimension.

An open source library of tasteful html-in-canvas components, in WebGL or WebGPU. Framework agnostic.

Components

38

And counting

Open source

100%

Free forever

Browse all

See Canvas UI in action in these awesome videos.

Copy, paste, ship.

canvasui.dev/components
Blaze
Liquid
Glass
Shatter
Particle Reveal
VHS

One component, six flavors.

Every effect ships as React, Solid, Preact, Vue, Svelte, and dependency-free vanilla TypeScript. Same engine, same props, native to your stack.

import { ParticleReveal } from "@/components/canvasui/ParticleReveal";

export function Hero() {
  return (
    <ParticleReveal radius={300}>
      <YourContent />
    </ParticleReveal>
  );
}

Agent

MCP connected

Add a particle reveal effect to my hero section

Found particle-reveal in the Canvas UI registry. Installing it now.

shadcn CLI

npx shadcn@latest add @canvas-ui/particle-reveal-react

Done. ParticleReveal.tsx is now wired into your hero.

Built for agents.

The registry speaks the shadcn protocol, so any assistant with the shadcn MCP server can browse the library, read the docs, and install components, all from a single prompt.

Set up the MCP server

Good questions.

Yes. Canvas UI is licensed under MIT + Commons Clause: use every component in any personal or commercial app or website, free forever. The only restriction is reselling or redistributing the components themselves, whether alone, in a bundle, or as a port.

Components that draw live HTML on canvas rely on the html-in-canvas API, which ships in Chrome 157 and later. Everywhere else they degrade gracefully: your content renders as regular HTML, and effects like Blaze, Liquid, Laser, Clouds, Bubble, Droplets, Glass, Magnify, Grid, and Ripple keep running as a pure GPU overlay on top of it. The WebGL builds work in every modern browser; the WebGPU builds need a browser with WebGPU (Chrome, Edge, Safari 26, Firefox 141) and show your content unchanged elsewhere.

The effects render on the GPU, through WebGL or WebGPU via vgpu, and animate outside React's render cycle. Each component initializes only when mounted, pauses when off-screen, and cleans up fully on unmount. Reduced-motion preferences are respected.

No. Every component ships in six flavors: React, Solid, Preact, Vue, Svelte, and dependency-free vanilla TypeScript. Same engine and the same options in all of them. Both the WebGL and the WebGPU build ship in all six.

The code is copied into your repo, so nothing updates from under you. When a component improves, re-run the install command to pull the latest version, or just keep your copy and evolve it yourself.

See how Canvas UI evolves.

Sign up to our newsletter for updates and exclusive goodies. No spam. No noise. See our privacy policy.