Ui

15 documents

Always show progress

When the UI is waiting on an async task:

Animation & Motion

Motion should be purposeful — guide attention, show spatial relationships, and provide

windows

Color

Use color with intention — never as the sole means of conveying information.

typescriptwebwindows

Data Display

Choose the right pattern for the content type and user task.

Feedback Patterns

Every user action should have visible feedback. The weight of the feedback should match

Form Design

Forms are where users do real work. Reduce friction at every step.

web

Iconography

Icons supplement text — they do not replace it (except for universally understood symbols

windows

Layout

Design for the content, not a fixed screen size. Layouts should adapt gracefully from

typescriptwebwindows

Platform Design Languages

Defer to these canonical sources before applying the defaults in this file:

kotlinwebwindows

Previews

All UI components MUST include preview declarations for rapid visual verification during development. Previews should...

kotlinswift

Spacing

Use a consistent spatial scale based on a **4px base unit** (8px primary grid). All spacing,

windows

State Design

Every view that loads data or can be empty must handle all four states explicitly. Never

typescriptweb

Touch & Click Targets

Interactive elements MUST be large enough to tap or click accurately. Defer to the platform

ioskotlintypescriptwebwindows

Typography

Use the platform's system font. Establish a type scale with clear roles — don't invent

ioskotlinmacostypescriptwebwindows

Visual Hierarchy

Establish clear importance through size, weight, color, and spacing. Every screen should

windows