AI-native design editor. Open-source Figma alternative.
title: CanvasSurface description: Canvas element primitive that binds to the nearest CanvasRoot context.
CanvasSurface
CanvasSurface renders the actual <canvas> element used by the SDK canvas stack.
Use it inside CanvasRoot when you want SDK-managed canvas refs and rendering integration, but app-owned layout and styling.