Skip to main content

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.
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 Subframe MCP and agent skills

The MCP server lets AI coding agents in tools like Claude Code, Cursor, and Codex fetch and create Subframe designs. Agent skills guide your agent through setting up projects, designing pages, and implementing them with business logic.
1

Install the Subframe plugin

The Subframe plugin for Claude Code sets up the MCP server and agent skills in one install.In the Claude desktop app’s Code tab, click + → Add plugins to install from marketplaces you’ve added. The terminal and desktop app share settings, so an install in one appears in the other.
2

Keep the plugin up to date

Claude Code turns auto-update off by default for third-party marketplaces, including Subframe. Run claude plugin update subframe@subframe to update manually, or run /plugin and select Marketplaces → subframe → Enable auto-update.
3

Verify installation

Run /mcp to check that the Subframe MCP server is connected, then try asking Claude Code to use Subframe.If you’ve also connected Subframe as a connector on claude.ai, Claude Code uses that connection and the plugin doesn’t add a second Subframe server.
4

Share with your team (optional)

Add the following to .claude/settings.json and commit it, so team members are prompted to install the Subframe plugin:
.claude/settings.json
See the MCP server guide for available tools and Agent skills.

FAQ

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.
Yes. All generated code lives in your codebase and is yours to keep. Any dependencies you see are open source ↗.
Join our active Slack community ↗ for additional support from the Subframe team and other users.
Last modified on October 22, 2026