For a complete guide to working with Subframe code, see the developer docs.
- Inspect — Get code from your designs
- Installation — Install MCP servers or get setup with an existing codebase or Replit
- Prompts — Get prebuilt prompts after you install MCP server
Installation
Use the Installation tab for the following:- Setting up Subframe in your codebase
- Setting up Claude Code, Cursor, or Codex MCP servers
- Setting up a new Replit project
Inspecting page code
Pages are screens built from components. After designing a page in Subframe, you can copy its React code and add application logic such as API calls, state, and routing in your codebase.- Open the page in Subframe
- Click Code in the navigation bar
- Open Inspect
- Copy the React code
Inspecting elements
- Click on Inspect tab
- Click on element you want to inspect
- Use dropdown to select what code format you want:
- React + Tailwind code
- CSS code
- Properties
Syncing components
- Click on Inspect tab
- Copy the
npx @subframe/cli@latestcommand for syncing all components in the page or your selection
Implementing a page with Agent chat
Agent chat can implement a page directly in your connected codebase. Give it the page in any of these ways:- Open the page or its flow, then ask the agent to implement what you are viewing
- Select the page before opening Agent chat
- Add the page to your message with an
@reference - Copy the page frame and paste it into Agent chat
Implementing a page with an external agent
If your team already uses an external agent connected through the MCP server, copy the MCP link from Prompts and paste it into your agent with your implementation request.For new workflows, use Agent chat to implement the page.

