Skip to Content

Window

The Window suite is a set of composable primitives for Windows 98 application chrome.

Props

ExportKey propsDescription
WindowProvideractive, minimized, defaultMaximized, positioning, maximizableState and behavior provider.
WindowFramepositioning, div propsOuter raised frame.
WindowTitleBar, WindowTitle, WindowButtonsdiv propsTitle bar slots.
WindowMinimizeButton, WindowMaximizeButton, WindowCloseButton, WindowHelpButtonbutton propsTitle bar controls.
WindowMenuBar, WindowMenuBarMenu, WindowMenuBarTrigger, WindowMenuBarContent, WindowMenuBarItemvalue, defaultValue, onValueChange, menu/menuitem propsTop-level window menu bar with optional dropdown coordination.
WindowContentdiv propsScroll/content body.
WindowStatusBar, WindowStatusBarFielddiv propsBottom status area.

Examples

Application window

Example.exe

Window primitives compose into app chrome.

Ready
NUM

Menu bar dropdowns

Write.exe

A tiny document window with classic top menus.

Ready

ARIA

Window primitives provide visual structure. Add dialog/window roles, labels, focus management, and close behavior at the app shell layer.

Keyboard

Window chrome primitives do not add global keyboard shortcuts. Title-bar buttons and menu-bar items keep their native button or menu keyboard behavior.

SSR

WindowProvider owns maximized state. Use defaultMaximized for initial layout and keep positioning classes stable across hydration.

Last updated on