Prototype

On this page 7

A prototype is an interactive simulation of a user interface that lets people click, tap or type through screens as if the product already existed. In UI design, a prototype is built to test flows, interactions and assumptions with real users and stakeholders before engineering time is committed to production code.

What separates a prototype from a wireframe or mockup is behavior. A wireframe shows structure and a mockup shows appearance, but a prototype shows what happens when someone acts: which screen follows a tap, how a menu opens, what an error looks like.

How a UI prototype works

A prototype connects static screens with interaction rules. In most design tools, a designer links a hotspot or component to a destination and defines the trigger, such as a tap, hover or drag, and the transition, such as a slide or fade. More advanced prototypes add variables, conditions and component states, so a toggle remembers its value or a form shows validation messages.

Every prototype is a deliberate simulation with a narrow scope. It contains only the paths needed to answer specific questions, and the rest of the product is faked or missing. This is its main economic advantage: changing a prototype takes minutes or hours, while changing shipped code takes days and often affects other features.

Prototypes are built for a purpose, typically one of three: exploring ideas within the design team, testing usability with representative users, or communicating intent to developers and decision makers. The purpose determines how polished and complete the prototype needs to be.

Prototype fidelity levels

Fidelity describes how closely a prototype resembles the final product in visual detail, interactivity and content. Higher fidelity is not automatically better: it costs more and can steer feedback toward colors and wording when the real question is about structure.

FidelityTypical formEffortBest for answering
Low fidelityPaper sketches or linked wireframesMinutes to hoursIs the overall flow and structure right
Medium fidelityClickable grayscale screens with real labelsHours to a few daysCan users find and complete key tasks
High fidelityFinal visuals, real content, animationsDays to weeksDoes the detailed interaction feel right
Coded prototypeWorking front-end code with fake dataDays to weeksPerformance, complex input, real devices
Prototype fidelity levels

A useful rule is to match fidelity to the question being asked. Early concepts benefit from rough prototypes because participants feel free to criticize them, while microinteractions such as swipe gestures or loading states can only be judged in high fidelity.

Prototype compared with wireframe and mockup

The three artifacts are often confused because they can be made in the same tool and may even share the same screens. They differ in what question they answer and in what feedback they invite.

ArtifactShowsInteractiveMain purpose
WireframeLayout, content priority, structureNo, or minimallyAgree on what goes where
MockupFinal look: color, type, imageryNoAgree on visual design
PrototypeFlow and behavior across screensYesTest and demonstrate interaction
Production UIThe real productFullyServe actual users
Prototype and neighboring UI design artifacts

A design system makes prototyping faster because reusable UI components already contain their states and variants. A prototype assembled from system components is also closer to what developers will build, which reduces surprises during implementation. For developers, the prototype serves as a behavioral specification: it shows transitions, timing and state changes that static handoff files cannot express.

Choosing the right kind of prototype

The best prototype is the cheapest one that can answer the current question with confidence. The decision table below lists common situations in UI design and the approach that fits them.

SituationRecommended prototypeReason
Comparing several navigation conceptsLow-fidelity clickable wireframesFast to build several variants
Usability test of a checkout flowMedium or high fidelity with realistic dataUsers must believe the scenario
Stakeholder approval of a featureHigh-fidelity happy pathCommunicates the intended experience clearly
Gesture-heavy mobile interactionHigh fidelity on a real deviceTouch feel cannot be judged on a desktop
Data-heavy table or searchCoded prototypeDesign tools handle real data poorly
Selecting a prototyping approach

Prototypes used in usability testing need a clear task script. Participants receive realistic goals, such as finding a specific order or changing a delivery address, rather than instructions that name the buttons to press. Five to eight participants per round usually reveal the most serious usability problems in a flow, and several small rounds with revisions in between teach more than one large round.

Teams should also decide in advance what will happen to the prototype. Most prototypes are throwaway artifacts. Treating a hastily built coded prototype as the start of production often brings hidden technical debt into the product.

Limitations and common mistakes

A prototype can create false confidence when it hides the hard parts of a design. Real products deal with slow networks, long names, empty states and errors, which polished prototypes often omit.

  • Testing only the happy path: include at least one error, empty state or edge case in each tested flow.
  • Over-polishing too early: high fidelity invites comments on color while structural problems go unnoticed.
  • Unrealistic content: placeholder text and perfect photos hide layout problems that real content reveals.
  • Dead ends: unlinked areas confuse test participants; tell them which parts work or link every visible control.
  • Mistaking approval for validation: a stakeholder liking a prototype is not evidence that users can complete the task.

Stripped to the essentials

A prototype is a practice version of an app or website. It looks and behaves enough like the real thing that people can click through it. Behind the screens, nothing actually works yet.

Think of it as a dress rehearsal before opening night. Problems found during the rehearsal are cheap to fix. The same problems found after launch cost far more time and money.

Where it is applied

A health insurance company plans a new mobile flow for submitting medical receipts. Before any development starts, the UI design team builds a medium-fidelity prototype with six screens: photograph the receipt, confirm the amount, choose the family member, add a note, review and submit.

The team runs moderated usability tests with six policyholders of different ages. Four of them miss the option to choose a family member because it sits below the fold on the confirmation screen, and two do not understand the word used for the claim category.

The designers move the family member selection to the first step and rename the category label, then retest with five new participants, all of whom complete the task. The problems are fixed in two days of design work, instead of being discovered after release, when the same change would require new development, testing and an app store update.