references/platform/desktop.md
about 250 tokens- greenline
# Desktop
Read this page when the manifest's platform is desktop. Its one source is native macOS; Electron and Tauri apps take what fits and the web's craft pages for the rest.
- **The app's shape.** Name it first: a document app, a library, a utility or menu bar app, a professional workspace, a viewer, or a hybrid.
- **Affordances before chrome.** For each surface, map its selection, commands, copy and paste, drag, undo, restored state and accessibility before choosing its chrome.
- **Commands.** They live in the menu bar with the standard shortcuts, enabled by context, and the main task works without a pointer.
- **Windows.** Choose by ownership: document windows, sheets attached to the document, inspectors and popovers. Restore the arrangement the person set, never an accident.
- **Probes.** Keyboard only; every kind of selection; copy and paste; drag in and out; undo; restoring after a relaunch; resizing; VoiceOver; increased contrast and reduced transparency.