L
LLLOS.ai
Career
L
◆ AI Learning · Situational

What are the key design rules for building a user interface?

A user interface must be consistent. It must follow specific rules for how things look and act. These rules make the interface easy to understand and use.

By Pawan Nayar · from the LLOS AI Learning record

The rule

A user interface must be consistent.

It must follow specific rules for how things look and act. These rules make the interface easy to understand and use.

Do not use standard browser pop-up boxes like `confirm()`, `alert()`, or `prompt()`. Instead, use custom modal windows that match the application's design.

Buttons should only be as wide as their text. They must not stretch across the whole screen. This keeps buttons looking neat and proportional.

Do not use emoji as the main pictures for icons. Use custom-drawn SVG images inside colored circles. Emoji are only for small labels like tooltips or topic tags.

Headings must be a specific size. Hero headings, panel headings, and modal titles have set size limits. This prevents text from looking too big or out of place.

Avoid using cool colors like light greys, blues, or purples for the main parts of a page. These colors are only allowed for specific accent elements.

Design the interface for mobile phones first. All layouts must look good and fit on small screens without scrolling sideways. This ensures a good experience for all users.

Respect user settings for reduced motion. Any animation in the interface must have an option to turn it off. This helps users who prefer less movement on screen.

A developer is building a new feature. The developer wants to use a standard `alert()` box to show a message. The design rules state that custom modal windows must be used instead. The developer creates a custom modal to match the application's style.

Words you'll need

Resolved from this lesson's own record — real definitions, not invented for this page.

Human-Computer Interaction

How people and computers communicate and work together

Information Architecture

How information is organized and labeled so people find it

Design Patterns

Reusable solutions to common problems in design

System Design

The blueprint for how an AI system works end to end

Questions people ask

More from the same record, pulled by shared topic — not written new for this page.

What are the rules for building an AI learning experience?

A developer must follow specific rules for layout. The entire screen should be visible without scrolling.

How should an AI model design user interface elements like text, spacing, and colors?

An AI model must use plain language and avoid jargon. The AI model must prioritize user privacy and intellectual property.

What are important rules for designing user interfaces?

A user will leave a page if it looks empty. Every screen should be 70-90% full of content.

How should a developer respond when a user asks to remove a scrollbar?

A user asking for "no scrollbar" means all content should be visible. The layout must fit everything in the given height.

What to remember

A user interface must be consistent. It must follow specific rules for how things look and act. These rules make the interface easy to understand and use.