Skip to content

Visual UI Editor

vgai ships a visual editor for React UI that lives in the scene graph. You build HUDs by direct manipulation, and edits round-trip to both the scene file and your .tsx source.

  • UI in the scene graph β€” the .vscn ui array; canvas, containers, controls; screen-space and world-tracked UI.
  • Visual editing β€” selection overlay, hover/marquee/resize, align/distribute, preview-vs-commit (one undo per gesture).
  • Layout & anchoring β€” anchor fractions and presets, pivot, flexbox; container types (box, grid, stack, scroll, panel, center, wrap, aspect, tab, sizebox).
  • Styling & theming β€” theme tokens/variants, per-element overrides, per-state (hover/pressed/focus/disabled), 9-slice, rich text, transitions.
  • Data binding β€” one-way, two-way (MVVM), data-bound lists, localized text.
  • Controls & events β€” button/toggle/slider/input/dropdown/progress; event wiring; pointer passthrough; keyboard focus.
  • Components & reuse β€” save/instantiate UI prefabs, instance overrides, exposed props/slots.
  • Responsive β€” global scaling, aspect policies, in-editor resolution preview.
  • Two-way source sync β€” edits write back to .tsx (inline / className / external CSS) losslessly.