Overview of the Subframe workflow
mainSubframe is a design-to-code platform that allows you to design visually using real UI components and export production-ready React code. It aims to eliminate the traditional design-to-code hand-off by using code as the source of truth.
The Subframe Workflow:
- Build your design system: Define your theme, components, and documentation. You can use the pre-built library or create custom components that sync as production code.
- Design and prototype visually: Use a drag-and-drop editor with real components to build interactive prototypes.
- AI-assisted design: Use AI to generate designs from prompts or images. The AI learns from your specific theme, components, and existing pages.
- Code hand-off: Sync components via the CLI and export pages as copyable React code or via an MCP server. Subframe generates this code programmatically (not via AI), ensuring you own the code locally.