You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/05-design-mode.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,14 @@
2
2
title: Design Mode
3
3
---
4
4
5
+
import React from 'react';
6
+
import VideoPlayer from '@site/src/components/Video/player';
7
+
5
8
**Design Mode** is a layout that hides the code editor and gives that entire space to your **Live Preview**. It is built for visual-first work: chatting with the AI while you watch changes land in the preview, editing your page directly in Live Preview Edit Mode, or testing how your design looks at different device sizes.
6
9
7
-
<!-- Add a video here showing the toggle going from the normal layout into Design Mode and back. The editor should disappear, the Live Preview should take over the editor area, and the sidebar should stay visible. -->
<!-- Add an image here showing both entry points side by side: the Control Bar Design Mode button (pen nib icon) and the Live Preview toolbar fullscreen button (expand icon), each with an arrow pointing to it. -->
30
+
All three toggle the same mode. Use any of them again to switch back to the code editor.
26
31
27
32
## The Design Mode layout
28
33
29
34
When Design Mode is on, the sidebar stays visible alongside the maximized Live Preview. The recommended setup is to keep **AI Chat** open in the sidebar so you can ask for changes and watch them appear in the preview as the AI works. If the Live Preview is not already open, Phoenix Code opens it for you.
30
35
31
-
<!-- Add a side-by-side image here comparing the normal layout (sidebar | editor | live preview) with the Design Mode layout (sidebar | live preview filling the rest of the window). -->
To hide the sidebar too, click the **toggle sidebar** button *(double left-arrow icon)* just below the Design Mode toggle in the Control Bar. Click it again to bring the sidebar back.
0 commit comments