Isolated browser fixture

AI Component Sandbox

Edit one component family, refresh this page, and inspect desktop or mobile behavior without application chrome.

Layer 0 · Foundation
API mapping, i18n, and semantic themes.
Layer 1 · Primitives
Zenbu icons, fields, buttons, and dialog behavior.
Layer 2 · Composites
MrJuneJune composers and modal families.

Dependency rule: Layer 2 may consume Layers 1 and 0. Application routes, persistence, and business state stay above this sandbox.

Content modal

Editorial reading surface for blogs, notes, release details, and long-form content.

Engineering note · 8 min read

Designing durable agent interfaces

A content modal should feel like a focused reading room: enough structure to orient the reader, but no window chrome competing with the article.

Start with a strict shell

Header, body, and footer are stable regions. The article owns its semantic headings, paragraphs, lists, and code. The modal only supplies rhythm, containment, scrolling, and depth.

Content should remain ordinary HTML even when the presentation becomes cinematic.

Keep the body readable

The reading column stays bounded while the dialog itself can grow. This avoids very long lines on desktop and keeps padding deliberate on small screens.

Use a visible scroll channel

Cyan marks the active rail, violet separates the track, and magenta appears on hover. Keyboard users can focus the region and scroll without moving the modal chrome.

The header and footer stay fixed while this article moves. That stable frame keeps context visible during longer blog posts, documentation, and generated explanations.

Layer 2 only chooses layout and presentation. The Layer 1 scroll primitive still owns the native overflow behavior.

<mjj-content-modal>
  <header data-modal-header>...</header>
  <zen-scroll-area data-modal-body data-cyber-scroll>
    ...
  </zen-scroll-area>
  <footer data-modal-footer>...</footer>
</mjj-content-modal>

Updated August 7, 2026

Window modal

Structured workspace for tools and multi-region interfaces with fixed chrome and a bounded scrolling body.

Workspace · Read only

Component inspector

Body content

The window body can host split panes, editors, previews, or tools without changing the surrounding contract.

The active light-DOM fixture.
  1. 01 Header region validated
  2. 02 Title association generated
  3. 03 Body region bounded
  4. 04 Scroll primitive connected
  5. 05 Footer actions discovered
  6. 06 Pixel typography inherited
  7. 07 Cyberpunk theme resolved
  8. 08 Keyboard scrolling enabled
  9. 09 Responsive split verified
  10. 10 Layer contract ready