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

The Editing Toolbar

The Editing Toolbar appears below the top bar when you select an element in Edit mode. It gives you direct control over an element's appearance — click any icon to open its panel, make your changes, and the result is immediately visible in the preview and saved to the source code.

The Editing Toolbar appears below the top bar when you select an element in Edit mode. It gives you direct control over an element's appearance — click any icon to open its panel, make your changes, and the result is immediately visible in the preview and saved to the source code.

The Editing Toolbar with a button element selected, showing the full row of controls

Knowing Where You Are

The left side of the toolbar always shows a file breadcrumb and component name (e.g., home.tsx > HomeHeroBlock). This is useful context: it tells you which file your changes will affect, and gives you the exact component name to reference if you switch to the Chat panel.

Adjusting Spacing and Layout

When an element doesn't feel right spatially — too cramped, too far from a neighbor, or not aligned the way you want — start with Margin and Padding. The visual four-sided editor makes it clear which side you're adjusting, and you can link sides to edit them in pairs or all at once.

The Margin panel with four directional input fields arranged around a center cross

For structural changes, use the Layout panel. If you want a row of items, pick Horizontal Stack. For a column, Vertical Stack. The grid presets are helpful for card layouts. If you need finer control, switch to the Custom tab for full flexbox and grid properties.

The Layout panel showing preset options: Box, Horizontal Stack, Vertical Stack, 2x2 Grid, 3x3 Grid, and None

Working with Colors

The color pickers (for both Text Color and Background) offer three ways to pick a color:

  • Theme tab — your project's design tokens. This is the best default choice because it keeps your project consistent. If you later change a token in the Theme panel, every element using it updates automatically.
  • Palette tab — useful when you want to explore a broader range of colors without committing to a custom value.
  • Custom tab — for precise color control. The eyedropper tool is handy for sampling a color from somewhere else in your design.

The Text Color picker showing the Theme tab with semantic design tokens organized by color group

For backgrounds, there's also a Gradient tab where you describe what you want in plain language ("warm sunrise", "mint to dark blue") and the AI generates it.

The Gradient tab with a prompt field for describing the gradient and a Generate button

Prefer theme tokens over custom colors whenever possible. They keep your project visually coherent and make future theme changes painless.

Styling Text

The Typography panel lets you adjust font family, size, weight, line height, alignment, and more. The dropdown at the top pulls from your theme's font presets, which is the easiest way to keep typography consistent. Use the individual controls below when you need to override a specific property.

The Typography panel showing font family, size, weight, line height, and alignment controls

Adding Polish

The Border, Corners, and Shadow controls handle visual refinement. Corners use your theme's radius scale, so buttons and cards stay consistent. Shadows come as numbered presets — start with Shadow 1 for subtle depth and go higher for more dramatic effects.

Handling Images and Icons

Media activates when you select an image. You can replace it with another image from your project, upload a new one, paste a URL, or generate one with AI. Double-clicking an image in the preview opens this panel directly.

The Media panel showing project images with Upload and Generate buttons

When you select an SVG icon, the SVG Element control appears instead, letting you browse the Lucide icon library for a replacement.

When to Use the Toolbar vs. the Chat

The toolbar is ideal for visual tweaks you can point to: adjusting a color, increasing padding, changing a font size, replacing an image. These changes are instant, precise, and don't consume credits.

For anything structural — rearranging components on a page, adding new sections, changing how data flows, or refactoring multiple elements at once — the Chat panel is more effective. The AI can reason about your project's architecture in ways that go beyond individual CSS properties.

A good workflow: use the toolbar for targeted refinements, and the chat for bigger changes.

On this page