Prerequisites
Subframe generates React components with Tailwind CSS. Your project needs:- React 16+
- Tailwind CSS 3.4+
- TypeScript
Install Subframe
Start from a new project or install in an existing project. Our CLI is open source ↗ and will help you get started quickly.- New project
- Existing project
Run our CLI in a blank folder to scaffold a new pre-configured project and follow the prompts:
Install fonts
Your Subframe theme may use a Google Font or an uploaded custom font. You’ll need to add a snippet to your codebase to render the fonts correctly.1
Copy the font import snippet
You can get the import code snippet from your Subframe theme ↗
2
Add the code snippet to your <head> tag
Set up the Subframe MCP server
The MCP server lets AI coding agents in tools like Claude Code, Cursor, and Codex fetch and create Subframe designs.- Claude
- ChatGPT
- Cursor
- Manual
Add the Subframe connector from the Claude directory.Or in Claude Code:Then run
/mcp in Claude Code to sign in.Troubleshooting
Troubleshooting
Claude Code also loads your claude.ai connectors, so adding Subframe from the Claude directory covers Claude Code too.If you can’t add Subframe from the directory, add it as a custom connector:
- Go to Customize > Connectors
- Click and select Add custom connector
- Set the name to Subframe
- For Remote MCP Server URL, paste the following URL:
- Click Add
- Find the Subframe connector in your connectors list and click Connect
FAQ
What if I don't use React, TypeScript or Tailwind CSS?
What if I don't use React, TypeScript or Tailwind CSS?
You can use our MCP server to access your designs and documentation from your coding agent and convert them to your preferred language and framework.Subframe generates React, TypeScript, and Tailwind CSS code. You can ask your coding agent to adapt the exported code to another framework, then review and test the result in your app.
Will my code keep working if I stop using Subframe?
Will my code keep working if I stop using Subframe?
Yes. All generated code lives in your codebase and is yours to keep. Any dependencies you see are open source ↗.
How can I get additional installation support?
How can I get additional installation support?
Join our active Slack community ↗ for additional support from the Subframe team and other users.


Claude
ChatGPT
Cursor