Every Studio Panel & Interactions Guide (All 12 Panels)#
LeanUI Studio is a full dockable IDE where every visual edit, runtime click, breakpoint pause, Lean 4 proof, and AI agent action stays live-synced across 12 dockable panels, the Top IDE Toolbar, and the Export Diagram Dialog.
This guide gives you a dedicated live annotated snapshot and an exact interaction playbook (click, drag, double-click, and keyboard shortcuts) for the entire workspace and every individual panel.
Entire Studio Workspace Overview#
Every diagram below is generated directly from LeanUI Studio's real layout engine and updates automatically in both Light and Dark themes on every deployment.
How Dock Zones & Panel Tabs Interact#
| Interaction | Where to Perform It | What Happens |
|---|---|---|
| Switch Workspace Preset | Topbar IDE Default ▾ selector | Instantly switches between IDE Default, Graph Focus, Design & UI, and Proofs & Code. |
| Show / Focus Any Panel | Topbar Panels dropdown | Opens, unhides, and brings focus to any of the 12 panels (or resets layout via ↺ Reset Default IDE Layout). |
| Split Any Dock Zone | Drag a panel tab onto the bottom/side split edge of a dock | Splits that dock into two simultaneous visible panes (e.g., Palette above Inspector, or Preview above Timeline). |
| Float a Panel Window | Drag a panel tab onto the open center canvas | Pops the panel into a freely movable, resizable floating IDE window; click its dock icon to return it. |
| Resize Any Dock | Drag the vertical/horizontal splitter bar between zones | Resizes Left, Right, or Bottom docks smoothly and persists dimensions automatically. |
Global Controls · Top IDE Toolbar & Stage Bar#
Step-by-Step Interactions#
- Rename Module: Click the editable title field right after
LeanUI /to rename the active Lean 4 namespace & app title. - Switch Presets or Insert Nodes: Pick any of 13 built-in verified apps from the preset dropdown, or click
+ Node/Templates. - Instant Search (
⌘K/Ctrl+K): Press⌘Kto search nodes, jump across 1,000+ solution modules, run auto-layouts, or trigger proofs from the keyboard. - Auto-Layout: Choose
DAG Layered,Swimlanes,Auto-Grouped,View Tree, orCompact Gridand clickLayout. - Prove & Accessibility: Click
λ Proveto run the real Lean 4 compiler,AAAfor WCAG AAA high-contrast Studio chrome,Normal ▾for Compact / Touch density, or☾ / ☀for Dark/Light theme.
Left Dock Panels#
1. Solution Explorer (⊞ Solution)#
Manages multi-project solutions (.leanui-sln.json), folder hierarchies, Screens, ViewModels, Control Templates, and Git-friendly local folder sync.
Interactions Usage#
- Filter Modules: Type in
Filter solution modules…to filter large multi-project solutions in real time. - Create Module: Click
+ Moduleto create a new Screen, ViewModel, Shared Logic, or Control Template inside a project folder. - Open Module Tab: Click or double-click any module row to open it in the Center Stage document tab bar without losing unsaved work in other tabs.
- Right-Click / Actions: Duplicate, rename, move between folders, or delete modules cleanly while keeping cross-module references updated.
2. Node Palette (◈ Palette)#
Houses all 69 formally typed LeanUI node kinds organized by domain (Lean 4 Proof Language, Data Sources, ViewModel & Proofs, Design System, Live Previews, Scale/Routing, and View Layer).
Interactions Usage#
- Search All 69 Kinds: Type any keyword (
state,list,wcag,firebase,preview,theorem) to filter immediately. - Click to Insert: Single-click any item to insert it at the center of the current canvas viewport.
- Drag onto Open Canvas: Drag any item from the Palette and drop it at an exact
(x, y)location on the canvas. - Drag onto Existing Wire (Auto-Split!): Drag a node (such as a
Computed,Validator, orReroute) directly over an existing wire — the wire glows, splits automatically, and connects both ends! - Insert Multi-Node Blueprints: Click
Templatesat the top right to drop pre-wired CRUD forms, auth guards, dashboards, or FSM flows in one click.
3. Property Inspector (⚙ Inspector)#
Context-sensitive editor for whichever node (or multi-selection) is active on the canvas. Split below the Palette by default so you can drag and edit simultaneously.
Interactions Usage#
- Toggle Breakpoint (
● BP): Click● BPin the Inspector header to pause the Omnidirectional Debugger before that node executes. - Exact Sizing & Auto-Size: Edit
W/Hdirectly, clickAuto-Sizeto fit content cleanly, toggle🔒 Ratioto lock aspect ratio, or clickFit Allto auto-size the entire graph. - Visual Logic Editor (
ƒ Logic UI): Clickƒ Logic UInext to any expression or action field to build guarded Lean 4 formulas visually without typing syntax by hand. - Live Preview Viewport Presets: When inspecting an
app_previewortemplate_previewnode, click📱 Mob,📲 Tab, or🖥 Deskto snap exact responsive dimensions. - Manage Connected Wires: Inspect every incoming and outgoing edge at the bottom of the panel; click
×on any row to disconnect that wire without hunting for it on the canvas.
Right Dock Panels#
4. Live Preview (▶ Preview)#
Runs your verified specification live in real time using the exact same deterministic MVU reducer compiled to Lean 4, HTML, and React TSX.
Interactions Usage#
- Interact Directly: Click buttons, type into inputs, toggle switches, drag sliders, and sort tables — every action records a trace step and lights up touched canvas nodes with
#1,#2,#3… execution badges. - Responsive Viewport Switcher: Click
Desk,Tab, orMobto test breakpoints immediately. - Bidirectional UI Element Picker (
⌖ Inspect): Click⌖ Inspect, then hover and click any rendered element inside the Preview to immediately pan, select, and open its owning View node in the Canvas and Inspector! - Reset Runtime: Click
Resetto snap state back toinitStateand clear runtime history. - Connected Multi-Screen Jump: Click any screen chip in the
CONNECTED:footer bar to test cross-screen navigation flows live.
5. State & Invariant Timeline (⏱ Timeline)#
Deterministic time-travel recorder capturing every dispatched action, exact before/after field diffs, live invariant truth badges, and test export.
Interactions Usage#
- Transport Bar (
⏮ ◀ ▶ ⏭): Step backward/forward one dispatch at a time or play back an entire recorded user journey. - Drag the Scrubber: Drag the blue slider left or right to rewind/fast-forward both the Live Preview UI and the Canvas
#1..#Nexecution overlay in lockstep. - Click Any Trace Row: Select any historical step to inspect its exact field mutations (
count: 2 → 3) and invariant verification pills; filter rows byAll,Changed, orViolations. - Fork Branch (
⑂ Fork): Rewind to an earlier step and click⑂ Fork(or dispatch a new action) to explore an alternate state branch. - Export Regression Tests (
✓ Export Test): Download runnable Node.js or Playwright E2E tests directly from your recorded interaction trace!
6. Formal Proofs & 5-Mode Proof Visualizer (✓ Proofs)#
Visualizes every auto-generated and custom Lean 4 theorem obligation with zero sorry placeholders.
Interactions Usage#
- Switch 5 Visualization Modes: Click
Matrix,Dep Graph,Tactic Tree,Counterex, orASTat the top of the panel to inspect proofs from different angles. - Click Any Theorem Row: Highlights the participating
State,Action, andInvariantnodes on the Center Canvas and jumps to the corresponding Lean 4 theorem lines. - Auto-Fix Suggestions: When an invariant fails, inspect the concrete Counterexample state values and click Auto-Fix to apply a guard or clamp.
7. Lean 4 Specification (λ Lean 4)#
Shows the live, syntax-highlighted Lean 4 code generated from your visual graph on every keystroke and wire drop.
Interactions Usage#
- Bidirectional Source Mapping: Click any
structurefield,Actionreducer branch, ortheoremdeclaration to highlight the owning node on the canvas. - Copy or Download
.lean: ClickCopyorDownloadto use the generated formal spec in a standalone Lake project or CI pipeline.
8. Standalone HTML (◇ HTML) & 9. React TSX (⚛ React)#
Live multi-target code generation panels synced 1:1 with the proved Lean 4 transition model.
Interactions Usage#
- Inspect Live Diffs: Edit any node property or wire on the canvas and watch the generated HTML5 or TypeScript React component update instantaneously.
- Ship with One Click: Click
CopyorDownloadto export a zero-dependency.htmlfile or production-ready.tsxcomponent (deriveEnv,checkInvariants,reducer, and JSX).
10. AI Agent, 16-Widget GenUI & MCP Panel (🤖 Agent & MCP)#
Built-in AI architect and multi-provider agent workspace supporting Built-In Architect, Gemini, OpenAI/Codex, Anthropic Claude, Local CLI agents, and ACP v2 + 54 MCP tools.
Interactions Usage#
- Choose Provider & Approval Policy: Pick your model provider and set safety permissions (
Read-Only,Ask, orAuto/Full). - Use
/Commands &@Mentions: Type/verify,/build,/fix,/layout, or@ModuleNamein the composer to pass exact graph context. - Interact Directly with GenUI Cards: Click
Apply to Graph,Inspect Diff, test inline Live Preview cards, or expand Proof Matrix widgets right inside the conversation stream. - Inspect 54 MCP Tools: Switch to the MCP tab to browse, test, or copy stdio/HTTP config for external IDEs and agents.
Bottom Dock Panels#
11. Verification Console (▤ Console)#
Real-time verification engine and solution-wide diagnostics hub.
Interactions Usage#
- Toggle Proof Engine: Switch between
WASM (Browser)(instant, zero-install) andNative Lake (lean-server)for full local Lean 4 compilation. - Verify Entire Solution: Click
✓ Verify Solutionto validate every module, cross-module wire, WCAG contrast ratio, and formal invariant across all projects. - Click-to-Focus Error Navigation: Click any red error or amber warning row to immediately pan the canvas, select the offending node, and focus its Inspector field.
12. Omnidirectional Debugger (⌖ Debug)#
Interactive step-by-step causal debugger tightly coupled with the Canvas #1..#N execution pills and Live Preview.
Interactions Usage#
- Set Breakpoints: Toggle
● BPon any node in the Inspector (or click a node's BP button) before triggering an action in Live Preview. - Step Through Execution (
F8/F10): When paused, click⤵ Stepto watch execution advance from#1 Button→#2 Action→#3 State→#4 Invariant→#5 Viewwith zero overlap between step pills and node resize handles. - Break on Invariant Violation: Toggle
● Break on Violationso the runtime freezes immediately if any invariant becomesfalse. - Inspect Live Watches: Monitor live evaluated expressions alongside exact pre/post state diffs.
Export Modal · Visual Diagram Exporter (🖼 Export)#
Available anytime from Export ▾ → 🖼 Export Diagram (SVG / PNG / PDF)… or the Canvas HUD ⤓ Export button.
Interactions Usage#
- Pick Capture Target: Export any of the 8 Stage Modes (
Graph,Timeline,App Flow,Explode,3D Orbit,Multi,Stages,Prototype),🖥 Entire Studio IDE App, or any of the 14 Selected Studio Panels! - Choose State Snapshot: Toggle
Clean(initState),Current(live values, selection, causal trace ..#Nstep badges), orTimeline(multi-step storyboard). - Customize Theme & Overlays: Choose Light/Dark/Match Studio, Dot Grid/Solid/Transparent background,
1×–3×Retina PNG scale, Auto-Annotate Help Callouts, and Multi-Page PDF presets (Timeline BookorComplete Architecture Deck). - Copy or Download: Click
📋 Copy SVG,📋 Copy PNG, or⬇ Download Diagram(SVG/PNG/PDF).
Next Steps#
- Master every workspace stage in All 7 Stage Modes — Step-by-Step Guide.
- Put all 12 panels into practice in Tutorial 1: Build Your First Verified App or Tutorial 2: Build a Styled Task Tracker.