UI Interactions: Prototype Triggers, Feedback, and Recovery

Design UI interactions around triggers, states, feedback, and recovery. Use one product-option example and a practical review table to make behavior clear before handoff.

Try Mockitt for Free

A useful UI interaction tells people what changed, what they can do next, and how to recover when something fails. Start with the trigger and the state that follows, then prototype feedback, loading, error, undo, and keyboard or touch behavior in Mockitt’s UI design workspace. Decorative motion can wait.

Product-option interaction moves through selection, pending feedback, and a clear availability result.
A product-option interaction is easier to review when selection, pending feedback, and the final result are visible.

This guide uses one product-option example to show the complete interaction, then gives six patterns that are worth checking in a prototype. The goal is a reviewable state map, not a list of animation tricks.

Map the interaction before styling

Write the interaction as a short contract: trigger → immediate feedback → next state → recovery. For a size selector, the trigger is a tap or click, immediate feedback is the selected option, the next state is an availability check, and recovery is a clear message with another choice when the item is unavailable.

StateWhat the user needs to seeReview question
DefaultAvailable options and the current selection.Can a first-time user tell where to start?
PendingThat the request is being checked and input is not lost.Does the interface prevent a duplicate action?
SuccessConfirmed choice and the next useful action.Is the result specific enough to trust?
Error or unavailableReason, recovery action, and preserved input.Can the user correct the problem without restarting?

Create and review the state map

  1. Set the starting state. Choose the first screen and make the selected or unselected control obvious.
  2. Connect the trigger. Link the control to the next screen or component state and name the action in plain language.
  3. Add feedback. Include loading, success, error, and retry paths. If the action is destructive, add confirmation or undo.
  4. Preview on the intended device. Check tap targets, keyboard focus, reduced-motion behavior, and content at a narrow width.
Illustrative mug-option prototype in a Mockitt guide workspace shows Large selected, an availability check, and the available result before adding to a basket.
Keep the full state sequence in the prototype so reviewers can test the action without verbal instructions.

Ask a reviewer to complete the interaction without explaining the intended animation. Note where they pause, tap twice, miss the error message, or lose their input. Those observations are more useful than a transition that merely looks smooth.

Six patterns worth checking

PatternWhat to prototypeCommon failure
Tab or segmented navigationSelected state, content change, keyboard order, and deep-link return.Selection changes visually but the content remains ambiguous.
Pull to refreshGesture threshold, progress, new data, and failure retry.Refreshing removes the user’s place or gives no result.
Product configuratorOption dependency, unavailable choice, price or copy update, and reset.A choice silently changes another field.
Sliding sidebarOpen, close, focus, outside click, and narrow-screen behavior.The panel traps focus or hides the close action.
Coupon or offer bannerEligibility, dismissal, expiry, and return after navigation.The offer interrupts a task without a useful next step.
Animated navigationMotion, reduced-motion fallback, focus order, and a stable destination.Motion delays the task or obscures where the user landed.

Check accessibility and recovery

For every trigger, test a pointer or touch input, keyboard focus, visible focus indicator, readable status message, and a reduced-motion path. Keep the message close to the affected control and preserve entered data when the request fails. A disabled control should explain why it is unavailable or provide another route.

Do not describe an interaction as “delightful” until it is understandable under a slow connection, a small viewport, and an error condition. A short prototype with these states gives product, design, and engineering a shared decision record.

Handoff the decision

  1. Name each state and trigger in the prototype.
  2. Attach the accepted copy, assets, and validation rules to the reviewed state.
  3. Record unresolved behavior, including loading time assumptions and recovery ownership.
  4. Share the starting screen and ask a second person to replay the route before implementation.

Write a review note engineering can use

Once the route is accepted, write the behavior in the same order a person experiences it. Start with the trigger, name the visible response, describe the next state, and finish with recovery. Avoid phrases such as “make it feel smooth” when the team needs a testable requirement.

Behavior noteExample for the product-option flow
TriggerChoose a size with pointer, touch, or keyboard focus.
Immediate responseMark the selected size and keep the other options available.
PendingShow that availability is being checked and prevent duplicate submits.
ResultConfirm availability and expose the next action.
RecoveryExplain that the size is unavailable, preserve the selection, and offer another choice.

Attach the note to the reviewed state and include the viewport, input method, and copy version. A developer can then implement the behavior without guessing which frame or screenshot was authoritative.

Test before you call it done

Use a short replay rather than a checklist that only inspects the canvas. Ask one person to start from the entry screen and complete the task on a narrow viewport. Ask another person to trigger the error or unavailable state. Compare what each person expected with what the prototype communicated.

  1. Replay the normal route without narration.
  2. Repeat it with keyboard focus or touch input.
  3. Trigger a slow or failed response and check that input is preserved.
  4. Confirm the reduced-motion path still communicates the state change.
  5. Record the accepted behavior and the owner of any open question.

Use the interaction design guide when the work expands beyond one component. The best UI interaction is the one that makes the next action clear and leaves the user a way back.