{"data":{"prismicDocsCategory":{"data":{"pages":[{"page":{"uid":"what-is-forge","document":[{"data":{"title":{"text":"What is Forge "},"visible_in_table_of_content":"true"}}]}},{"page":{"uid":"merge-react-library-ai","document":[{"data":{"title":{"text":"Forge with React libraries"},"visible_in_table_of_content":"true"}}]}},{"page":{"uid":"ai-credits-models","document":[{"data":{"title":{"text":"AI Credits & Models "},"visible_in_table_of_content":"true"}}]}},{"page":{"uid":"faq","document":[{"data":{"title":{"text":"Frequently Asked Questions"},"visible_in_table_of_content":"true"}}]}}]}},"prismicDocsPage":{"data":{"title":{"text":"Frequently Asked Questions"},"isVisibleForRobots":"true","body":[{"__typename":"PrismicDocsPageBodyContent","slice_type":"content","primary":{"content_title":{"text":null},"content":{"html":"<h3>What is the difference between Forge and Merge?</h3><p>Forge and Merge are two core systems in UXPin.</p><p><a target=\"_blank\" rel=\"noopener\" href=\"https://www.uxpin.com/docs/merge/what-is-uxpin-merge/\">Merge</a> is UXPin&#39;s design-to-code technology.<br />It lets you use real React components from your code repository inside the Editor.</p><p><a target=\"_blank\" rel=\"noopener\" href=\"https://www.uxpin.com/docs/forge\">Forge</a> is the AI system in UXPin.<br />It generates, edits, and reviews UI using the component library available in your project.</p><h3>Do I need Merge to use Forge?</h3><p>No.<br />Forge works with both UXPin Classic components and React component libraries connected through Merge.</p><h3>I<strong>s Forge an AI UI generator?</strong></h3><p>Yes. With Forge, you can generate UI components and layouts from text prompts, images, or JSX code.</p><h3><strong>Does Forge follow my design system?</strong></h3><p>Forge generates and edits UI using the component library selected in the AI panel.</p><p>If you are using <strong>UXPin Merge</strong>, Forge works with real React components from your connected library.</p>"}}},{"__typename":"PrismicDocsPageBodyTip","slice_type":"tip","primary":{"tip_type":"Power tip","tip_title":"Tip","tip":{"html":"<p>See how to connect your Merge library with Forge <a target=\"_blank\" rel=\"noopener\" href=\"https://www.uxpin.com/docs/forge/merge-react-library-ai/\">here</a>. </p>"}}},{"__typename":"PrismicDocsPageBodyContent","slice_type":"content","primary":{"content_title":{"text":null},"content":{"html":"<h3><strong>How is Forge different from AI Component Creator?</strong></h3><p>Forge works inside the Editor and supports conversation, iteration, and editing existing UI.</p><p>AI Component Creator is used in the Project view to generate a new prototype from a single prompt or image. It does not support conversation and does not keep history.</p><p>Use <a target=\"_blank\" rel=\"noopener\" href=\"https://www.uxpin.com/docs/forge\">Forge</a> for iterative design work.<br />Use <a target=\"_blank\" rel=\"noopener\" href=\"https://www.uxpin.com/docs/forge/ai-component-creator/\">AI Component Creator</a> to start a new prototype.</p><h3><strong>Can Forge edit existing UI?</strong></h3><p>Yes.</p><p>Forge can modify selected components directly in the Editor.<br />Select an element before submitting a prompt. Forge updates that component while preserving its structure and library.</p><p>If no element is selected, Forge generates a new component instead.</p><h3><strong>Can I reuse AI-generated components?</strong></h3><p>Yes.</p><p>After generating a component, you can:</p><ul><li>Insert it again using ~Use component~</li><li>Save it in your library as a <a target=\"_blank\" rel=\"noopener\" href=\"https://www.uxpin.com/docs/editor/components/\">Component</a> or a <a target=\"_blank\" rel=\"noopener\" href=\"https://www.uxpin.com/docs/merge/patterns/\">Pattern</a>.</li><li>Edit it manually.</li></ul><p>Refine it with additional prompts.<br /><br />AI-generated UI behaves like any other component in your project.</p><h3><strong>Can I use multiple libraries in one project?</strong></h3><p>A project can contain components from different libraries. However, Forge generates and edits UI using the library selected in the AI panel.</p><p>If the selected element does not match the selected library, Forge may generate a new component instead of editing the original.</p><p><br />For consistent results, use one primary library per project.</p><h3><strong>Why did AI generate a new component instead of editing the selected one?</strong></h3><p>This happens when:</p><ul><li>No element was selected before submitting the prompt.</li><li>The selected element does not match the library chosen in the AI Chat panel.</li></ul><p>Forge edits components only when the selected element and the selected library match.</p><p>Otherwise, it generates a new component.</p><p></p><h3><strong>Why did this action cost more AI credits?</strong></h3><p>Credit usage depends on:</p><ul><li>Length of your prompt.</li><li>Size of the generated output.</li><li>Complexity of the layout.</li><li>Selected model.</li></ul><p>Generating multiple sections or using a more advanced model consumes more credits than small spacing or text updates.</p><h3><strong>Can Forge generate pixel-perfect copies from screenshots?</strong></h3><p>No.</p><p>When using an image, Forge interprets layout structure and hierarchy. It rebuilds the UI using components from the selected library.</p><p>The result follows your component system rather than copying exact pixel values.</p><h3></h3><h3><strong>Does Forge generate real React code?</strong></h3><p>Yes.</p><p>When using <a target=\"_blank\" rel=\"noopener\" href=\"https://www.uxpin.com/docs/merge\">UXPin Merge</a>, Forge generates JSX based on real React components from your connected component library.</p><p>Forge works with:</p><ul><li>Built-in React libraries such as MUI, Ant Design, and shadcn/ui.</li><li>Custom React component libraries integrated with UXPin Merge.</li><li>UXPin Classic components.</li></ul><p></p><h3><strong>Can I export code generated by Forge?</strong></h3><p>Yes.</p><p>If your project uses <a target=\"_blank\" rel=\"noopener\" href=\"https://www.uxpin.com/docs/merge\">UXPin Merge</a> with a connected React component library, Forge generates UI using real React components.</p><p>You can:</p><ul><li>Open ~Preview~ to test interactions.</li><li>Click ~Get Code~ in the Top bar.</li><li>Inspect JSX for Merge components.</li><li>Export production-ready code, depending on your setup.</li></ul><p>For UXPin Classic components, you can copy output in HTML and CSS directly in Forge after generating components.</p><p>Forge does not generate standalone applications. It generates UI inside your prototype using your selected component system.</p><p></p><h3><strong>Can I use my own OpenAI or Anthropic API key?</strong></h3><p>Yes.</p><p>In <a target=\"_blank\" rel=\"noopener\" href=\"https://www.uxpin.com/docs/forge/what-is-forge/#settings-customization\">Forge settings</a>, you can enable ~Use own API key~, select a provider, and enter your API key.</p><p>When your provider account handles connected, usage and billing.</p><h3><strong>Is Forge included in all plans?</strong></h3><p>Forge features and model access depend on your subscription plan.</p><p>Credit limits and available models vary by plan.</p>"}}}]}}},"pageContext":{"isCreatedByStatefulCreatePages":false,"categoryUid":"forge","pageUid":"faq","meta_description":"UXPin's forge Docs, frequently asked questions for new and advanced users","meta_image":"https://images.prismic.io/uxpincommunity%2F596562eb-7e0e-4ef3-a001-4d1baebd1ad3_og_uxpin_docs.png?auto=format,compress","meta_title":"Frequently Asked Questions | Forge","page_title":"Frequently Asked Questions | Forge"}}