|
2 | 2 | title: Design Mode |
3 | 3 | --- |
4 | 4 |
|
5 | | -**Design Mode** is a layout that hides the code editor and gives the entire window 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. |
| 5 | +**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 | 6 |
|
7 | 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. --> |
8 | 8 |
|
9 | 9 | ## Why use Design Mode |
10 | 10 |
|
11 | | -- **Pair with the AI Chat panel.** Ask the AI to make a change and watch it land in the preview as the code changes, without glancing at the editor. |
12 | | -- **Edit visually with Live Preview Edit Mode.** Click elements, drag them, change text, and swap images directly in the page (Pro feature). |
13 | | -- **Test responsive designs.** With Device Preview (Pro), check how your page looks on phone, tablet, and desktop sizes without losing horizontal space to the editor. |
| 11 | +- **Pair with the AI Chat panel.** Ask the AI to make a change and see it applied instantly in the preview as the code updates without the need to open the editor. [Read More about AI Chat](./Pro%20Features/ai-chat). |
| 12 | +- **Edit visually with Live Preview Edit Mode.** Click elements, drag them, change text, swap images, and much more, directly in the preview. [Read More about Live Preview Edit Mode](./Pro%20Features/edit-mode-live-preview). |
| 13 | +- **Test responsive designs.** With Device Preview, check how your page looks on phone, tablet, and desktop sizes with just a click. [Read More about Device Preview](./Pro%20Features/device-preview). |
14 | 14 |
|
15 | | -## Entering Design Mode |
| 15 | +## Switching to Design Mode |
16 | 16 |
|
17 | | -There are two ways to enter Design Mode: |
| 17 | +There are three ways to switch to Design Mode: |
18 | 18 |
|
19 | | -- Click the **Design Mode** button *(pen icon)* near the top of the **Control Bar**, the narrow vertical strip between the sidebar and the editor. |
| 19 | +- Click the **Design Mode** button *(pen nib icon)* near the top of the **Control Bar**, the narrow vertical strip between the sidebar and the editor. |
20 | 20 | - Click the **fullscreen** button *(expand icon)* in the Live Preview toolbar, right after the reload button. |
| 21 | +- Choose **File > Toggle Design Mode** from the menu bar. |
21 | 22 |
|
22 | | -Both buttons toggle the same mode. Click either one again to exit. |
| 23 | +All three toggle the same mode. Use any of them again to switch back to the code editor. |
23 | 24 |
|
24 | | -<!-- Add an image here showing both entry points side by side: the Control Bar Design Mode button (pen icon) and the Live Preview toolbar fullscreen button (expand icon), each with an arrow pointing to it. --> |
| 25 | +<!-- 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. --> |
25 | 26 |
|
26 | 27 | ## The Design Mode layout |
27 | 28 |
|
28 | | -In Design Mode the code editor is hidden and the Live Preview takes over its space. The sidebar (file tree) and the Control Bar stay visible, and the AI Chat panel keeps its position if it is open. |
29 | | - |
30 | | -If the Live Preview was not already open when you entered Design Mode, Phoenix Code opens it for you. |
| 29 | +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. |
31 | 30 |
|
32 | 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). --> |
33 | 32 |
|
34 | | -### Hiding the sidebar |
35 | | - |
36 | | -To go even more focused, click the **toggle sidebar** button *(double left-arrow icon)* just below the Design Mode toggle in the Control Bar to hide the sidebar. Click it again to bring the sidebar back. |
37 | | - |
38 | | -## Working with the AI Chat panel |
39 | | - |
40 | | -Design Mode is the recommended way to work with [AI Chat](./Pro%20Features/ai-chat). The AI Chat panel keeps its position when you enter Design Mode, so you can chat on one side and watch the maximized preview update on the other as the AI works. |
41 | | - |
42 | | -<!-- Add a video here showing the AI Chat panel and a maximized Live Preview side by side, with the user typing a request and the change appearing in the preview as the AI runs. --> |
43 | | - |
44 | | -## Working with Live Preview Edit Mode |
45 | | - |
46 | | -[Live Preview Edit Mode](./Pro%20Features/edit-mode-live-preview) is an independent toggle, but it pairs naturally with Design Mode. Enter Design Mode for the room, then click the pen icon in the Live Preview toolbar to enable Edit Mode and start clicking, dragging, and editing elements directly in the page. |
47 | | - |
48 | | -> Live Preview Edit Mode is a Pro feature. Design Mode itself is free. |
| 33 | +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