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

# Rork Web: build and publish a web app

> Rork builds web apps with Vite and React, previews them next to the chat, and publishes them to your own address on rork.app. Use it for a website, a dashboard, a client portal, or an admin tool.

![A Rork web project: the chat on the left and the finished Ember Roast website in the live preview on the right](https://mintcdn.com/rork/zXWqTYxinBv515k-/images/web/editor.jpg?fit=max\&auto=format\&n=zXWqTYxinBv515k-\&q=85\&s=b798ebec0a2b76afd177b8b9553f86f2)One prompt, one project: the chat on the left, the running site on the right.A Rork web app runs in the browser. Rork writes it with **Vite and React**, previews it next to the chat, and publishes it to your own address on `rork.app`. There is no app store, no review, and no install. You share a link, and people open it on a laptop or on a phone.Web is the right platform for a website, a dashboard, a client portal, an admin tool, or a SaaS product. It is also the fastest way to put something in front of people today. See what it builds on the [Rork Web page](https://rork.com/web).## Start a web appPick the platform before you send your first message. On [rork.com](https://rork.com), open the platform picker under the prompt box and choose **For web**. Then describe the product, not the technology.![The Rork prompt box with a coffee roastery prompt typed in and the platform set to For web](https://mintcdn.com/rork/zXWqTYxinBv515k-/images/web/prompt-for-web.png?fit=max\&auto=format\&n=zXWqTYxinBv515k-\&q=85\&s=9fc151d899147ea34be9119e135452b3)The prompt box with For web selected. The picker also offers For iPhone and For Android.The picker says it plainly: **you can add another platform later**. One project can hold an iPhone app, an Android app, and a web app at the same time. See [Convert your app between iOS, Android, and web](https://docs.rork.com/import/convert-between-platforms.md).## Answer the questions about the lookRork does not start writing code straight away. It asks a few short questions about the look first, and each answer is a picture, not a word. You can also type your own answer in **Other**.![Rork asking what overall look the site should have, with four palette options to choose from](https://mintcdn.com/rork/zXWqTYxinBv515k-/images/web/questions.png?fit=max\&auto=format\&n=zXWqTYxinBv515k-\&q=85\&s=397844ba6c700efe129295c955d4a38a)Three questions about the look. Each answer shows the palette it stands for.Answer all three, then press **Submit**. Skip this step by writing the look into your first prompt instead.## Approve the design, then buildNext Rork draws the screens and shows them in **Design mode**. Nothing is built yet, so this is the cheap moment to change your mind. Ask for a different screen in chat, or press **Build** to turn the design into a working site. See [Design mode](https://docs.rork.com/features/design-mode.md).![Design mode showing three proposed screens for Ember Roast and a Review design card with View Design and Build buttons](https://mintcdn.com/rork/zXWqTYxinBv515k-/images/web/design-proposal.jpg?fit=max\&auto=format\&n=zXWqTYxinBv515k-\&q=85\&s=de0caf0f35ad8f5042aac11e57e85672)Design mode: the proposed screens on the right, and the Review design card with the Build button on the left.## Work in the projectThe project has the chat on the left and a live preview on the right. The preview is the real app, not a picture, so you can click through it while you build.The controls above the preview do this:| Control | What it does |
| - | - |
| **Switch preview platform** | Moves the preview between the apps in the project, and adds a platform. |
| **Switch preview size** | Cycles the preview through **Desktop**, **Tablet**, and **Phone**. |
| **Go to home** | Returns the preview to the first page. |
| **Preview path** | The address field. Type a path like `/about` and press Enter to open that page. |
| **Reload preview** | Loads the app again after a change. |
| **Select an element for your prompt** | Point at a part of the page, then write what to change about it. |
| **Publish** | Opens the publish panel. |> [!TIP]
>
> Use **Select an element for your prompt** instead of describing a position in words. Point at the element, then say "make this button darker". The agent gets the exact element and changes less around it.## Check the phone widthA web app has to work in a phone browser as well as on a laptop. Press **Switch preview size** until it reads **Phone**. Rork draws the site inside a phone frame, so you read the same pages at the width your visitors get.![The Ember Roast site in the Phone preview size, drawn inside a phone frame next to the chat](https://mintcdn.com/rork/zXWqTYxinBv515k-/images/web/preview-phone.jpg?fit=max\&auto=format\&n=zXWqTYxinBv515k-\&q=85\&s=998b2a03e07c77d8e0179dd9126c613e)The same site at the Phone preview size.Then ask for the fixes you need:```
On phone widths the hero text overlaps the image. Stack them instead.
```## Publish to the webOpen **Publish**, then press **Publish to web**. Rork builds the app and hosts it at your own address on `rork.app`.![The Rork publish panel showing ember-roast-website.rork.app, a Site offline status, a disabled Add a custom domain row, and the Publish to web button](https://mintcdn.com/rork/zXWqTYxinBv515k-/images/web/publish-panel.png?fit=max\&auto=format\&n=zXWqTYxinBv515k-\&q=85\&s=a226fc5a82fc8899dbf5b085fa432212)The publish panel before the first publish: the address, the site status, and the custom domain row\.What the panel shows:- **The address.** Rork picks one from the project name, like `ember-roast-website.rork.app`. Press the pencil to change the subdomain.
- **The status.** It reads **Site offline** until you publish for the first time.
- **Add a custom domain.** This row stays off until the first publish. The panel says so: "Publish the project first to add a custom domain."Publishing is a separate step from building. Your changes stay in the preview until you publish again. When the live site is behind your project, the panel reads **An older version is live** and the button reads **Publish latest version**.After the first publish the panel changes: the status reads **Live**, it tells you when the version went out, and **Unpublish** takes the site down again. Unpublish asks you to confirm first, because every address on the site stops serving it right away.![The publish panel showing the rork.app address with a Live status, an active Add a custom domain row, and Published and Unpublish buttons](https://mintcdn.com/rork/KPSLkLFwgRDa9BPp/images/web/publish-live.png?fit=max\&auto=format\&n=KPSLkLFwgRDa9BPp\&q=85\&s=7b357968fc9117b83028f9b2351925af)The same panel after publishing. Add a custom domain is now active.## DomainsA `rork.app` address is fine for testing, but a real product wants a real name. Connect a domain you own, or buy a new one inside Rork. Rork sets up the DNS records and HTTPS for you, and the `rork.app` address keeps working.![The publish panel showing the rork.app address and two custom addresses all marked Live, an Add more custom domains row, the note An older version is live, and Publish latest version and Unpublish buttons](https://mintcdn.com/rork/W3UN2c4Ua2vl1tou/images/web/publish-custom-domains.png?fit=max\&auto=format\&n=W3UN2c4Ua2vl1tou\&q=85\&s=119d57c3faabfea3f3295c271f8b4159)The Publish panel with two custom addresses live next to the rork.app address.Publish the web app first, then open **Publish** and press **Add a custom domain**. You manage every domain on your account in **Settings → Domains**. Adding and connecting domains needs a Rork subscription, and only the project's creator can connect a domain to it.See [Custom domains](https://docs.rork.com/web/custom-domains.md) for the full guide: buying a domain, subdomains, statuses, HTTPS, Cloudflare DNS, notifications, and removing a domain.## Add a web app to a project you already haveWatch a finance tracker gain a web version and switch between the web and mobile previews.

\<video aria-label="Build a web version of an existing Rork app" controls playsInline crossOrigin="anonymous" preload="none" poster="https://r2-pub.rork.com/website/tutorials/2026-09/web-app.jpg" width={1664} height={1080}><source src="https://r2-pub.rork.com/website/tutorials/2026-09/web-app.mp4" type="video/mp4" />
      \<track kind="captions" src="https://r2-pub.rork.com/website/tutorials/2026-09/captions-v4/web-app.vtt" srcLang="en" label="English (auto-generated)" />
      \[Build a web version of an existing Rork app](https://r2-pub.rork.com/website/tutorials/2026-09/web-app.mp4)</video>
    

Build a web version of an existing Rork app · 2:09 · English audio

Any mobile project can grow a web version. Open **Project Settings → Add new app → Web**, use the platform switcher above the preview, or just ask:```
Add a web version of this app
```Each app keeps its own code. They share the chat, and the backend if you have one. A common split is a mobile app for customers and a web app as the admin dashboard.## What a web app cannot doA web app runs inside the browser, so the deeply native features are out of reach:- No App Store or Google Play distribution
- No home screen or lock screen widgets, no Live Activities, no Dynamic Island
- No Apple Watch app and no Apple Health integration
- No background tracking, and no advanced motion or body tracking
- Push notifications are limited. On iPhone and iPad the user must add the site to the Home Screen first, on iOS 16.4 or later, and then grant permissionIf your product needs any of those, build the native app and keep the web app beside it. See [iPhone, Android, or web: what's the difference](https://docs.rork.com/swift-vs-react-native/whats-the-difference.md).## FAQ> [accordion] What code does Rork write for the web?
>
> A real Vite and React project in TypeScript, styled with Tailwind. You can export it to GitHub and run it anywhere. See [How to connect GitHub](https://docs.rork.com/tutorials/how-to-connect-github.md).> [accordion] Can I skip the questions and the design step?
>
> Yes. Write the look into your first prompt, and the agent has less to ask. In **Design mode** you can also press **Build** straight away.> [accordion] Can a web app have a backend?
>
> Yes. Use [Rork Cloud](https://docs.rork.com/backend/rork-cloud.md) for a backend inside Rork, or connect [Supabase](https://docs.rork.com/backend/supabase.md) or [Firebase](https://docs.rork.com/backend/firebase.md). The apps in one project can share the same backend.> [accordion] Can I use my own domain?
>
> Yes, and you can buy one inside Rork if you do not have it yet. Publish to the `rork.app` address first, then see [Custom domains](https://docs.rork.com/web/custom-domains.md).> [accordion] Can two projects share one address?
>
> No. An address belongs to one project. The domains list marks an address that is already taken as **In use by** that project. Disconnect it there first, or add a subdomain for the second project. See [Custom domains](https://docs.rork.com/web/custom-domains.md#connect-an-address-to-a-project).> [accordion] I have a Lovable project. Do I have to rebuild it?
>
> No. Rork imports it. See [Lovable to mobile app](https://docs.rork.com/import/lovable-to-mobile-app.md), and keep the web app in the same project.## Next steps> [card] [iPhone apps](https://docs.rork.com/iphone/rork-iphone.md)
>
> The matching Swift guide, from the first prompt to the App Store.> [card] [iPhone, Android, or web](https://docs.rork.com/swift-vs-react-native/whats-the-difference.md)
>
> What each platform is good at, and how to choose.> [card] [Add another platform](https://docs.rork.com/import/convert-between-platforms.md)
>
> Grow the project into iOS and Android from the same chat.> [card] [Add a backend](https://docs.rork.com/backend/rork-cloud.md)
>
> Accounts, data, and files for your web app.> [card] [Custom domains](https://docs.rork.com/web/custom-domains.md)
>
> Put the web app on your own domain, with DNS and HTTPS set up for you.> [card] [Website to mobile app](https://docs.rork.com/import/website-to-mobile-app.md)
>
> Turn an existing site into a native app.> [card] [Rork Web](https://rork.com/web)
>
> The product page, with examples of what Rork builds for the browser.Build your app with Rork today.Ship iOS, Android, and web apps by chatting with AI.[Try Rork for Free](https://rork.com?utm_source=docs\&utm_medium=referral\&utm_campaign=docs-cta\&utm_content=cta-banner)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.