> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rocket.new/llms.txt
> Use this file to discover all available pages before exploring further.

# Preview your app

> Test your Rocket.new app live as you build with responsive previews, screen navigation, and screenshot capture - no deploying needed.

export const LlmsDirective = () => <blockquote className="llms-directive">
    For the complete documentation index, see <a href="/llms.txt">llms.txt</a>.
    For a lightweight markdown version of this page, append .md to the URL.
  </blockquote>;

<LlmsDirective />

<Info>
  **See your app running live as you build.** The preview is a browser built into the Rocket editor. Every change you make updates the preview in real time. The preview is separate from your live URL. Use **Launch** in the toolbar to publish your app publicly.
</Info>

<Divider />

## What you can do in preview

| Action                   | How                                                                   |
| :----------------------- | :-------------------------------------------------------------------- |
| Navigate to any screen   | Use the URL bar in the preview toolbar to go to any route in your app |
| Test responsive layouts  | Switch between desktop, tablet, and mobile views                      |
| Click through user flows | Navigate your app like a real user to verify routing and interactions |
| Capture screenshots      | Take a screenshot and drag it straight into chat                      |
| Make visual edits        | Click any element to open Visual Edit and change it directly          |
| Launch your app          | Click **Launch** in the top right of the preview toolbar to publish   |

<Divider />

## Preview toolbar

The toolbar runs across the top of the preview panel and gives you quick access to all preview controls.

| Button            | What it does                                                |
| :---------------- | :---------------------------------------------------------- |
| **Preview**       | Opens or focuses the preview panel                          |
| **Full screen**   | Expands the preview and hides the chat panel                |
| **`...`**         | Additional options                                          |
| URL bar           | Shows the current route. Type any path to navigate directly |
| Refresh           | Reloads the preview to show your latest changes             |
| **Edit**          | Opens the Edit dropdown for Visual edits and Theme          |
| Camera            | Capture a screenshot of the current view                    |
| Device/responsive | Switch screen sizes and device models                       |
| **Launch**        | Publish your app to a live URL                              |

<Divider />

## Using the preview

<Tabs>
  <Tab title="Web">
    <Frame caption="Preview panel on web">
      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/SjTE8D-vvYrzhPjv/images/build-docs/editor/preview/web-preview/web-browser/preview-web-light.webp?fit=max&auto=format&n=SjTE8D-vvYrzhPjv&q=85&s=8176e907781c8a01145acb160d5f2326" alt="Rocket preview panel showing live web app interface." className="theme-image light-image" width="2880" height="1624" data-path="images/build-docs/editor/preview/web-preview/web-browser/preview-web-light.webp" />

      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/SjTE8D-vvYrzhPjv/images/build-docs/editor/preview/web-preview/web-browser/preview-web-dark.webp?fit=max&auto=format&n=SjTE8D-vvYrzhPjv&q=85&s=062f14a099242d7a9e783aef2986e729" alt="Rocket preview panel showing live web app interface." className="theme-image dark-image" width="2880" height="1624" data-path="images/build-docs/editor/preview/web-preview/web-browser/preview-web-dark.webp" />
    </Frame>

    ### Navigate to a screen

    Use the **URL bar** in the preview toolbar to go to any route in your app. Type the path directly (for example `/dashboard` or `/settings`) and press Enter.

    You can also use the **Currently viewing** dropdown to switch between screens. The **Refresh** icon sits in the same control strip as the URL bar. Click it if your latest changes are not showing.

    <Frame caption="Select a screen to preview">
      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/SjTE8D-vvYrzhPjv/images/build-docs/editor/preview/web-preview/web-browser/screen-selection-web-light.webp?fit=max&auto=format&n=SjTE8D-vvYrzhPjv&q=85&s=f003db609f2e0af34ed80d5f545f9446" alt="Screen selection dropdown inside the preview panel." className="theme-image light-image" width="2874" height="1788" data-path="images/build-docs/editor/preview/web-preview/web-browser/screen-selection-web-light.webp" />

      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/SjTE8D-vvYrzhPjv/images/build-docs/editor/preview/web-preview/web-browser/screen-selection-web-dark.webp?fit=max&auto=format&n=SjTE8D-vvYrzhPjv&q=85&s=39122453c2527f9999cdef08bba3ccf1" alt="Screen selection dropdown inside the preview panel." className="theme-image dark-image" width="2874" height="1788" data-path="images/build-docs/editor/preview/web-preview/web-browser/screen-selection-web-dark.webp" />
    </Frame>

    ### Full screen

    Click **Full screen** in the toolbar to expand the preview and hide the chat panel. Use this when you want a larger view or need more room to test interactions.

    Click **Full screen** again to return to the editor.

    <Frame caption="Full screen preview">
      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/SjTE8D-vvYrzhPjv/images/build-docs/editor/preview/web-preview/web-browser/fullscreen-web-light.webp?fit=max&auto=format&n=SjTE8D-vvYrzhPjv&q=85&s=2eab3528f9c581923563f6fb6929fb9d" alt="Fullscreen mode of Rocket web preview." className="theme-image light-image" width="2880" height="1624" data-path="images/build-docs/editor/preview/web-preview/web-browser/fullscreen-web-light.webp" />

      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/SjTE8D-vvYrzhPjv/images/build-docs/editor/preview/web-preview/web-browser/fullscreen-web-dark.webp?fit=max&auto=format&n=SjTE8D-vvYrzhPjv&q=85&s=c1c14326b33b844db3cdd7bf794a7030" alt="Fullscreen mode of Rocket web preview." className="theme-image dark-image" width="2880" height="1624" data-path="images/build-docs/editor/preview/web-preview/web-browser/fullscreen-web-dark.webp" />
    </Frame>

    ### Test responsive layouts and device models

    Click the **Device** icon in the toolbar to test how your app looks on different screen sizes.

    <Tabs>
      <Tab title="Web app">
        Available views:

        * Desktop
        * Laptop
        * Tablet
        * Mobile

        <Frame caption="Test responsive layouts">
          <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/SjTE8D-vvYrzhPjv/images/build-docs/editor/preview/web-preview/web-browser/responsive-web-light.webp?fit=max&auto=format&n=SjTE8D-vvYrzhPjv&q=85&s=6cca9618aaf778b00d8a9c3d734f35aa" alt="Device type dropdown showing responsive view options." className="theme-image light-image" width="2880" height="1624" data-path="images/build-docs/editor/preview/web-preview/web-browser/responsive-web-light.webp" />

          <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/SjTE8D-vvYrzhPjv/images/build-docs/editor/preview/web-preview/web-browser/responsive-web-dark.webp?fit=max&auto=format&n=SjTE8D-vvYrzhPjv&q=85&s=523ad2d6f7791e749d6b1d0cac273f25" alt="Device type dropdown showing responsive view options." className="theme-image dark-image" width="2880" height="1624" data-path="images/build-docs/editor/preview/web-preview/web-browser/responsive-web-dark.webp" />
        </Frame>
      </Tab>

      <Tab title="Mobile app">
        Available device models:

        * Samsung Galaxy S23
        * iPhone SE
        * iPhone 14 Pro
        * iPhone 16 Pro
        * iPhone 16 Pro Max
        * iPhone 17 Pro

        <Frame caption="Preview on real device models">
          <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/SjTE8D-vvYrzhPjv/images/build-docs/editor/preview/web-preview/web-browser/responsive-mobile-light.webp?fit=max&auto=format&n=SjTE8D-vvYrzhPjv&q=85&s=81d976482be0ef0c10264f29d73fa0b5" alt="Device model dropdown showing different phone options." className="theme-image light-image" width="2880" height="1624" data-path="images/build-docs/editor/preview/web-preview/web-browser/responsive-mobile-light.webp" />

          <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/SjTE8D-vvYrzhPjv/images/build-docs/editor/preview/web-preview/web-browser/responsive-mobile-dark.webp?fit=max&auto=format&n=SjTE8D-vvYrzhPjv&q=85&s=ba89873ad0c1c1799fb4c2bc6a8117ab" alt="Device model dropdown showing different phone options." className="theme-image dark-image" width="2880" height="1624" data-path="images/build-docs/editor/preview/web-preview/web-browser/responsive-mobile-dark.webp" />
        </Frame>
      </Tab>
    </Tabs>

    ### Edit visually

    Click the **Edit** button in the toolbar and select **Visual edits** to enter visual edit mode. Click any element to change its text, style, spacing, or image directly in the preview.

    <Card icon="arrow-pointer" href="/build/editor/visual-edit" horizontal arrow="true">
      Learn more about visual edit and what you can change.
    </Card>

    ### Capture screenshots

    Take a screenshot of the current preview and use it in chat to show Rocket exactly what to change.

    1. Click the **Camera** icon in the toolbar.
    2. Choose your capture mode:
       * **Full screen** - captures the entire preview area
       * **Selected area** - click and drag to capture a specific region
    3. Drag and drop the screenshot into the chat input.

    <Frame caption="Screenshot capture options">
      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/SjTE8D-vvYrzhPjv/images/build-docs/editor/preview/web-preview/web-browser/screenshot-capture-web-light.webp?fit=max&auto=format&n=SjTE8D-vvYrzhPjv&q=85&s=9b306cf8846f91b52238a43a95e95abc" alt="Camera dropdown showing Full Screen and Selected Area capture options." className="theme-image light-image" width="2880" height="1624" data-path="images/build-docs/editor/preview/web-preview/web-browser/screenshot-capture-web-light.webp" />

      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/SjTE8D-vvYrzhPjv/images/build-docs/editor/preview/web-preview/web-browser/screenshot-capture-web-dark.webp?fit=max&auto=format&n=SjTE8D-vvYrzhPjv&q=85&s=b16869f57df1238dea927a759fb24fed" alt="Camera dropdown showing Full Screen and Selected Area capture options." className="theme-image dark-image" width="2880" height="1624" data-path="images/build-docs/editor/preview/web-preview/web-browser/screenshot-capture-web-dark.webp" />
    </Frame>
  </Tab>

  <Tab title="Mobile">
    <Note>
      The Rocket mobile app supports screen navigation, refresh, and responsive views. Full screen, visual edit, and screenshot capture are only available on the web browser.
    </Note>

    <Frame caption="Preview panel on mobile">
      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/SjTE8D-vvYrzhPjv/images/build-docs/editor/preview/web-preview/mobile-app/preview-tab-in-rocket-app.webp?fit=max&auto=format&n=SjTE8D-vvYrzhPjv&q=85&s=4cc7180fb7a523597aa7a58fac95fa03" alt="Rocket preview panel on the mobile app." className="theme-mobile-image" width="422" height="908" data-path="images/build-docs/editor/preview/web-preview/mobile-app/preview-tab-in-rocket-app.webp" />
    </Frame>

    ### Navigate to a screen

    Use the **Currently viewing** dropdown to switch between screens in your app. The **Refresh** icon sits in the same control strip as the URL bar. Tap it if your latest changes are not showing.

    <Frame caption="Select a screen to preview">
      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/SjTE8D-vvYrzhPjv/images/build-docs/editor/preview/web-preview/mobile-app/select-current-screens-preview-in-rocket-app.webp?fit=max&auto=format&n=SjTE8D-vvYrzhPjv&q=85&s=0583c030a270a31709fd5ada5bbcd926" alt="Screen selection dropdown on the mobile app." className="theme-mobile-image" width="422" height="908" data-path="images/build-docs/editor/preview/web-preview/mobile-app/select-current-screens-preview-in-rocket-app.webp" />
    </Frame>

    ### Test responsive layouts and device models

    Tap the **Device** icon to switch between screen sizes and device models.

    **Web app views:** Desktop, Laptop, Tablet, Mobile

    **Mobile device models:** Samsung Galaxy S23, iPhone SE, iPhone 14 Pro, iPhone 16 Pro, iPhone 16 Pro Max, iPhone 17 Pro
  </Tab>
</Tabs>

<Divider />

## What's next?

<CardGroup cols={2}>
  <Card title="Visual edit" icon="arrow-pointer" href="/build/editor/visual-edit">
    Click any element in the preview to change its text, style, or spacing.
  </Card>

  <Card title="Theme" icon="palette" href="/build/editor/theme">
    Update your app's fonts, colors, logo, and images from one place.
  </Card>

  <Card title="Versions" icon="clock-rotate-left" href="/build/editor/versions">
    Compare, roll back, and launch specific versions of your app.
  </Card>

  <Card title="Deploy your app" icon="rocket" href="/build/launch-web/launch-your-site">
    Publish your app to a live URL and share it with the world.
  </Card>
</CardGroup>
