Why Connect GitHub?
- Use your real components — Prototype with your actual design system
- Live previews — Share working previews with your team
- AI understands your code — Reference files with
@Codebasefor better context - No commits — Prototypes stay separate until you copy the code yourself
Setup
Configure (if needed)
For monorepos, specify the path to your app (e.g.,
apps/web). Set up install and dev commands.Sharing Previews
Once connected, you can share live preview links with your team:- Get feedback fast — Stakeholders can try features before any code is merged
- Client reviews — Let clients see prototypes without deployment
- No staging needed — Preview any prototype instantly
Using @Codebase
When working with a connected repository, type@Codebase in the chat to reference files. The AI will search through your codebase and use your existing patterns.
Getting Your Code
Prototypes are for exploration. When you’re ready to use the code:- Copy the code directly from the editor
- Or copy the prompt to recreate it in your own environment