html-in-canvas

Embed HTML content into canvases using the HTML-in-Canvas proposal.

Updated Apr 11, 2026
One-click install
npx skills add https://github.com/zillafan80-Maxzilla/claw-code-ubuntu-desktopUI --skill html-in-canvas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: html-in-canvas
Source: https://github.com/zillafan80-Maxzilla/claw-code-ubuntu-desktopUI/tree/main/payload/claw-code/.claw/skills/html-in-canvas
Command: npx skills add https://github.com/zillafan80-Maxzilla/claw-code-ubuntu-desktopUI --skill html-in-canvas

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Embedding HTML content inside a canvas enables designers and developers to combine DOM-based UI with canvas rendering, enabling richer visualizations and interactive experiences without leaving the canvas context.

Core Features & Use Cases

  • Provides a reference foundation for embedding HTML in canvas (HTML-in-Canvas), including guidance on layoutsubtree, drawElementImage, and the paint model.
  • Supports research, design discussions, and prototyping of canvas-based UIs that render HTML elements and form controls.
  • Use Case: Explore rendering a form or control panel inside a canvas for embedded UI, dashboards, or games.

Quick Start

Review the upstream HTML-in-canvas repository and its references to understand how to reference APIs and apply the techniques in your project.

Frequently Asked Questions about html-in-canvas

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I render HTML elements inside a canvas element?

Rendering HTML inside a canvas combines DOM-based UI with canvas rendering. The HTML-in-Canvas proposal provides reference APIs like layoutsubtree and drawElementImage to achieve this alongside the canvas paint model.

What is the HTML-in-Canvas proposal for DOM rendering?

The HTML-in-Canvas proposal defines a reference foundation for DOM rendering inside canvases. It specifies how to embed HTML content, form controls, and layoutsubtrees using the OffscreenCanvas paint model.

Can I use OffscreenCanvas to draw interactive HTML form controls?

Yes, OffscreenCanvas can draw interactive HTML form controls. The proposal supports embedding HTML content into canvases, enabling interactive UIs and dashboards without leaving the canvas context.

Does embedding HTML in a canvas affect accessibility?

Embedding HTML in a canvas involves accessibility implications. Consulting the upstream repository references and explainer content provides implementation considerations to address these accessibility concerns.

What are the limitations of rendering HTML inside a canvas?

Limitations of rendering HTML inside a canvas involve navigating the paint model and accessibility implications. Reviewing the upstream repository materials is required to understand constraints around layoutsubtree and drawElementImage implementation.