Direct Manipulation
Ben Shneiderman's 1983 name for interfaces where people act on visible objects with immediate, reversible feedback, such as dragging a file or resizing a shape, instead of typing commands that describe the change.
Direct manipulation is an interaction style in which people act on visible representations of objects, by pointing, dragging, and resizing them, and see the result immediately. Ben Shneiderman named it in 1983, pointing to what made the period's most successful software, such as video games, early spreadsheets, and display editors, feel easy to learn. Moving a file by dragging its icon into a folder is direct manipulation; typing mv report.txt archive/ is not.
Shneiderman identified three properties:
- Continuous representation. The objects of interest stay visible on screen, rather than existing only in the user's head.
- Physical actions instead of syntax. Pointing, dragging, and pressing replace typed commands with exact spelling and arguments.
- Rapid, incremental, reversible operations. Each action has an immediately visible effect, and can be undone; see Undo.
The early spreadsheets are a clear example. Before VisiCalc in 1979, changing one number in a financial model meant rerunning a program. In a spreadsheet, the user edits a cell and watches every dependent figure change at once. Word processors that show the page as it will print, called WYSIWYG, did the same for documents.
Why it works: people can see what is possible, see what happened, and correct mistakes quickly, which narrows what Don Norman called the gulfs of execution and evaluation, the distance between what a person wants and what the system shows. Errors are rare because the interface usually shows only valid actions, and cheap because they are reversible. Novices can learn by exploring.
Good direct manipulation depends on details:
- Feedback during the action. Dragged items should follow the pointer smoothly and show where they will land; delays break the illusion.
- Clear targets. Drop zones and handles must be large enough to hit; see Fitts's Law and Touch Target Size.
- Signifiers. Draggable items need a visible cue, such as a grip texture or a cursor change.
- Alternatives. Dragging is hard for people using keyboards, switches, or screen readers, so every drag operation needs a keyboard or menu equivalent; see Keyboard Navigation and Accessibility.
Its limits show with scale and abstraction. Renaming a thousand files or applying a rule to every row is tedious one object at a time, and commands or scripts do it in one step; see Shell. Many tools combine both, with a Command Palette alongside the canvas. Touchscreens pushed direct manipulation further, letting people pinch and swipe content itself rather than a cursor standing in for a hand.
See also3
Optimistic UI
Updating the UI as if a server request has already succeeded, before the server has actually responded.
Web Platform21 connections
Bottom Sheet
A panel that slides up from the bottom of a phone screen to show extra content or choices, often draggable between heights, placed where thumbs can reach it on large phones.
Design & Interface13 connections
Context Menu
A menu of actions for the thing under the pointer, opened by right-click or long press, which saves travel and narrows choices but is invisible until summoned, so it should never be the only route to an action.
Design & Interface12 connections
Linked from9
- Bottom SheetDesign & Interface
A panel that slides up from the bottom of a phone screen to show extra content or choices, often draggable between heights, placed where thumbs can reach it on large phones.
- ClipboardSystems & Tooling
The shared buffer behind cut, copy, and paste, invented at Xerox PARC, which offers data in several formats at once and has become a channel for snooping and for commands that paste differently from how they looked.
- Context MenuDesign & Interface
A menu of actions for the thing under the pointer, opened by right-click or long press, which saves travel and narrows choices but is invisible until summoned, so it should never be the only route to an action.
- Fitts's LawDesign & Interface
The time to hit a target shrinks with its size and grows with distance to it — so make frequent targets big and close.
- Keyboard NavigationDesign & Interface
Making every interactive affordance reachable and operable without a pointer.
- Optimistic UIWeb Platform
Updating the UI as if a server request has already succeeded, before the server has actually responded.
- Pointer EventsWeb Platform
The browser's unified model for input from a mouse, a finger, or a pen, delivering one set of events with details such as pressure and contact size, which replaced separate and incompatible mouse and touch event systems.
- SliderDesign & Interface
A control that sets a value by dragging a handle along a track, borrowed from the faders of audio equipment, ideal for adjusting something approximate with instant feedback and poor for entering an exact number.
- UndoDesign & Interface
Letting people reverse what they just did, which makes interfaces safe to explore and usually beats asking "are you sure?" before every action.