You can upload into either tab, and you can download the entire Code tree as a zip from the bottom of the project page.
Download your whole source code
On an open project, look at the bottom-right of the preview / project chrome (the bottom bar under the live preview).- Open your project
- Find the Download control in the bottom bar (download icon; tooltip: Download source code)
- Click it
your-project-name-source-code.zip
The zip reflects the code for the version you’re currently previewing. It does not include the Docs tab. For a remote copy of the repo, use GitHub Sync instead.
Upload files
Open the Code or Docs file tree on the project page (Files / Documents sidebar next to the editor).Upload a single file
- In the file tree header, click the Upload icon (tooltip: Upload file on Code, Upload document on Docs)
- Pick a file from your computer
- In the dialog, choose a destination folder (leave blank for the volume root) and optionally rename the file
- Click Upload
Upload a folder or many files
- Click the Upload folder control in the file tree header, or drag files/folders onto the file explorer
- Confirm the destination folder — folder structure is preserved
- Click Upload
- Total selection size up to about 500 MB
- Common junk is skipped automatically (for example
.DS_Store,Thumbs.db,node_modules,.git)
Create empty files or folders
From the same file tree you can create a new file/document or folder, including nested paths likedesign/mockups.
Tips
- Select a folder in the tree first if you want uploads to default into that folder
- Use Docs for briefs and reference material; use Code for anything the app should run
- For cloud files you don’t want to re-upload, connect Google Drive or Dropbox
- To attach a few files to a chat message instead of the project tree, use the composer attach / paste flow described in Prompting
Related
GitHub Sync
Push the project to a GitHub repository.
Data connectors
Use Drive or Dropbox folders as AI sources.

