Hover a number — every part of the window chrome has a real name
Mac Window
/ NSWindow · WindowGroup /
also called app window, document window, NSWindow, window frame
A Mac window is the movable, usually resizable frame that holds one app surface. Its top chrome can combine a draggable title bar, title, toolbar, accessories, and document tabs, while the red, yellow, and green traffic lights remain their own standard controls. Window tabs belong to the frame and group separate windows; an in-content tab view only switches content inside one window.
Anatomy — every part, named
- 1Title bar
NSWindow.titleVisibility“The strip across the top of the window” is the title bar, which can remain present even when its title text is hidden.
- 2Window drag region
NSWindow.isMovableByWindowBackgroundThe blank area you grab to move the window is its drag region, not necessarily the visible title text.
- 3Window title
NSWindow.titleThe document or screen name printed in the title bar is the window title.
- 4Unified toolbar
NSWindow.ToolbarStyle.unifiedWhen the title and window actions share one top row, that chrome uses the unified toolbar style.
- 5Toolbar item
NSToolbarItemOne button, field, or flexible space placed in the window toolbar is a toolbar item.
- 6Title-bar accessory
NSTitlebarAccessoryViewController“The little control inside the title bar” is a title-bar accessory, separate from both the toolbar and traffic lights.
- 7Title-bar separator
NSWindow.titlebarSeparatorStyleThe hairline between the window's top chrome and its content is the title-bar separator.
- 8Window tabs
NSWindowTabGroupTabs in the window frame group separate document windows; they are not an NSTabView inside the content area.
- 9Resize edge / corner
NSWindow.StyleMask.resizable“The tiny corner grip” means the resize edge or corner, which may be interactive even when no grip is drawn.
Prompt — paste into your agent
Build this as a native Mac Window (NSWindow; SwiftUI: Window or WindowGroup). Distinguish the draggable title-bar region from NSWindow.title, use an NSToolbar for unified chrome, attach custom title-bar controls with NSTitlebarAccessoryViewController, and preserve native window tabs and resize edges.
In code
The exact names this thing goes by in code — each row is one framework’s word for it. Use the row that matches your project (or paste it into your prompt).
| AppKit | NSWindow | |
| SwiftUI | WindowGroup | |
| SwiftUI | Window | |
| AppKit | NSWindowController |