Skip to main content

The visual editor

Design Semantic UI screens visually — entirely in the browser, no backend, no install. The editor is a fully client-side app: projects and pages live in localStorage, you edit and preview live, and export a runnable app when you're done.

▶ Open the visual editor ↗ — runs in your browser, nothing to set up.

It's embedded right here — this is the real editor, not a screenshot. Pick a project, click a node in the tree, edit its JSON, watch the preview update:

More room

The editor is a full three-panel app — it's much nicer full-screen ↗.

What it is​

Three resizable panels, all driven by the same SuiRenderer as production (which is why it was small to build — the UI model and the renderer are separate):

  • Tree — outline of the UiNode tree, with add (+) and delete (×).
  • Property panel — a Monaco JSON editor for the selected node with live schema validation generated from the real UiNode classes (wrong enum values, type mismatches and unknown node types are underlined inline); edits apply on blur or Ctrl/Cmd-Enter.
  • Live preview — the actual tree rendered through the SUI renderer. Clicks on any rendered element select the corresponding tree node; selecting a tab switches the preview into that tab.

Download a runnable app​

This is the part people miss: the editor doesn't just draw mock-ups — it exports a working application you can download and run. Pick a target and you get a complete project:

ExportWhat you getRun it with
Staticindex.html + app.js + the sui/ runtime — no backendopen the file, or any static file server
Spring Boota Maven project with a controller per page returning UiPagemvn spring-boot:run
Node.jsan Express server serving each page as UiPage JSONnpm install && npm start

The output is plain, hand-written semantic-ui code — not a bundled copy of the editor, and with no dependency back on it. So it's a real starting point: design the screens visually, export, then keep building in your IDE.

It's also the fastest way to scaffold any of the three setups.

Embed it in your own app (optional)​

The same editor is also an embeddable Spring Boot starter — add the dependency, provide an EditorContentStore, and /editor is live inside your app:

<dependency>
<groupId>ai.mindconnect</groupId>
<artifactId>mc-sui-editor</artifactId>
<version>0.4.3</version>
</dependency>

A standalone showcase lives in editor/mc-sui-editor-app:

cd editor/mc-sui-editor-app
mvn spring-boot:run
# then open http://localhost:8080/editor

Its sample content exercises every node type (header, tabs, a table with a SKU-link cell template, a form with various field kinds, multi-select rows, …) — a good orientation when you first embed the editor.