📄️ Canvas
Canvas is the special root component of Canvas UI - all Canvas UI elements must be descendants of this component. It serves as the bridge between the HTML DOM and the Canvas UI rendering system.
📄️ View
View is the fundamental container component in Canvas UI. It provides a basic container without automatic layout capabilities, requiring child elements to use absolute positioning to specify their coordinates.
📄️ Flex
The Flex component is a container node that supports flexible box layout, providing powerful and intuitive layout capabilities for arranging child elements. It follows CSS flexbox principles, making it easy to create responsive and adaptive layouts.
📄️ ScrollView
ScrollView is used to create a scrollable view.
📄️ Chunk
Chunk is a specialized container component optimized for rendering large lists of elements efficiently. It provides automatic chunking and offstage rendering to handle performance-intensive scenarios where thousands of items need to be displayed.