← Back to library
Viewport capture · opening screen Assembled in your browser. No API key or AI request needed. Changing the fields refreshes the preview.
Monaco — Code editor
Editors & ToolsSee it livemicrosoft.github.io
A JavaScript example sits beside its live editor preview, with HTML and CSS regions stacked below the source.

Why this pattern works
A JavaScript example sits beside its live editor preview, with HTML and CSS regions stacked below the source.
Design notes
- Surface
- Monaco — Code editor
- Navigation
- Split source and preview panes with language panels on the left.
- Layout
- Split source and preview panes with language panels on the left.
- Density
- Compact supporting controls preserve space for the primary content.
- Color
- White, pale gray and purple header
- Type
- Small utility labels with monospaced text where code or structured data is visible.
- Pattern
- A JavaScript example sits beside its live editor preview, with HTML and CSS regions stacked below the source.
- States
- Public example or template in its captured initial state; visible sample data is demonstration content.
- Don't
- Use the structure as a reference, with your own content and identity. This still does not establish the behavior of controls or unseen states.
Make it your own
Turn this reference into a useful brief for your project. Copy it into the AI tool you already use.