IDE Window
The <IDEWindow> component wraps code in an editor-style window with file tabs in the title bar. Built on top of DesktopWindow.
Single file
Pass a code string via the code prop:
Code
Output
Multiple tabs
Show multiple file tabs to indicate context. The active tab is visually highlighted:
Code
Output
With path-style filenames
Use full paths for clarity in monorepo contexts:
Code
Output
JSON example
Code
Output