User interface

On this page 7

A user interface (UI) is the layer of a system through which people perceive information and issue commands: the screens, controls, text, visual signals, sounds and gestures that connect a human to software or a device. In UI design, the interface is treated as a structured system of components, layout, visual hierarchy and interaction behavior, not merely as the look of a screen.

A good user interface makes the available actions visible, understandable and efficient, and it gives clear feedback after every action. It is a central part of the broader user experience, but it is not the same thing: the interface is the point of contact, while experience covers everything a person feels and achieves before, during and after using a product.

What a user interface consists of

Every user interface combines input, output and logic. Inputs let people express intent through clicks, taps, keystrokes, voice or gestures; outputs present state and results through visual, auditory or haptic signals; and the interaction logic defines what happens when, including states, transitions and error handling.

In practice, designers break an interface into layers that can be specified and built independently. The table below describes these layers and what each one decides.

LayerWhat it decidesExamples
Information structureWhat content exists and where it livesNavigation, screen inventory, labels
Layout and gridSpatial arrangement and groupingColumns, spacing scale, responsive breakpoints
Visual hierarchyWhat the eye notices firstSize, weight, color contrast, position
UI componentsReusable controls and containersButtons, inputs, menus, cards, dialogs
Interaction and statesHow elements respond to peopleHover, focus, pressed, disabled, loading, error
Content and microcopyWhat the interface saysButton labels, hints, error messages
Layers of a user interface

Types of user interfaces

User interfaces differ by interaction modality, and each type sets its own constraints for design. Most modern products combine several types, for example a graphical interface with voice input and haptic feedback.

Interface typeHow people interactStrengthsLimitations
Command-line interfaceTyped text commandsFast, scriptable, preciseSteep learning curve, low discoverability
Graphical user interfacePointing at windows, icons and menusDiscoverable, visual, familiarCan become cluttered and slower for experts
Touch interfaceDirect taps and gestures on a screenIntuitive, mobileFingers are imprecise, hidden gestures
Voice user interfaceSpoken requests and repliesHands-free, accessiblePoor for browsing, privacy concerns
Conversational interfaceNatural-language chatFlexible, handles open questionsUnclear capabilities, harder to verify
Physical interfaceButtons, knobs and dialsTactile, usable without lookingFixed functions, costly to change
Main types of user interface

The graphical user interface (GUI) remains dominant for productivity and consumer software. Its conventions, such as menus, scroll bars and form controls, act as shared vocabulary, so departing from them has a real cost in learnability.

Principles that make an interface usable

Effective interfaces follow a stable set of interaction principles that hold across platforms. Formulations such as Nielsen’s ten usability heuristics and Shneiderman’s eight golden rules express the same core ideas in different words.

  • Visibility of system status: the interface shows what is happening, for example a progress indicator during an upload.
  • Consistency and standards: the same action looks and behaves the same everywhere, and platform conventions are respected.
  • Recognition over recall: options are visible instead of memorized, which reduces cognitive load.
  • Error prevention and recovery: risky actions require confirmation, and undo is available where possible.
  • Clear affordances and signifiers: controls look like what they do, so a button looks pressable.
  • Accessibility by default: keyboard operation, sufficient contrast and screen-reader labels, as defined in WCAG 2.2.

Responsiveness is part of usability as well. Feedback within about 100 milliseconds feels instantaneous, delays up to about 1 second keep the flow of thought, and longer waits need explicit progress indication.

The user interface is often confused with neighboring terms in UI design. The distinctions matter because they define who is responsible for what and which artifacts a team produces at each stage.

ConceptFocusRelation to the user interface
User experienceThe whole experience of using a productThe interface is one major contributor
Design systemShared components, tokens and rulesSupplies the building blocks for interfaces
WireframeLow-fidelity structure of a screenAn early plan of the interface layout
MockupStatic high-fidelity visualShows the interface appearance without behavior
PrototypeInteractive simulationTests interface behavior before development
Front-end codeImplementation in HTML, CSS and JavaScriptTurns the interface design into working software
User interface and neighboring concepts

A well-designed interface can still deliver a poor experience if the underlying service is slow, the pricing is confusing or support fails. Conversely, a sound product concept can be undermined by an interface that hides key actions or communicates errors badly.

Common interface design mistakes

Most interface failures come from prioritizing appearance over clarity or from designing only the ideal path. The table below lists frequent symptoms, their typical causes and corrective actions.

SymptomTypical causeFix
Users miss the main actionWeak visual hierarchy, competing buttonsOne clear primary action per view
Icons are misunderstoodUnlabeled or ambiguous iconsAdd text labels to critical icons
Forms are abandonedToo many fields, late validationRemove fields and validate inline
Keyboard users get stuckMissing focus states, custom controlsUse native elements and visible focus
Layouts break on phonesFixed widths, desktop-first assumptionsFluid grids and tested breakpoints
Empty screens confuse usersNo designed empty or error statesDesign every state with guidance
Interface problems, causes and fixes

A reliable safeguard is to design all states of each component from the start, including loading, empty, error, disabled and overflow, and to verify the interface with real users rather than relying on internal review.

The short version

A user interface is everything you see and touch when you use an app, a website or a device: the buttons, menus, text, icons and sounds. It is how you tell the machine what you want and how the machine answers you.

A good interface works like a well-designed car dashboard. You find what you need without searching, you understand what each control does, and you always know what is happening. When an interface is good, you hardly notice it; when it is bad, you notice it constantly.

Where it makes a difference

A city transit agency runs ticket machines whose interface lists fourteen fare types on the first screen. Tourists and occasional riders often buy the wrong ticket, queues form at busy stations, and staff spend much of their shift answering questions at the machines.

The design team restructures the interface around one question per screen: destination zone first, then number of travelers, then payment. Fare types are calculated automatically, buttons are enlarged to at least 15 mm for gloved fingers, high-contrast colors are used for outdoor glare, and an audio mode supports visually impaired riders.

After testing prototypes with riders at two stations, the agency rolls out the new interface. Average purchase time falls from around 90 seconds to about 40 seconds, wrong-ticket complaints decrease, and the same machines serve more passengers during rush hour without any hardware change.