New in February 2026 — See what's new
DazlDocs
Building with DazlDesign and Refine

Visual Editing

Edit mode lets you select, move, and modify elements directly on the live preview — no prompts, no code, no credits.

Edit mode lets you select, move, and modify elements directly on the live preview — no prompts, no code, no credits.

Edit mode with an element selected showing blue outline, breadcrumb label, and resize handles

Entering Edit Mode

The editor opens in Edit mode by default, where clicking selects elements for editing. Switch to Preview using the toggle in the top bar to interact with the app normally (following links, clicking buttons). Switch back to Edit to resume selecting and modifying elements.

The Edit / Preview toggle in the top bar of the center area

Selecting Elements

Click any element in the preview to select it. A selected element shows:

  • Blue outline around the selected element, with drag handles at corners and edges
  • Green outline around the parent component
  • Breadcrumb label in the top-left of the selection (e.g., "HomeHero...") showing the component name
  • Arrow to drill into the component's inner scope

To select nested elements, double-click to drill into a component's inner scope. You can also hold Cmd (Mac) or Ctrl (Windows) and click to select any deeply nested element directly.

Whatever you select is sent to the AI as context, so it knows exactly what you're referring to when you type in the Chat panel.

Editing Text

Double-click any text element to edit it directly. Type your changes and click away to confirm. The change is immediately saved to the source code.

Replacing Images

Double-click any image to open the Media panel in the Editing Toolbar, where you can replace it with a different image.

Text and images can be bound to data expressions, where the same value appears in multiple places. If you edit one and notice other elements changing too, the content is shared. For complex data changes, use the Chat panel instead — the AI can update the underlying data without unintended side effects.

Dragging and Repositioning

Click and drag a selected element to move it. When you release, Dazl updates the layout in the source code. You can use this to reorder items within a container or reposition components on the page.

The Editing Toolbar

When an element is selected in Edit mode, the Editing Toolbar appears below the top bar. Each icon opens a panel for a different aspect of the element's appearance:

  • Size and position — set width, height, min/max constraints, and CSS positioning
  • Layout — choose between box, horizontal/vertical stacks, or grid presets
  • Margin and padding — adjust outer and inner spacing with a visual four-sided editor
  • Typography — pick from theme font presets, adjust size, weight, alignment, and more
  • Text color and background — choose from theme tokens, the full palette, a custom picker, or AI-generated gradients
  • Border, corners, shadow — style edges, set border-radius from the theme scale, and add shadow depth
  • Link — connect elements to pages, URLs, emails, or phone numbers
  • Media — replace images, upload new ones, or generate them with AI
  • Properties — edit React component props directly

The toolbar handles the visual properties you can see. For deeper changes — component logic, data flow, or structural refactoring — use the Chat panel to ask the AI.

See Visual Editing in the Feature Reference for a detailed breakdown of every control.

What Happens Under the Hood

Every visual change you make is immediately written to the source code. Dazl's code analysis engine knows which file and which CSS rules are responsible for each element, so it makes precise, targeted edits — not broad rewrites.

You can see this in the Chat panel, where visual edits appear as manual edit entries showing exactly what was modified.

Visual editing doesn't consume credits. Use it for any change where you know what you want — adjusting colors, tweaking spacing, repositioning elements. Save AI interactions for changes that require reasoning about structure or logic.

On this page