Hanzi Design
Concept window

window · opening

Cave + Heart

A window is a controlled opening that permits selective exchange between inside and outside. It allows light, air, and view to pass while maintaining structural separation. The window frame defines what can be seen—a viewport that crops the external world into a manageable frame. Every application window, every browser viewport, every modal dialog operates on this principle: establishing a bounded region through which specific content becomes visible and accessible. The window does not contain the content; it frames it. Resize the window and the content remains unchanged, but what you can see of it shifts. The frame is not the thing framed.

🪟

Frame as Limit

A window frames a portion of external reality. The view through the window is not the entire landscape but a selected region determined by frame size and position. Move to a different window and see a different portion. The frame creates boundaries on what's visible.

Application windows work identically. The browser window frames a portion of the web page. The terminal window frames a portion of the text buffer. The canvas window frames a portion of the artwork. The frame determines what's visible, but the content extends beyond the frame.

This creates scroll and pan behaviors. If content exceeds frame size, users must navigate within the frame to access different portions. The frame itself doesn't change size; the user's view through it shifts. Understanding frame-versus-content distinction is essential: resizing the frame doesn't alter content dimensions, only how much content is simultaneously visible.

Transparency and Opacity

A window can be transparent (glass pane allowing clear view), translucent (frosted glass allowing light but obscuring details), or opaque (curtain blocking all visibility). The transparency level determines what information passes through.

Interface windows exhibit similar transparency levels. Modal dialogs are often semi-transparent—the dimmed background remains partially visible, communicating that it's still there but currently inaccessible. Fully opaque modals completely hide background content. Transparent overlays allow background visibility while adding foreground information.

The transparency level should match the window's function. Modals that require user decision before proceeding can safely be opaque—the background is temporarily irrelevant. Overlays providing supplementary information (tooltips, previews, annotations) should be transparent enough that background context remains visible. The designer must calibrate transparency to balance focus (opacity helps concentrate attention) against context (transparency maintains awareness of surroundings).

Opening and Closing

Windows can open and close. An open window permits exchange; a closed window maintains complete separation. The transition between states—opening and closing—is a significant interaction moment.

Application windows similarly open and close. Launching an application opens its window. Quitting closes it. Creating a dialog opens a modal window. Dismissing closes it. The opening indicates content is now accessible; the closing indicates it's no longer accessible.

Window transitions should be perceivable. An instant appearance/disappearance is jarring. Brief animation—the window expanding from a point or sliding into view—communicates the state change clearly. The animation should be fast enough not to delay interaction but slow enough to register perceptually. The transition makes the change in accessibility explicit.

Size and Proportion

A window's size determines how much content is visible simultaneously. Small windows show little content but occupy little space. Large windows show more content but dominate the screen. The optimal size depends on content type and user task.

Responsive design respects window constraints rather than fighting them. The content adapts to the window size—reflowing text, stacking elements, hiding details. The alternative approach—maintaining fixed content size regardless of window—creates horizontal scrolling and poor usability.

But some content has minimum viable size. A data table needs enough width to be legible. A video needs enough size to be watchable. The designer must identify minimum window sizes below which content becomes unusable and either enforce minimums or provide degraded-but-functional alternatives for small windows.

The Layering System

Multiple windows can coexist, creating a layering system. Foreground windows occlude background windows. Window order determines visibility priority. This creates z-axis organization in addition to x-y position.

Operating systems manage window layering through focus and stacking. The active window is foreground; inactive windows recede. Users bring windows forward by clicking them. This creates fluid layering where order changes based on attention.

Interface design often uses modal windows that force themselves to foreground and prevent background interaction. This override of normal layering signals importance—the modal demands attention before other tasks can continue. But excessive modal usage creates frustration. Not every message warrants interrupting the user's current task. The designer must distinguish content that justifies modal treatment from content that can coexist with other tasks.

View Persistence

A window's view can be persistent (remembering position and zoom when reopened) or ephemeral (resetting to default each time). Persistence reduces repetitive navigation; ephemerality ensures consistent starting state.

Applications should generally persist window state. If a user positioned and sized the window for their workflow, preserve that configuration. If they scrolled to a specific content location, remember it. Forcing users to reconfigure window state on each launch is friction.

But some ephemeral states should reset. Error dialogs should open at default size, not remembering the dimensions from last error. First-run experiences should start from the beginning, not remembering where the user abandoned them previously. The designer must distinguish persistent state (window size, position, scroll location) from ephemeral state (temporary messages, one-time flows).

The Broken Window

A broken window fails to maintain the boundary between inside and outside. It no longer selectively filters exchange but permits uncontrolled passage. The broken window must be repaired or boarded up to restore boundary function.

Application windows break when they fail to maintain their boundaries. A modal that doesn't prevent background interaction is broken. A viewport that doesn't clip overflow content is broken. A frame that doesn't constrain content appropriately is broken.

Broken windows create user confusion. If a modal allows background clicks, users don't understand why some interface elements respond and others don't. If a frame fails to clip content, elements appear in unexpected locations. The boundary violation makes the interface behavior unpredictable. The designer must ensure window boundaries are maintained or explicitly violated—ambiguous boundaries create the worst experience.

Window Dressing

Window treatments—curtains, blinds, shutters—control what's visible through the window and what light passes. They provide privacy, manage illumination, and add aesthetic character. But they're secondary to the window itself.

Interface window dressing includes chrome: title bars, borders, controls, decorative elements. These frame the content window without being the content. Well-designed chrome supports window function without drawing attention from content. Poorly designed chrome competes with content for attention.

Minimalist design movements advocate reducing window dressing to essential controls only. The chrome should be as minimal as possible while maintaining necessary functionality. Excessive decoration wastes screen space and adds visual noise. The window should frame content, not dominate it.

Multiple Panes

Some windows divide into multiple panes—split views showing different content simultaneously within a single frame. The panes may show related content (code and preview, source and compiled output) or independent content (email list and message detail).

Multi-pane windows create complex visibility management. Each pane has its own content, scroll position, and focus state. The panes share the overall window's screen space, creating trade-offs: more panes mean more simultaneous visibility but less space per pane.

The designer must determine optimal pane count and arrangement. Too few panes and users constantly switch context. Too many panes and each becomes too small to be useful. The arrangement should match common task flows—placing related content in adjacent panes, providing appropriate sizes for each pane's typical content.

The View from Here

A window's view depends on its position. Ground floor windows show street level; upper floor windows show rooftops and sky. The same building exterior looks different from different window heights.

Interface windows similarly depend on context. The application window shows the application's content. The browser window shows web content. The terminal window shows command-line interface. Each window type frames different content with different interaction models.

Window context determines appropriate interactions. Browser windows support navigation (back, forward, address bar). Application windows support application-specific commands. Terminal windows support text input and output. The window type establishes what operations make sense within that frame. Designing window contents requires understanding the window context—what the frame provides and what it constrains.