Back to compare picker

Haptic feedback vs Touch gesture vs Toast notification vs Error state vs Confirmation dialog vs Progress bar

Choose haptic feedback when a physical pulse should reinforce a specific interaction event such as press, drag threshold, detent, snap, selection, boundary, success, warning, or destructive confirmation, while the same information remains visible or audible elsewhere.

Decision dimensions

Dimension Haptic feedbackTouch gestureToast notificationError stateConfirmation dialogProgress bar
UI or UX UI + UX - Tactile feedback vocabulary for physical interaction eventsUI + UX - Touch-first gesture vocabulary and fallback contract for taps, swipes, drags, pinches, and multi-touch interactionsUI + UX - Transient non-modal status messageUI + UX - Recoverable failure surfaceUI + UX - Consequential alert decisionUI + UX - Measurable system-operation progress indicator
UI guidance Render haptic feedback as an optional tactile layer attached to visible interaction states, with labels or settings that explain when vibration, impact, selection, warning, or detent effects happen.Render touch gesture affordances with visible targets, enough spacing, state feedback, and non-gesture controls for the same outcome when a gesture is path-based, multipoint, hidden, or easy to misfire.Render toast notifications in a consistent non-modal region with short status text, clear severity, an optional close control, and at most one concise action.Render a persistent error region near the affected content with a specific failure heading, plain-language cause, preserved context, and recovery actions.Render an alert-style modal decision with a specific title, consequence description, safe cancellation, and a destructive action label that names the object or scope.Show a labeled bar with a track, filled value, and nearby helper text that reports the measurable unit such as percent, bytes, rows, files, records, or stages.
UX guidance Use haptic feedback when touch can reinforce direct manipulation, action commitment, selection movement, boundary crossing, snap points, warnings, or successful completion without becoming the only feedback channel.Use touch gesture when the product needs direct manipulation on a touchscreen, but treat gestures as part of a larger interaction contract rather than the only way to act.Use toast notifications for low-risk, short-lived feedback after an action completes or background work changes state without requiring the user to stop the current task.Help users recover when expected loading, saving, validation, sync, permission, or computation fails without losing their work.Interrupt users only when the action has a meaningful consequence that cannot be safely recovered afterward.Use a progress bar when the system can honestly report movement toward a known finish and users need to decide whether to wait, cancel, retry, continue elsewhere, or return later.
Good UI A slider gives a light detent when crossing whole-number stops, shows the value visually, and suppresses repeated vibration while the thumb rests on the same stop.A photo viewer supports pinch to zoom, double tap to zoom, plus and minus buttons, a reset button, zoom percent feedback, and a clear pan boundary after zoom.Export started appears in the top notification region with a timestamp, close control, and View jobs action that remains available in activity history.Reports could not load appears in the report section with the saved filter, Retry, Use cached data, and Contact support actions.Delete Research archive? explains that 14 notes and shared links will be permanently removed, offers Keep archive, and labels the danger action Delete archive.A document upload card says Uploading evidence.zip, shows 64%, 32 of 50 MB, a Cancel action, and keeps the rest of the form usable.
Bad UI Every button press uses the same heavy vibration regardless of whether the action selected, warned, failed, or succeeded.A map can only be zoomed with a two-finger pinch and has no plus, minus, or reset controls.Five unrelated toasts pile up over the Save and Continue controls.Tiny transient toast for a blocking failure.A popup says Are you sure? with OK and Cancel but does not name the project, notes, or irreversible outcome.A blue bar fills across the top of the page with no label, no percent, and no affected object.
Good UX A user drags a reorder handle and feels one detent at each valid slot while the row preview and insertion marker move visibly.A user pinches a diagram to zoom, sees the scale change, releases outside the threshold without committing a rotate gesture, then uses visible Zoom in and Reset controls with one finger.A completed archive action shows a short toast and a specific Undo action because the prior state can be restored.User input and filter context are preserved after failure, and retry returns to recovered content or a clear still-failed state.Cancel, Escape, and Keep archive leave the archive unchanged and return focus to Delete archive.A user uploads evidence.zip, sees progress move from 12% to 64%, cancels before commit, retries after a network error, and gets a completed receipt only after server processing succeeds.
Bad UX A user cannot tell whether a pulse means success or failure because the same pattern plays for all outcomes.A user with a head pointer cannot trigger a two-finger gesture and has no single-pointer alternative.Every autosave tick triggers a toast, training users to ignore real status changes.Clearing work after save failure.Every archive, filter, and dismiss action opens the same confirmation until users click through automatically.A fake progress bar inches to 99% for minutes with no elapsed time, cancel, retry, or background option.
Best fit A tactile pulse reinforces a direct manipulation, boundary, threshold, selection, successful action, recoverable warning, or physical game/control event.A touchscreen interaction needs deliberate design for gesture vocabulary, thresholds, feedback, target sizing, cancellation, and equivalent controls.Use for short non-blocking confirmation after explicit actions such as save, copy, send, archive, invite, or queue export.A system or task failure blocks expected content or action.The action is destructive, irreversible, costly, security-sensitive, privacy-affecting, or externally visible.A system operation has a measurable total or bounded progress value.
Avoid when The feedback is required for comprehension and no visible or audible equivalent exists.The gesture is only an implementation detail inside a more specific pattern such as swipe action, pull to refresh, long press, drag and drop, bottom sheet, carousel, or map view.The message is the only recovery path for a blocking or high-consequence failure.Nothing exists yet and the state is expected.The action is routine and easily reversible.Progress cannot be measured or would be guessed.
Required state Capability unavailable, unsupported browser, no vibration hardware, or no controller rumble state.Idle state with visible touch targets, gesture hints when needed, and no reliance on hover.Idle state with no visible toast and a reachable status or history region when applicable.Normal expected state before failure.Pre-action state with an explicit consequential trigger.Idle state before the operation starts.
Accessibility burden Never rely on haptics alone for success, failure, warning, validation, progress, or confirmation.Provide a simple single-pointer alternative for multipoint or path-based gestures unless the gesture is essential.Expose the toast as a status or alert message according to urgency so assistive technologies can announce it without requiring focus movement.Use appropriate alert or status semantics for newly appearing critical errors.Use alertdialog semantics or platform equivalent when the decision is urgent and requires a response.Provide an accessible name that identifies the operation and affected object.
Common misuse Using haptics as the only error, warning, or success message.Requiring pinch, rotate, two-finger swipe, or shape gestures with no single-pointer alternative.Using a toast as the only feedback for payment, save, permission, upload, or security failures.Using a transient toast for critical errors.Asking users to confirm every routine action until they stop reading.Fabricating progress values just to make users feel movement.

Haptic feedback

UI or UX
UI + UX - Tactile feedback vocabulary for physical interaction events
UI guidance
Render haptic feedback as an optional tactile layer attached to visible interaction states, with labels or settings that explain when vibration, impact, selection, warning, or detent effects happen.
UX guidance
Use haptic feedback when touch can reinforce direct manipulation, action commitment, selection movement, boundary crossing, snap points, warnings, or successful completion without becoming the only feedback channel.
Good UI
A slider gives a light detent when crossing whole-number stops, shows the value visually, and suppresses repeated vibration while the thumb rests on the same stop.
Bad UI
Every button press uses the same heavy vibration regardless of whether the action selected, warned, failed, or succeeded.
Good UX
A user drags a reorder handle and feels one detent at each valid slot while the row preview and insertion marker move visibly.
Bad UX
A user cannot tell whether a pulse means success or failure because the same pattern plays for all outcomes.
Best fit
A tactile pulse reinforces a direct manipulation, boundary, threshold, selection, successful action, recoverable warning, or physical game/control event.
Avoid when
The feedback is required for comprehension and no visible or audible equivalent exists.
Required state
Capability unavailable, unsupported browser, no vibration hardware, or no controller rumble state.
Accessibility burden
Never rely on haptics alone for success, failure, warning, validation, progress, or confirmation.
Common misuse
Using haptics as the only error, warning, or success message.

Touch gesture

UI or UX
UI + UX - Touch-first gesture vocabulary and fallback contract for taps, swipes, drags, pinches, and multi-touch interactions
UI guidance
Render touch gesture affordances with visible targets, enough spacing, state feedback, and non-gesture controls for the same outcome when a gesture is path-based, multipoint, hidden, or easy to misfire.
UX guidance
Use touch gesture when the product needs direct manipulation on a touchscreen, but treat gestures as part of a larger interaction contract rather than the only way to act.
Good UI
A photo viewer supports pinch to zoom, double tap to zoom, plus and minus buttons, a reset button, zoom percent feedback, and a clear pan boundary after zoom.
Bad UI
A map can only be zoomed with a two-finger pinch and has no plus, minus, or reset controls.
Good UX
A user pinches a diagram to zoom, sees the scale change, releases outside the threshold without committing a rotate gesture, then uses visible Zoom in and Reset controls with one finger.
Bad UX
A user with a head pointer cannot trigger a two-finger gesture and has no single-pointer alternative.
Best fit
A touchscreen interaction needs deliberate design for gesture vocabulary, thresholds, feedback, target sizing, cancellation, and equivalent controls.
Avoid when
The gesture is only an implementation detail inside a more specific pattern such as swipe action, pull to refresh, long press, drag and drop, bottom sheet, carousel, or map view.
Required state
Idle state with visible touch targets, gesture hints when needed, and no reliance on hover.
Accessibility burden
Provide a simple single-pointer alternative for multipoint or path-based gestures unless the gesture is essential.
Common misuse
Requiring pinch, rotate, two-finger swipe, or shape gestures with no single-pointer alternative.

Toast notification

UI or UX
UI + UX - Transient non-modal status message
UI guidance
Render toast notifications in a consistent non-modal region with short status text, clear severity, an optional close control, and at most one concise action.
UX guidance
Use toast notifications for low-risk, short-lived feedback after an action completes or background work changes state without requiring the user to stop the current task.
Good UI
Export started appears in the top notification region with a timestamp, close control, and View jobs action that remains available in activity history.
Bad UI
Five unrelated toasts pile up over the Save and Continue controls.
Good UX
A completed archive action shows a short toast and a specific Undo action because the prior state can be restored.
Bad UX
Every autosave tick triggers a toast, training users to ignore real status changes.
Best fit
Use for short non-blocking confirmation after explicit actions such as save, copy, send, archive, invite, or queue export.
Avoid when
The message is the only recovery path for a blocking or high-consequence failure.
Required state
Idle state with no visible toast and a reachable status or history region when applicable.
Accessibility burden
Expose the toast as a status or alert message according to urgency so assistive technologies can announce it without requiring focus movement.
Common misuse
Using a toast as the only feedback for payment, save, permission, upload, or security failures.

Error state

UI or UX
UI + UX - Recoverable failure surface
UI guidance
Render a persistent error region near the affected content with a specific failure heading, plain-language cause, preserved context, and recovery actions.
UX guidance
Help users recover when expected loading, saving, validation, sync, permission, or computation fails without losing their work.
Good UI
Reports could not load appears in the report section with the saved filter, Retry, Use cached data, and Contact support actions.
Bad UI
Tiny transient toast for a blocking failure.
Good UX
User input and filter context are preserved after failure, and retry returns to recovered content or a clear still-failed state.
Bad UX
Clearing work after save failure.
Best fit
A system or task failure blocks expected content or action.
Avoid when
Nothing exists yet and the state is expected.
Required state
Normal expected state before failure.
Accessibility burden
Use appropriate alert or status semantics for newly appearing critical errors.
Common misuse
Using a transient toast for critical errors.

Confirmation dialog

UI or UX
UI + UX - Consequential alert decision
UI guidance
Render an alert-style modal decision with a specific title, consequence description, safe cancellation, and a destructive action label that names the object or scope.
UX guidance
Interrupt users only when the action has a meaningful consequence that cannot be safely recovered afterward.
Good UI
Delete Research archive? explains that 14 notes and shared links will be permanently removed, offers Keep archive, and labels the danger action Delete archive.
Bad UI
A popup says Are you sure? with OK and Cancel but does not name the project, notes, or irreversible outcome.
Good UX
Cancel, Escape, and Keep archive leave the archive unchanged and return focus to Delete archive.
Bad UX
Every archive, filter, and dismiss action opens the same confirmation until users click through automatically.
Best fit
The action is destructive, irreversible, costly, security-sensitive, privacy-affecting, or externally visible.
Avoid when
The action is routine and easily reversible.
Required state
Pre-action state with an explicit consequential trigger.
Accessibility burden
Use alertdialog semantics or platform equivalent when the decision is urgent and requires a response.
Common misuse
Asking users to confirm every routine action until they stop reading.

Progress bar

UI or UX
UI + UX - Measurable system-operation progress indicator
UI guidance
Show a labeled bar with a track, filled value, and nearby helper text that reports the measurable unit such as percent, bytes, rows, files, records, or stages.
UX guidance
Use a progress bar when the system can honestly report movement toward a known finish and users need to decide whether to wait, cancel, retry, continue elsewhere, or return later.
Good UI
A document upload card says Uploading evidence.zip, shows 64%, 32 of 50 MB, a Cancel action, and keeps the rest of the form usable.
Bad UI
A blue bar fills across the top of the page with no label, no percent, and no affected object.
Good UX
A user uploads evidence.zip, sees progress move from 12% to 64%, cancels before commit, retries after a network error, and gets a completed receipt only after server processing succeeds.
Bad UX
A fake progress bar inches to 99% for minutes with no elapsed time, cancel, retry, or background option.
Best fit
A system operation has a measurable total or bounded progress value.
Avoid when
Progress cannot be measured or would be guessed.
Required state
Idle state before the operation starts.
Accessibility burden
Provide an accessible name that identifies the operation and affected object.
Common misuse
Fabricating progress values just to make users feel movement.
Decision rules
  • Choose haptic feedback when a physical pulse should reinforce a specific interaction event such as press, drag threshold, detent, snap, selection, boundary, success, warning, or destructive confirmation, while the same information remains visible or audible elsewhere.
  • Choose touch gesture when the design problem is recognizing a tap, swipe, long press, pinch, drag, threshold, cancellation, scroll conflict, or equivalent control; haptics may reinforce gesture milestones but does not define the gesture contract.
  • Choose toast notification when users need short visible status copy after an action; haptic feedback can accompany the toast but cannot replace the message, action label, undo, or durable status.
  • Choose error state when a task is blocked, invalid, unavailable, or failed and needs persistent explanation and recovery controls; a warning pulse can draw attention but must not be the only error communication.
  • Choose confirmation dialog when users must review and explicitly decide before a risky or destructive action; haptics can emphasize the final commit, not substitute for consequence copy or explicit choice.
  • Choose progress bar when users need measurable elapsed or remaining work; repeated vibration must not be used as progress feedback for long-running tasks because it is imprecise, fatiguing, and inaccessible.
  • Haptic feedback needs a semantic vocabulary: light tap for selection, detent for snapped position, medium impact for committed action, warning pattern for recoverable risk, and strong or rare effect only for serious events.
  • Respect hardware support, browser support, user settings for haptics or vibration, reduced-motion or accessibility preferences, quiet contexts, battery, and notification mode before playing effects.
  • Never make haptics the sole channel for success, failure, warning, validation, progress, or confirmation; provide visual text, state, or audio alternatives.
  • Avoid repeated, long, surprising, or decorative vibration patterns that feel like alarms, drain battery, mask notification semantics, or trigger discomfort.
Inspect live examples
Failure modes
  • A form error is communicated only by vibration with no visible field message.
  • Every tap vibrates with the same strong pulse until users cannot tell selection, warning, and success apart.
  • A long upload uses repeated vibration instead of progress text and cancellation controls.
  • A destructive delete uses a heavy pulse as confirmation without consequence copy or explicit user choice.
  • The app ignores system haptic settings and vibrates in quiet or reduced-feedback contexts.
  • A custom web vibration pattern is assumed to work on every browser and device.
  • Haptics play after delayed network success, disconnected from the action that caused them.