About RustCuiEditor - Visual CUI creator
Rust CUI Editor - Visual Interface Designer for Rust
Stop writing UI code blindly. Design your CUI interfaces visually and export ready-to-use code in seconds
What is this?
Rust CUI Editor is a desktop application for creating Rust game UI (CUI) interfaces using a visual drag-and-drop editor. Instead of writing dozens of lines of CuiHelper code and constantly reloading your plugin to see the result, you design everything visually and get clean, working code instantly.
|
Features
Panel |
Layout
Horizontal Layout Group
|
Visual
Drag elements directly on canvas |
Smart Alignment
Align multiple elements in one click:
|
Guides, Grid & Smart Snapping
- Draggable guides from rulers
- Customizable grid with snap
- Smart guides — auto-snap to edges and centers of other elements
- Distance indicators while dragging
Multiple Backgrounds
Preview your UI on actual game screenshots:
- Game view
- Inventory
- Loot container
- Crafting menu
- Map
- Transparent (none)
Export Formats
Generate ready-to-use code in three formats:
C# (CuiHelper)
container.Add(new CuiPanel { RectTransform = { AnchorMin = "0.3 0.3", AnchorMax = "0.7 0.7" }, Image = { Color = "0.1 0.1 0.1 0.9" } }, "Overlay", "MyPanel"); JSON (CuiElementContainer) json[{"name":"MyPanel","parent":"Overlay","components":[...]}]
Full Plugin — complete .cs file with using statements, class definition, and all UI code
Import Existing Code
Already have CUI code? Import it:
Paste JSON array
Paste C# CuiHelper code
The editor parses your code and recreates all elements for visual editing.

Project Management
- Save/Load project files
- Multiple tabs for different projects
- Recent projects with thumbnails
- Per-project settings
Property Editor
Full control over every element property:
- Position (anchors + offsets)
- Colors with Rust format (0-1 RGBA)
- Fonts and text alignment
- Sprite/material selection
- Outline settings
- Fade in/out animations
- Button commands
- Input field parameters
- ScrollView settings
QuoteBold: <b>text</b>.
Size: <size=20>text</size>.
Color: <color=#FF0000>text</color> (using hex codes).
Italics: <i>text</i>.
New Line: Using \n or a break tag.
Element Hierarchy
Layer-based structure (Overlay, Hud, HudMenu)
Parent-child relationships
Drag & drop reordering
Visibility toggle
Lock elements
Rename with double-click
Additional Tools
Measure Tool — measure distances on canvas
Style Picker — copy style from one element to another
Sprite Library — browse and search Rust sprites
Color Picker — visual color selection with Rust format preview
Quality of Life
Unlimited Undo/Redo
Copy/Paste/Duplicate elements
Copy Style / Paste Style
Keyboard shortcuts for everything
Multiple resolution presets (1920×1080, 1280×720, etc.)
Zoom and pan navigation
Fit to window
Dark theme
English and Russian localization
Auto-update notifications
System Requirements
Windows 10/11
.NET 8.0 Runtime (included)
Installation
Download and extract the archive
Run RustCUIEditor.exe
Start creating
Support
Questions or issues? Contact me via CodeFling messages.



