Back to Learn

    Lovable App Builder Guide: Editor, Modes and Prompt to App

    Lovable's app builder is a chat panel, a live preview and the controls around them. This guide walks through each part with screenshots from our own sessions, quotes what Lovable's documentation says each one does, and shows the path a structured prompt takes from the chat box to a running app.

    Updated

    Lovable app builder guide hero: the guide title beside a card listing the editor's parts, the three chat modes, the preview toolbar, Cloud and version history

    What are the parts of the Lovable app builder?

    Two main areas and a ring of controls. Lovable's editor documentation (read on 26 September 2026) describes the chat panel as “where you tell Lovable what to build and follow its progress” and the preview as “a live, interactive version of your app that updates as Lovable works”. Around them: Code, “a full code editor where you can read your project's code, edit it directly on paid plans, and download it”; History, to “browse past versions, restore an earlier one, and manage bookmarks”; Publish, to “deploy your app to its live URL”; and Cloud, “your app's backend in one place: the database and its records, user accounts, file storage, scheduled jobs, edge functions, secrets, logs, and usage”.

    The Lovable editor after a completed build: the chat panel on the left shows the answered questions and Lovable's completion report for a SaaS app called Cadence, the preview on the right shows the generated landing page with a Create your workspace button, and the top bar shows History, layout, Preview, Homepage route, open-in-new-tab and Publish controls
    The editor after the SaaS foundation run: chat panel left with the completion report, live preview right, History and Publish in the top bar. Marco's own workspace, 26 September 2026.

    The layout toggle at the top left hides the chat panel so the preview takes the full width, which is the view the preview toolbar is built for. The screenshots below walk through each area in the order a first build meets them.

    Which mode should you use: Build, Plan or Chat?

    The mode picker next to the chat input decides whether a message changes code, plans it, or only talks about it, and each is priced differently. The descriptions and prices below are quoted from Lovable's project chat, Plan mode and credits and usage documentation, all read on 26 September 2026.

    The three chat modes in the Lovable app builder, as Lovable's docs describe them
     BuildPlanChat
    What it does“Lovable makes changes directly in your project. This is the default, and the right choice for most requests.”“Lovable investigates and plans without touching your code. Use it to think through a bigger feature, debug an issue safely, or compare approaches before building.”“Lovable discusses the app you have open without changing its code. Use it to ask how something works, explore an idea, or decide what to change.”
    Touches codeYesNo, until you approve the plan and it switches to BuildNo
    PriceUsage-based: “small, focused edits usually cost less than larger generations, multi-step changes, or requests that require more codebase exploration”“1 credit, plus the cost of any subagent research Lovable runs while planning”“Priced on the work it needs, typically a fraction of a credit, and your workspace's daily chat allowance covers it first”
    When the prompts here use itThe structured prompt itself, with its closing question lineAfter two or three failed fixes, or to scope a large featureTo ask how something was built before changing it

    The practical rule: paste the structured prompt in Build mode and let its Before Building section do the planning, because Lovable will ask its questions before it spends a Build credit on the wrong thing. Switch to Plan mode when a fix keeps missing, which is also what Lovable's idea-to-app guide recommends.

    How does a prompt become an app in the chat panel?

    The chat docs describe the mechanics: the plus button opens a Chat actions menu with Project, Help and Add context groups; you can attach “images, PDF, Word, Excel, and PowerPoint files, and even audio recordings” or reference a file from the code by typing @; and under “Answer Lovable's questions” the docs cover the question cards that appear when Lovable needs context. On our runs those cards are the first thing a library prompt produces, because every prompt ends by asking for them.

    From a pasted prompt to a running app, as it happened on our runs
    1Paste in Builddetailed-prompt notice2Answer cards2 to 4 questions3Cloud enableddata and sign-in4Build and testasks to run checks5Report, publishcaveats included
    1. Paste in Build: detailed-prompt notice
    2. Answer cards: 2 to 4 questions
    3. Cloud enabled: data and sign-in
    4. Build and test: asks to run checks
    5. Report, publish: caveats included

    Sequence observed on the states-system and SaaS runs in Marco's workspace on 26 September 2026, matching the steps in Lovable's project chat documentation.

    The Lovable dashboard prompt box holding a long structured prompt, with a notice under it reading Detailed prompt? Start with a free chat, Refine it with Lovable before building, without spending credits, and a Start in Chat button
    Step one: a library prompt in the dashboard box. Lovable recognises a detailed prompt and offers to refine it in Chat first, without spending credits. 26 September 2026.
    A Lovable question card in the project chat titled Which visual direction fits best, showing three colour palettes as selectable options, a Write your own field, Skip all and Submit
    Step two: a question card. On the SaaS run Lovable asked four in a row, the last offering three visual directions inline. Same day.
    Lovable asking to run a command that signs the app preview in as an invited teammate to test joining, with Skip and Allow buttons, beside a preview of the generated landing page
    Step four: Lovable asks permission before running a check that signs into the app as a test user. Same session.

    What does the preview toolbar change without a prompt?

    Four things, per Lovable's preview toolbar documentation: select elements to “point Lovable at one or more elements and request a change in plain language”, edit text inline to “fix a typo or change wording directly”, draw an annotation to “show a layout or spatial change that's hard to describe”, and add a comment to “leave feedback for yourself or a teammate”. The docs note the toolbar replaced the older visual edits feature.

    The Lovable preview in full-width layout showing the generated Cadence landing page, with the preview toolbar at the bottom left: an Ask Lovable field and icons for select element, edit text, draw and comment, and Share and Publish buttons at the top right
    The preview with the chat panel hidden. The toolbar at the bottom left carries the four modes: select, text, draw, comment. Same session.

    The toolbar is the cheapest way to make the small changes a first build always needs, because a typo fixed inline costs no Build round, and a selected element sends Lovable a precise target instead of a paragraph describing where the card is.

    When should you open the code editor?

    When you want to read what was built, reference an exact file in the chat, or make a change that is cheaper by hand. Lovable's code editor docs say the editor lets you “browse and search your app's source code, make manual edits, reference exact lines in the project chat, and download your codebase”; editing is read-only on the free plan and open on paid plans, manual edits do not consume credits, they save immediately into version history, and nothing reviews them before they apply.

    The Lovable code view for the generated SaaS project: a file tree with .lovable, drizzle migrations and schema, public, src with components, hooks, integrations/supabase, lib, routes, router, routeTree, server and start files, a supabase folder, and a Download codebase button
    The code view of the SaaS run: a TanStack Start project with a Drizzle schema, Supabase integration and server entry, plus the Download codebase button. Same session.

    The tree is worth a look after any first build, because it shows what the prompt produced beneath the preview: here a schema file, migrations and a server entry, which is the difference between a page and an app. Reading the model before the second prompt is the cheapest review there is.

    What lives behind the More menu?

    The rest of the product: Analytics, Cloud, AI, Agent integrations, Payments, Connectors, Security, SEO and AI search, and Settings, in that order on 26 September 2026. Cloud is the backend panel the editor docs describe; Security holds the scans that run when you open the publish dialog; SEO and AI search is the review that checks metadata and the sitemap; Payments and Agent integrations are covered on the SaaS and API prompt pages.

    The Lovable More menu open on Analytics: a left list of Analytics, Cloud, AI, Agent integrations, Payments, Connectors, Security, SEO and AI search and Settings, and an empty analytics panel reading Publish your app to start tracking visits
    The More menu on an unpublished project: analytics wait for a live URL, which is also what indexing waits for. Same session.

    How do you recover when a build goes wrong?

    Three tools, in order of cost. The chat docs list “Edit a message and try again”, which re-runs a corrected prompt from that point. Version history records that “every change Lovable makes to your project creates a version automatically”; you can preview any version and revert, with two limits the docs state plainly: “reverting restores your project's code only”, not database data, and “credits pay for the work Lovable performs, so messages you later revert still count”. And Plan mode, for a bug that survives two or three Build attempts.

    That first limit is why the backend prompts on this site keep a recovery path in the schema, a soft-delete table and an audit log, rather than relying on history: history rolls back the code that deleted the rows, not the rows. The common mistakes guide prices the usual failures in correction rounds.

    What did our runs cost, start to finish?

    Three library prompts, three fresh projects, each read from the credits page before and after. The landing page fits inside a free day; the two system-level builds, which provisioned Cloud and in one case tested their own invite flow, each cost about ten credits. The per-run screenshots are on the category pages.

    Credits consumed per library prompt run, measured before and after
    Landing page + email opt-in1.8 (no question line yet)Empty states and skeletons9.5 (2 questions first)SaaS MVP with user auth10.4 (4 questions first)
    Credits consumed per library prompt run, measured before and after
    Categorycredits
    Landing page + email opt-in1.8 (no question line yet)
    Empty states and skeletons9.5 (2 questions first)
    SaaS MVP with user auth10.4 (4 questions first)

    Read from the Lovable workspace credits page on each run's date, Cloud provisioning included. Data in src/data/runs.ts.

    That is the whole loop: prompt in the chat panel, answer the cards, check the preview, scope the next request to what you saw. Take a prompt from the library and run it end to end once; the workflow makes more sense after one full build than after any guide, and the prompting guide covers what to type into it.

    Sources

    All checked on 26 September 2026.

    What changed

    • 26 September 2026: rebuilt as an interface tour with six own screenshots from the SaaS run (editor, preview toolbar, code view, More menu, question card, permission prompt), every area quoted from Lovable's docs, a modes table with prices, a prompt-to-app flow, a credits chart, six FAQs, hero and sources; the page moved from a client component to a server-rendered one.
    • 31 July 2026: first own editor screenshot added.

    Frequently asked

    What are the main parts of the Lovable app builder?↓
    Two main areas, per Lovable's editor docs: the chat panel, where you tell Lovable what to build and follow its progress, and the preview, a live version of your app that updates as it works. Beside them sit the code editor, version history, the publish control, the Cloud panel for the backend, and the preview toolbar for pointing at elements and editing text inline.
    What is the difference between Build, Plan and Chat mode?↓
    Build makes changes directly in your project and is the default. Plan investigates and writes a plan you approve before any code is written; a Plan message costs one credit plus any research it runs. Chat discusses the open app without changing its code and is priced on the work it needs, typically a fraction of a credit, covered first by the workspace's daily chat allowance. All three quotes are from Lovable's docs.
    Can I edit the code directly?↓
    On paid plans, yes: the code editor lets you browse, search and edit files, and manual edits do not consume credits and save straight into version history. On the free plan the editor is read-only. Either plan can download the codebase.
    Does reverting to an earlier version refund the credits?↓
    No. Lovable's version history docs say credits pay for the work Lovable performs, so messages you later revert still count. Reverting also restores code only, not database data, which is why the prompts on this site keep recovery paths in the schema rather than relying on history.
    How many credits does one build take?↓
    Lovable does not publish a per-prompt figure; Build mode is usage-based. Our measured runs: 1.8 credits for the landing page + email opt-in, 9.5 credits for the empty states and skeletons, 10.4 credits for the saas mvp with user auth, read from the credits page before and after each run.
    Where are the screenshots on this page from?↓
    All from Marco's own Lovable workspace on 26 September 2026 and 31 July 2026, taken during the runs documented across this site. None is stock, none is from another user's project.

    Related reading

    Written by

    Marco Kohns

    Marco Kohns

    Founder of ProtoBites - Venture Growth Studio

    Growth PM at a Silicon Valley scale-up (a16z and General Catalyst backed), ex-Techstars where he consulted 13 early-stage startups, Reforge-trained. Every prompt on this site comes out of shipping ProtoBites' own portfolio products.