New in February 2026 — See what's new
DazlDocs
Building with DazlIterate and Collaborate

The Elements Tree

The Elements panel shows your project's component hierarchy — a tree view of every element on the current page. It's useful for selecting elements that are hard to click on the preview, and for understanding how your project is structured.

The Elements panel shows your project's component hierarchy — a tree view of every element on the current page. It's useful for selecting elements that are hard to click on the preview, and for understanding how your project is structured.

The Elements panel showing a component tree with NavigationHeaderBlock, HomeHeroBlock, and other components

Using the Elements Tree

Click the Elements tab in the left sidebar to open the panel. You'll see a collapsible tree of component names and CSS class names, similar to the Elements panel in browser DevTools.

  • Click a component or element to select it on the preview
  • Expand/collapse nodes to explore the hierarchy
  • Hover over a node to highlight the corresponding element in the preview

Readable Source Names

Unlike browser DevTools, where class names are often hashed or minified, the Elements panel shows everything in its original source name. You'll see names like NavigationHeaderBlock, HomeHeroBlock, and heroSection — the actual names used in the code.

This makes it straightforward to:

  • Identify which component owns which part of the UI
  • Find the right element to feed as context to the AI
  • Align your team's vocabulary around consistent component names

When to Use the Elements Tree

The Elements tree is especially helpful when:

  • An element is hard to select on the preview — it's behind another element, has zero dimensions, or is otherwise hard to click
  • You want to understand the nesting structure — see which components contain which children
  • You need to pass a specific element to the AI — select it in the tree, and it appears as context in the Chat panel

You can keep the Chat panel visible while browsing the Elements tree. Select an element from the tree, switch to Chat, and the element is already attached as context.

On this page