Component Builder
What Is the Component Builder?
The Component Builder is Myop's built-in development environment for creating, editing, and publishing UI components — directly from your browser. It provides a code editor, live preview, configuration panel, and testing tools all in one place, so you can build and iterate on components without switching between tools.
Whether you're starting from scratch or modifying an existing component, the Component Builder gives you everything you need to go from idea to production.
Key Features
- Integrated Code Editor — A full Monaco editor (the same engine behind VS Code) with syntax highlighting, autocomplete, and error detection.
- Live Preview — See your changes rendered in real time as you type, with split-view or full-screen options.
- Variant Management — Create, switch between, and duplicate variants of your component to test different versions.
- Test Data Scenarios — Define mock data inputs to test how your component behaves with different data.
- One-Click Publish — Save and publish your component to a live environment instantly.
- Myop Agent — An AI assistant integrated into the builder to help you write and modify code.
- Connect & Integrate — Generate ready-to-use code snippets, npm packages, or prompts for integrating your component into your application or platform.
- Tags & Organization — Categorize components with tags for easy discovery.
- Sharing & Access — Control component visibility with public/private access.
