openpencil/packages/docs/programmable/sdk/api/components/layer-tree-root.md

15 lines
392 B
Markdown
Raw Permalink Normal View History

---
title: LayerTreeRoot
description: Headless structural primitive for layer tree interfaces.
---
# LayerTreeRoot
`LayerTreeRoot` is the SDK primitive for rendering a layer tree with app-owned markup and styling.
Use it when you want reusable tree structure and interaction wiring without built-in presentation.
## Related APIs
- [useSelectionState](../composables/use-selection-state)