Unit3 UI Design Notes
Unit3 UI Design Notes
DEFINITION
A User Interface (UI) is the space where interactions between humans and machines occur. It
includes all visual, auditory, and tactile elements that a user interacts with to operate a system.
The UI acts as the translator between human intent and machine action.
■ EXAMPLE
Real-world examples: Microsoft Windows desktop, macOS Finder, Android home screen, GNOME
on Linux. When you drag a file to the trash or click a button to save — that is GUI interaction.
Characteristics of a GUI
• WIMP paradigm: Windows (rectangular panels), Icons (symbolic representations), Menus (lists of
commands), Pointer (cursor for navigation)
• Metaphor-based: Uses real-world metaphors (desktop, folders, trash can) to ease learning
Examples: Gmail, Google Docs, Trello, Amazon. All of these are fully functional applications living
inside a browser tab.
Interaction Styles
Five fundamental paradigms through which humans command and communicate with
computer systems
Interaction styles define how a user communicates intent to the system. Each style has evolved in
response to limitations of the previous one, representing progressive improvements in usability.
■ EXAMPLE
Example: ls -la /home/user/documents (lists all files with details in that directory).
Used in: Unix/Linux system administration, Git version control (git commit -m 'message'), database
management with SQL, DevOps pipelines, Docker container management.
Advantages Disadvantages
Extremely powerful for experts. Supports Steep learning curve. Commands must be memorized.
scripting/automation. Low system overhead. Precise No visual feedback. Hard to discover features.
control.
2. Menu Selection
The system presents a list of options (menu) and the user selects from them. This eliminates the
need to memorize commands — the user simply recognizes and selects an appropriate option.
★ KEY POINT
Menu selection follows the principle of recognition over recall — users don't need to remember
commands, they only need to recognize the correct option from a visible list. This is far easier
cognitively.
3. Form Fill-in
The interface presents a structured form with labeled fields, and users fill in the required data. This
style is ideal for data entry tasks where the system needs specific, structured information.
■ EXAMPLE
Examples: Bank account opening forms, government e-services (passport application), hospital
patient admission, university examination forms, e-commerce checkout pages.
• Use appropriate input types (date picker for dates, dropdown for fixed options)
4. Direct Manipulation
Users interact directly with visual representations of objects using physical actions. First described
by Ben Shneiderman (1983), it is the dominant paradigm for modern GUIs, touchscreens, and
gaming interfaces.
DEFINITION
■ EXAMPLE
Examples: Dragging files between folders. Pinch-to-zoom on a map. Rotating an image with two
fingers. Resizing a window by dragging its corner. Dragging a file icon to the trash can to delete it.
■ IMPORTANT
Direct manipulation can be slow for expert users who perform repetitive operations. A power user
may prefer typing a command to clicking through menus. Hybrid interfaces (keyboard shortcuts +
GUI) solve this by catering to both novice and expert users.
5. Anthropomorphic Interface
These interfaces give the computer human-like characteristics — speech, conversational
language, and personality — to make interaction feel more natural and social. Dramatically
amplified by AI assistants.
■ EXAMPLE
Examples: Apple Siri, Amazon Alexa, Google Assistant, ChatGPT, virtual customer service agents,
animated help wizards (like Clippy in early Microsoft Word), voice-controlled smart TVs.
■ IMPORTANT
Design trap: Anthropomorphic interfaces can create false expectations. If a chatbot seems too
human-like, users may be surprised when it fails to understand nuanced requests. Always set
appropriate expectations about what the system can and cannot do.
Direct Manip. Low (intuitive) Very gentle Moderate Creative tools, touch
apps
Principles of UI Design
Foundational design laws that separate good interfaces from frustrating ones
Good UI design is not accidental — it follows well-established principles derived from cognitive
psychology, usability research, and decades of empirical testing. These principles act as design
guardrails.
1. Consistency 2. Visibility
Similar actions produce similar results. Same colors, Important functions must be visible. Hidden features
layouts, and terminology throughout the system. cause confusion — if not visible, users won't find it.
3. Feedback 4. Simplicity
System should always inform users about what is Reduce cognitive load. Remove unnecessary
happening — loading spinners, confirmation elements. Perfection is achieved when nothing else
messages, error alerts. can be removed.
5. Affordance 6. Flexibility
Elements should visually suggest how they are used. Support both novice and expert users. Keyboard
A button should look pressable, a link clickable. shortcuts for power users, clear menus for beginners.
7. Accessibility
5. Prevent errors
Design the system so users cannot make serious errors. Disable unavailable options, confirm
irreversible actions, validate input in real time. Example: Graying out 'Undo' when there's nothing to
undo. Confirmation dialog before permanently deleting a file.
# Heuristic Description
1 Visibility of system status Always keep users informed about what is happening, through
timely feedback.
2 Match real world Use words and concepts familiar to users. Follow real-world
conventions.
3 User control & freedom Support undo and redo. Clear 'emergency exits' from unwanted
states.
4 Consistency & standards Follow platform conventions. Same words should mean the
same thing throughout.
# Heuristic Description
5 Error prevention Better than good error messages: prevent the problem from
occurring first.
6 Recognition over recall Minimize user memory load. Objects, actions, and options
should be visible.
7 Flexibility & efficiency Shortcuts for experts (invisible to novices). Allow frequent
actions to be tailored.
8 Aesthetic & minimalist design Avoid irrelevant information. Every extra unit competes with
relevant info.
9 Help users with errors Error messages in plain language, precise indication,
constructive suggestions.
10 Help & documentation Even if system doesn't need docs, help should be easy to
search and task-focused.
Section 3.4
1
9
8
3
– Apple Lisa & Macintosh
8 Apple commercialized the GUI after Steve Jobs visited Xerox PARC. The Mac's GUI brought icons,
4 menus, and the mouse to mainstream consumers. Changed personal computing forever.
1
9
8 Microsoft Windows
5 Windows brought GUI to the IBM PC ecosystem. Evolved from tiling windows (3.0) to overlapping (95)
+ to flat design (8+) to modern Fluent Design. Dominates the enterprise market today.
2
Mobile GUI — iOS & Android
0
Touch replaced the mouse as primary input. New interaction vocabulary: tap, swipe, pinch, long-press.
0
7 Smaller screens required completely redesigned GUI paradigms — navigation drawers, tab bars,
+ floating action buttons.
Rectangular containers that hold Small graphical representations of Organized lists of commands by
application content. Can be files, folders, apps, and actions. category. Pull-down, cascading,
resized, moved, minimized, Should be universally context, and pie menus are
maximized, closed. Support recognizable. common types.
overlapping (Z-order).
Pointer / Cursor Buttons & Controls Toolbars & Status Bars
Master-Detail List on left, detail view on right. Selecting list Email client (inbox + email
item updates detail panel. content)
Dashboard High-level overview of multiple data sources Google Analytics, hospital nurse
and KPIs on one screen. station
Wizard Multi-step process broken into sequential Windows installation, tax software
screens with Back/Next navigation.
Modal Dialog Overlay that demands attention before Confirmation dialogs, login
returning to main interface. prompts
Infinite Scroll Load more content as user approaches page Twitter/X feed, Instagram, TikTok
bottom, no pagination.
Section 3.5
UI Design Process
A structured, iterative methodology from problem discovery to polished product
UI design is an iterative process involving research, ideation, prototyping, testing, and refinement.
It typically follows the Design Thinking or User-Centered Design (UCD) framework.
Wireframing
Create low-fidelity skeletal blueprints of the interface. Focus purely on structure, layout, and
3 information hierarchy — no colors, fonts, or visual details. Tools: pen/paper, Balsamiq, Figma
(wireframe mode).
Prototyping
Create an interactive, clickable version of the design that simulates the final product behavior. Low-fi
5 prototypes (paper) explore concepts quickly; high-fi prototypes (Figma, web) simulate the real product.
Used for user testing before code.
Usability Testing
Test the prototype with real users. Observe where they struggle, get confused, or make errors.
6 Methods: moderated sessions, think-aloud protocol, A/B testing, eye tracking, heuristic evaluation.
Nielsen's Rule: 5 users reveal ~85% of usability problems.
Effective UI design demands understanding the human beings who will use the interface — their
perceptual limits, cognitive processes, mental models, and emotional responses. Ignoring these
leads to interfaces that are technically functional but humanly frustrating.
Proximity Elements placed close together are Group related form fields together
perceived as a group.
Similarity Elements that look alike are perceived Same color = same category
as a group. (navigation items)
Closure We mentally 'close' incomplete shapes. Progress rings, logo designs, icon
outlines
Continuity The eye follows lines and curves. Charts, arrows guiding attention
through UI flow
Cognitive Laws
Miller's Law
DEFINITION
George Miller (1956) demonstrated that human short-term memory can hold approximately 7 ±
2 chunks of information simultaneously. A 'chunk' is a meaningful unit — a digit, a word, or a
concept. Designers use this to limit choices and group information.
■ EXAMPLE
Hick's Law
DEFINITION
Hick's Law: The time it takes to make a decision increases logarithmically with the number of
choices available. T = b × log2(n + 1), where n = number of choices. More choices = slower
decisions = more frustration.
■ EXAMPLE
Application: Amazon's checkout uses a single primary call-to-action 'Buy Now' rather than
presenting 10 purchase options simultaneously. Remote controls with fewer buttons are easier to
use.
Fitts's Law
DEFINITION
Fitts's Law: The time to acquire a target (click/tap) is a function of the distance to and size of
the target. T = a + b × log2(D/W + 1). Bigger targets that are closer = faster and more
accurate interaction.
■ EXAMPLE
Application: The macOS dock is at screen edge — instantly accessible. The Windows Start button
is in the corner (both X and Y approach zero). Primary action buttons should be large. Destructive
buttons (Delete) should be small and distant from common actions.
Mental Models
A mental model is a user's internal representation of how a system works. Good UI design aligns
the system's actual model with users' mental models, or gradually teaches the correct model
through consistent metaphors and feedback.
■ EXAMPLE
Example: Users expect a 'folder' to behave like a physical folder — you put things inside, and they
are contained there. When cloud storage shows the same file in multiple 'folders' (tags), it violates
this mental model and confuses users.
Sufficient color contrast (4.5:1 for text). Don't use color All functions keyboard-accessible. Large touch targets
as only indicator. Support screen readers with (min 44x44px). Avoid hover-only interactions.
semantic HTML and ARIA labels.
Captions for all video/audio content. Don't use sound Plain language, clear instructions, consistent
as the only feedback mechanism. Transcripts for navigation. Avoid cognitive overload. Support reading
audio. aids.
Section 3.7
Technological Considerations in
Interface Design
How hardware, software, and emerging technologies shape and constrain interface
possibilities
The technology platform fundamentally shapes what is possible in UI design. A designer must
understand the capabilities and constraints of the target technology to create interfaces that are
both aspirational and achievable.
Precise pointing device. Enables hover states, Direct finger/stylus input. No hover state. Min 44x44px
right-click menus, drag-and-drop. Hover = zero-cost targets. Multi-touch gestures (pinch, rotate,
preview (unavailable on touch). three-finger swipe).
Natural language commands. No visual interaction Eye tracking for accessibility and AR/VR. Motion
required — accessible eyes-free. Growing with AI sensors for tilt-based interaction. Emerging
assistants. paradigms.
★ KEY POINT
Critical design implication: Hover states are only available on mouse-driven interfaces. Any
information or control that appears only on hover will be completely inaccessible to touch users. All
critical functionality must work without hover.
iOS (Apple) Apple HIG Clean, minimal, depth/layers Tab bar at bottom, push
navigation
Platform Guidelines Design Language Navigation Pattern
Android Material Design 3 Surfaces, color roles, motion Bottom nav, navigation
(Google) drawer
Windows (MS) Fluent Design Depth, motion, light, material Navigation view (left
sidebar)
macOS (Apple) macOS HIG Glass, depth, SF Symbols Sidebar, toolbar menus
■ EXAMPLE
Why guidelines matter: When an iOS app uses Android-style navigation, iOS users feel
disoriented because it violates their mental model. Cross-platform consistency within an app is
good; violating platform conventions creates a 'foreign' feeling that erodes trust.
Performance Considerations
• Frame rate: UI animations should target 60fps (16.67ms per frame). Below 30fps feels 'janky'. CSS
transitions on GPU-composited properties (transform, opacity) are faster than animating layout
properties.
• Loading time: First Contentful Paint should occur within 1.8 seconds. Skeleton screens maintain
perceived performance even when actual load is slow.
• Perceived performance: Optimistic UI updates and instant visual feedback dramatically improve
perceived responsiveness even without actual speed improvements.
• Network: Design for unreliable connections — offline states, error states, slow connection feedback. In
contexts like Nepal, significant user base may be on 2G/3G.
3D spatial UI design. No traditional screen. Interaction Interfaces that adapt to individual user behavior —
via gaze, gesture, or controller. Comfort, motion personalizing layout, shortcuts, and content. Raises
sickness, and depth perception are critical design privacy and transparency concerns.
constraints.
Wearables Voice-First / No UI
Extreme space constraints (320x390px). Glanceable Pure voice interfaces have no visual component. All
information. Interaction via swipes and voice. Haptic information conveyed through audio. Requires linear,
feedback replaces visual cues. not spatial, information architecture.
Quick Revision — Key Terms &
Authors
Essential facts and definitions for examination preparation.
GUI Visual interface using WIMP elements (Windows, Xerox PARC, 1973
Icons, Menus, Pointer)
Direct Manipulation Users interact with visible representations using Ben Shneiderman, 1983
physical gestures
Miller's Law Short-term memory holds 7±2 chunks; design George Miller, 1956
must not exceed this
Hick's Law Decision time increases logarithmically with William Hick, 1952
number of choices
Fitts's Law Target acquisition time depends on target size Paul Fitts, 1954
and distance
Affordance Design property that suggests its own use to the James Gibson / Don
user Norman
Mental Model User's internal understanding of how a system Kenneth Craik, 1943
works
■ IMPORTANT
Examination tips: Know the full names of Shneiderman's 8 Golden Rules with examples. Know the
difference between GUI and Web UI. Be able to compare all 5 interaction styles with pros, cons,
and examples. Understand how Miller's, Hick's, and Fitts's Laws apply to real UI scenarios. Know
Gestalt principles and how they are applied in layout and visual design.