Mega UI
Screen builder
Stack widgets, watch the shape appear, copy the C#. Nothing to install.
Add rows, reorder them, and the preview and the code follow along. The output compiles as-is inside a mod set up per Project setup.
Your screen
Roughly how it lands
csharp
The preview is a sketch, not a screenshot
It shows the order and the nesting, which is what you need to check before writing any code. Exact spacing comes from the library and the font from the game; the colours are whatever theme your app picks — see Look and feel.
What the generated code assumes
- Your plugin has a
Guidconstant — see Getting started - The names you type in expr, field and action exist in your mod. The builder does not invent them
- A
Valuegets.ToString()added unless it already looks like a string
Close your cards
If you open a Card and never add the closing row, the generator closes it for you rather than emitting C# that does not compile. The preview shows the same thing, so a card that swallowed the rest of your screen is visible before you copy anything.