# Lyna on your phone

Build from your phone: chat with the AI, check the preview, edit design and code, and publish, with controls made for touch.

You can open any project on your phone and keep building. The editor changes its layout for a small screen: the chat and the preview fill the screen, every tool opens in a sheet from the bottom or on its own screen, and every control is sized for a finger.

A project open on a phone with the chat, the composer at the bottom and the preview one swipe away.

## What you can do

- Chat with the AI, pick a model, a chat mode and an effort, and attach images or screenshots.
- Dictate a message with voice input.
- Move between the preview, the chat, the design tools, the code and the rest of the project from the tab bar.
- Select an element on the preview, then ask the AI about it or change it.
- Edit the design: layers, pages, styles, images and more.
- Edit code, search a file, and use Source Control, the terminal and the developer tools.
- Leave notes on your page with Annotate.
- Restore a saved version, share the project and publish it.

## Find your way

The tab bar at the bottom has five tabs: **Preview**, **Chat**, **Design**, **Code** and **More**. Swipe sideways to switch between the chat and the preview. While you scroll your site down, the tab bar slides away; it comes back when you scroll up or reach the end of the page.

In the top bar, **Menu** opens the projects drawer, and the project's name, with a colored dot for its save state, opens the project menu. The buttons beside them follow the surface you see:

| Surface     | Buttons                                                                                                                                                     |
| ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Preview** | **Reload preview**, **Edit** (tap an element to change it) and **Annotate**.                                                                                |
| **Chat**    | **New Chat**, and **Chat actions**, whose sheet lists **All conversations**, **Project plans**, **Agents** and **Comments**, with a line when some are new. |

A tool that needs the whole screen, such as **All conversations**, the Roadmap or the developer tools, opens on its own screen with a back arrow at the top left.

## The chat

The composer sits at the bottom, above the keyboard. Its controls read as words on two rows: your choices first (the chat mode, the model's name and the effort level), then the actions. Each one opens a sheet with the same choices as on a computer:

| Control              | What it does                                                                        |
| -------------------- | ----------------------------------------------------------------------------------- |
| **Chat mode**        | Switch between **Build**, **Plan** and **Ask**.                                     |
| **Choose AI model**  | Pick the model for the next message. Typing `/model` opens the same sheet.          |
| **Reasoning effort** | Choose how much the model thinks before it answers.                                 |
| **Add to chat**      | Attach an **Image**, a **Screenshot**, a **Figma** design or project **Knowledge**. |
| **Brand**            | Shows the design system of the project. Tap it to pick another one.                 |
| **More actions**     | Agent teams, MCP servers and rules.                                                 |
| **Voice input**      | Dictate your message instead of typing it.                                          |
| **Send** / **Stop**  | Send the message, or stop the AI while it works.                                    |

Under each message, **Copy** stays in sight and **More** holds the rest: **Copy message link**, **Edit** and **Retry** under your message, **Retry**, **Like** and **Dislike** under an answer. A row you cannot use says why. After **Dislike**, the sheet closes and **Help us improve** opens from the bottom of the screen to ask why, above the keyboard when you type a comment.

While you look at an earlier version, the banner at the top has **Latest**, to come back to your current version, and **Revert**, to restore the one you see.

The chat on a phone with the Chat actions sheet open, listing All conversations, Project plans, Agents and Comments.

## Select an element

Choose **Edit** in the top bar, then tap an element of your page. A bar with the selection's actions takes the place of the tab bar:

| Button                           | What it does                                                                                                     |
| -------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| **Ask AI**                       | Puts the element in the message box and opens the chat, so you can ask for a change. The element stays selected. |
| **Styles**                       | Opens the element's styles.                                                                                      |
| **Above**, **Below**, **Inside** | Opens the block catalog to add a block above, below or inside the element.                                       |
| **Done**                         | Clears the selection.                                                                                            |

The preview on a phone in Edit mode with an element selected and the bar of Ask AI, Styles, Above, Below, Inside and Done at the bottom.

## Edit the design

Choose **Design** in the tab bar to open the design tools. Select an element on the preview, then change it in the sheet. The tabs are **Layers**, **Pages**, **Templates**, **Styles**, **Images**, **Videos**, **Brand** and **Components**, and each tab scrolls its own list.

- **Layers**: press and hold a layer, then drag it to reorder or nest it, and choose **Done** when you have finished. The selected layer also has a menu button with **Rename**, **Duplicate**, **Move up**, **Move down** and **Delete**, so you never need to drag.
- **Styles**: each row puts its label above a control as wide as the screen. The layout options are switches, the alignment buttons carry a word under each icon (**Left**, **Center**, **Right**, **Top**, **Middle**, **Bottom**), and **Screen size** lists the screen sizes in a sheet.
- **Images** and **Videos**: two tiles to a row, with more loading as you scroll.
- **Components**: two cards to a row with nothing over their previews. Tap a card to open its preview, or its **+** to add it.

## Code on a phone

Choose **Code** in the tab bar to open the code editor full screen.

| Part             | On a phone                                                                                                                                                                                                                                                                                                                                  |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| File tree        | Rows sized for a finger. Tap a file to open it, press and hold any row for its menu, and move files with **Cut** and **Paste**. **New File** and the search sit at the top, and **New Folder**, **Upload files**, **Collapse folders** and **Refresh** are under **More actions**.                                                          |
| Key bar          | Above the keyboard: Tab, **Undo**, `{ }`, `( )` and the arrows, as many as fit. **More keys** holds the rest with **Find**, **Format document**, **Toggle comment**, **Open file** and **Commands**.                                                                                                                                        |
| **Find in file** | A full-width field with its count of matches, **Previous**, **Next** and **Done**. **Options** holds **Match case**, **Whole word**, **Regular expression**, **Preserve case** and **Replace**, which adds **Replace** and **Replace all**.                                                                                                 |
| Selection        | **Expand**, **Shrink** and **Copy**, with the rest under **More actions**.                                                                                                                                                                                                                                                                  |
| Source Control   | The branch keeps its row and the other actions are rows of one menu. Tap a change to open its file; its menu lists the rest, such as stage, unstage or discard. A commit opens on its own screen, with a back arrow, its hash, its author, its date and its files. In the history, **Fetch**, **Pull** and **Push** come first in its menu. |

The code editor on a phone with a file open, the Find in file bar at the top and the key bar above the keyboard.

## Terminal and developer tools

**Terminal** in the project menu opens the bottom panel full screen, with a back arrow and its four tabs: **Problems**, **Output**, **Browser console** and **Terminal**. The terminal's bar keeps **New Terminal** and **Restart Dev Server** (**Kill Terminal** on a shell session) and puts the rest under **More actions**. A terminal raises the keyboard only when you tap it. In **Problems**, each problem's actions (**Fix with AI**, **Copy**, **Copy Message** and **Dismiss**) are in its own menu.

**Developer tools** in the project menu opens DevTools full screen, with a back arrow to the preview and its tabs in one strip. Each tab's bar keeps its two main actions and puts the rest under **More actions**. The search shares its row with **Filters** only: that button opens the other filters in a sheet and counts the ones that are on. A request, an element or a storage entry opens on its own screen, with **Back** at the left of its bar.

DevTools full screen on a phone on the Network tab, with the back arrow, the tab strip, the search with its Filters button and the list of requests.

## Notes with Annotate

On the preview, choose **Annotate**, then tap an element to leave a note on it: post it with **Comment**, hand it to Lyna AI with **Send to AI**, or collect it with **Add to batch**. The bar at the bottom has **Undo**, **Send** and **Exit**. Choose **Annotate** again, or **Comments** in **Chat actions**, to open **Notes**, filtered by **Open**, **Mentions**, **Mine** or **Resolved**. See [Annotate](/features/collaborate/annotate#annotate-on-a-phone).

## The project menu

Open the project menu from the top bar, or **More** in the tab bar, to reach the rest of the project: **Code**, **Files**, **Roadmap**, **Terminal**, **Developer tools**, **Cloud**, **Deployments**, **Security**, **Analytics**, **SEO and search**, **Connectors** and **Settings**. **Roadmap** opens your features and their tasks full screen; the back arrow at the top left returns to the editor.

**Settings** and **Cloud** open full screen. A page you open inside a settings page slides in with its own title and a back arrow. Each row of a **Cloud** table, and each deployment, shows as a card with its actions in reach.

To switch projects or conversations, open the projects drawer. It has a search box over every project, the **All**, **Favorites** and **Recent** filters, **New project** and **New chat**.

> [!TIP]
>
> **Made for touch**
>
> Every button and row is large enough to tap, fields take the full width of the screen with their text at a size your phone does not zoom, and sheets stay above the keyboard. A dialog opens as a sheet from the bottom, and a menu or a list as a sheet with **Cancel** at the end and **Back** in a sub menu. A button that only shows on hover on a computer is always shown, a button you cannot use says why under it, an info button opens its explanation in a sheet, and keyboard shortcuts are left out. Tabs, view switches and filter chips look the same in every screen.

## Related

- [Editor tour](/introduction/editor-tour): The editor on a computer, area by area.
- [Chat](/features/ai/chat): Build with the AI.
- [Publishing](/features/publish/publishing): Put your app online.
