---
title: CanvasRoot
description: Headless canvas primitive for OpenPencil rendering surfaces.
---

# CanvasRoot

`CanvasRoot` is the structural canvas primitive in `@open-pencil/vue`.

Use it when you want SDK-provided canvas structure and context with app-owned layout and styling.

## Related APIs

- [useCanvas](../composables/use-canvas)
- [useCanvasInput](../composables/use-canvas-input)
- [useTextEdit](../composables/use-text-edit)
