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

Working with Code

Dazl generates real source code — React components, CSS modules, TypeScript files — and you can view and edit that code directly. The Files panel and the code editor give you access to every file in your project.

Dazl generates real source code — React components, CSS modules, TypeScript files — and you can view and edit that code directly. The Files panel and the code editor give you access to every file in your project.

A code file open in a tab showing syntax highlighting and line numbers

Browsing Files

Click the Files tab in the left sidebar to open the file tree. You'll see the full directory structure of your project, organized into folders with expand/collapse controls. Files are shown with type-specific icons (.tsx, .css, .ts).

Click any file to open it as a tab in the center area.

Quick Open

Press Cmd+P (Mac) or Ctrl+P (Windows) to open the Quick Open dialog. Start typing a filename and the list filters in real time using fuzzy matching.

The Quick Open dialog showing filtered results for "hero", with matching files listed by name and folder path

The Code Editor

Code files open in an editor with:

  • Syntax highlighting – color-coded TypeScript, CSS, JSON, and other languages
  • Line numbers – in the left gutter
  • Code folding – collapse and expand blocks using the arrows next to line numbers

You can edit code directly in the editor. Changes are saved automatically and reflected in the preview.

Tabbed Editing

The center area is a tabbed container. You can have multiple files and the Preview open as tabs simultaneously.

Tabs follow a dynamic-until-pinned system:

  • Opening a file replaces the current unpinned tab (shown in italic text)
  • Double-click a tab to pin it (it switches to normal text and stays open)
  • Start typing in a file or making an edit to automatically pin its tab

This keeps your workspace clean while letting you pin the files you're actively working with.

Multiple tabs in the center area showing Preview and a code file

When to Edit Code Directly

Most of the time, you'll work through visual editing or the chat. But direct code access is useful when:

  • You want to paste something – a code snippet, a configuration block, or content from another source
  • You need to understand the structure – reading the code helps you see how components are organized and how data flows
  • You're debugging – sometimes the fastest way to fix something is to read the code and make a targeted edit
  • You want to verify AI changes – open the file that was modified to see exactly what the AI wrote

You can open a file from the chat by clicking the "Open file" icon on any file edit card in an AI response. This jumps directly to the file that was changed.

Searching Across Files

Use the Search panel (in the left sidebar) to search for text across your entire project. Toggle options for Match Case, Whole Word, and Regex are available. Results are grouped by file with line numbers, and clicking a result opens the file at that line.

On this page