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:
npx @subframe/cli@latest init
Run our CLI in your project root and follow the prompts:
npx @subframe/cli@latest init
Installation issues
If you run into installation issues, refer to one of these framework-specific troubleshooting guides:
Next.js
Vite
Astro
Monorepo
Other (manual installation)
Importing existing components
If you have an existing component library, the best way to use Subframe is to recreate your library in Subframe. We will offer a guide to do this and eventually an import tool in the future.Note: If you’re interested in early access to importing your existing library, reach out to support@subframe.com
<head> <!-- Insert the font import snippet you copied here --> <!-- Example: importing the Inter font... --> <link rel="preconnect" href="https://fonts.googleapis.com" /> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="anonymous" /> <link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet" /> <!-- Remaining code in your `<head>` tag... --></head>
Set up Subframe MCP and agent skills (recommended)
The MCP server lets AI tools like Claude Code, Cursor, and Codex fetch your designs directly and even create new ones. Agent skills teach your AI assistant how to use Subframe well — setting up projects, designing pages, and implementing with business logic.
Claude Code
Claude Desktop
Cursor
Codex
Other clients
1
Install the Subframe plugin
claude plugin marketplace add https://github.com/SubframeApp/subframe && claude plugin install subframe@subframe
The Subframe plugin for Claude Code sets up the MCP server and agent skills in one install.
2
Enable auto-update (recommended)
Keep the Subframe plugin up to date automatically:
Run /plugin to open the plugin manager
Select the Marketplaces tab
Choose the subframe marketplace
Select 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.
What if I don't use React, TypeScript or Tailwind CSS?
You can use our MCP server to access your designs and documentation in your AI coding assistant and convert them to your preferred language and framework.While Subframe only generates React + Typescript + Tailwind code for now, we found that in practice, asking AI to convert the code to your preferred framework is far faster than starting from scratch. Our generated frontend code is high-quality and consistent, without the overhead that most LLMs add to AI-generated UI code, so AI’s often are able to convert the code to your preferred framework consistently in a single prompt.
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?
Join our active Slack community ↗ for additional support from the Subframe team and other users.