KBAISE/ for lovable
Library
Docs

Cross-project referencing

about 2 minBuildingchecked 7d agoOfficial page
The short version

You can borrow designs, features, and assets from other projects in your workspace by mentioning them in chat. The original project is read-only and will never be modified.

Anyone who wants to reuse existing work—like auth flows, styles, or components—from an earlier project instead of rebuilding it.

Do this, in order

  1. 1

    Type @ in the prompt box, or click the + icon and select Add context, then Projects.

    This opens a list of projects in your workspace so you can choose which one Lovable should inspect.

  2. 2

    Select the project you want to borrow from.

    Lovable needs to know which codebase, files, and assets to read.

  3. 3

    Write your prompt describing exactly what to copy or adapt, such as navigation bars, color schemes, or authentication flows, and submit.

    Lovable reads the referenced project and builds the matching feature in your current project.

Paste this into your project

Build this page using the navigation bar layout, color palette, and button styles from our existing main app project.

Words decoded

Workspace
The shared account or folder where you and your team organize all your individual projects.

Where people get stuck

  • Cross-project referencing reads code and file layouts, but it does not copy live database records or user data.
  • Both projects must be in the exact same workspace; you cannot reference projects across different workspaces.
  • If a referenced project has Restricted access settings, you cannot reference it unless you have been given permission to view it.
  • References will fail if cross-project sharing is turned off in either project settings or workspace settings.

The short version, steps, decoder and prompt on this page are written automatically from Lovable's own documentation and can lag or misread it. The official page is always the authority.