0% found this document useful (0 votes)
128 views4 pages

UI Design Cheat Sheet for Mobile & Desktop

The UI Design Cheat Sheet outlines best practices for typography, colors, buttons, grids, and layouts across desktop, Android, and iOS platforms. It emphasizes the importance of accessibility, readability, and adherence to platform-specific guidelines. Key recommendations include using system fonts, maintaining contrast ratios, and ensuring scalable components for responsive design.

Uploaded by

achilles2006ad
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
128 views4 pages

UI Design Cheat Sheet for Mobile & Desktop

The UI Design Cheat Sheet outlines best practices for typography, colors, buttons, grids, and layouts across desktop, Android, and iOS platforms. It emphasizes the importance of accessibility, readability, and adherence to platform-specific guidelines. Key recommendations include using system fonts, maintaining contrast ratios, and ensuring scalable components for responsive design.

Uploaded by

achilles2006ad
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

📐

UI Design - Cheat Sheet

UI Design Cheat Sheet: Best Practices Across Desktop, Android, and iOS

Typography
Fonts
Desktop: Use system fonts (e.g., Arial, Helvetica, Roboto, Open Sans) for
compatibility and performance.

Android: Default to Roboto for native apps.

iOS: Default to San Francisco (SF Pro Display/Text).

Text Sizes
Use Case Desktop Android iOS

H1 (Large Title) 32-40px 32sp 34pt

H2 (Section Title) 24-32px 24sp 28pt

H3 (Subheading) 18-24px 20sp 22pt

Body Text 14-18px 16sp 17pt

Small Text 12-14px 14sp 15pt

Line Height & Spacing


Use 1.5x line height for readability.

Minimum 8px margin between text blocks.

Understanding Units: px, sp, and pt


px (Pixels): Fixed unit commonly used in web and desktop design.

sp (Scale-independent Pixels): Used in Android; adjusts based on user


font size settings.

UI Design - Cheat Sheet 1


pt (Points): Used in iOS; scales according to screen density to ensure
consistency.

Colors
Contrast & Accessibility
Maintain 4.5:1 contrast ratio for text.

Use WCAG AA or AAA standards for accessibility.

Primary Colors
Use brand colors for primary elements like buttons and links.

Ensure high contrast for readability.

Secondary & Neutral Colors


Secondary: Used for accents and highlights.

Neutral: Grays for backgrounds, borders, and text.

Dark Mode Considerations


Use lighter grays instead of pure white for text.

Background should be #121212 or similar dark gray.

Buttons
Sizes
Type Desktop Android iOS

Primary Button 44-48px height 48dp height 44pt height

Secondary Button 36-44px height 40dp height 38pt height

Icon Button 32-40px 36dp 36pt

Types
Primary: Solid background, high emphasis.

UI Design - Cheat Sheet 2


Secondary: Outlined button, medium emphasis.

Tertiary: Text only, low emphasis.

Floating Action Button (FAB): Used for primary actions in Android.

States
Default: Brand color (Primary) or Neutral (Secondary).

Hover: Slightly darker/lighter than default.

Pressed: 10-20% darker.

Disabled: 50% opacity.

Grids & Layouts


Desktop
12-column grid (Bootstrap standard).

Gutter: 16-24px.

Margins: 16-32px.

Container Width: 1140px (standard).

Android
Uses Material Design Grid (8dp grid system).

Common breakpoints: 360dp, 600dp, 840dp.

Minimum touch target: 48x48dp.

iOS
Uses 4pt grid system.

Common breakpoints: 320pt, 375pt, 414pt.

Minimum touch target: 44x44pt.

Icons & Spacing


Desktop: 16-24px icons.

UI Design - Cheat Sheet 3


Android: 24dp icons (Material Icons recommended).

iOS: 22-28pt icons (SF Symbols preferred).

Final Tips
Keep designs consistent with platform guidelines.

Prioritize accessibility and readability.

Maintain scalable components with responsive design.

Use Auto Layout & Constraints for adaptability.

Follow platform-specific guidelines:

Material Design (Android)

Human Interface Guidelines (iOS)

This cheat sheet provides a solid foundation for designing UI elements across
different platforms. For in-depth specifications, always refer to official
guidelines.

UI Design - Cheat Sheet 4

Common questions

Powered by AI

Button sizes are standardized to ensure a consistent user experience across platforms. Primary buttons have a height of 44-48px on desktop, 48dp on Android, and 44pt on iOS. These sizes ensure that buttons are easily tappable, addressing both usability and accessibility needs. Such standardization accounts for average touch target sizes, improving interaction experiences across diverse devices .

A contrast ratio of 4.5:1 is crucial in UI design to ensure text is easily readable against background colors, which is vital for users with low vision or color blindness. This practice is supported by the Web Content Accessibility Guidelines (WCAG) AA standards, which specify minimum contrast ratios to enhance accessibility and usability for all users, including those with disabilities .

Designing for dark mode involves the use of lighter grays for text instead of using pure white, to reduce glare and improve readability in low-light environments. The background should use a dark gray such as #121212, rather than pure black, to provide depth and reduce eye strain. Careful color contrast should be maintained to ensure all elements are distinguishable and comfortable for users in dark environments .

Prioritizing readability and adhering to platform-specific guidelines are critical for creating user-friendly and consistent applications. Readability ensures that text is legible and accessible to all users, which is a cornerstone of effective communication through digital interfaces. Following platform-specific guidelines helps maintain a native look and feel, enhancing user familiarity and satisfaction, as it aligns with their expectations based on the platform's design ecosystem .

Minimum touch target sizes, such as 44x44pt for iOS and 48x48dp for Android, enhance user interaction by ensuring that interactive elements are large enough to be tapped easily with a finger. This design principle reduces the chance of user error and increases the accuracy of touch inputs, improving the overall user experience on touch-screen devices .

For desktop platforms, system fonts such as Arial, Helvetica, Roboto, and Open Sans are recommended due to their compatibility and performance benefits. On Android, Roboto is the default choice for native apps, while iOS uses San Francisco (SF Pro Display/Text). System fonts are preferred because they are optimized for performance and consistency across devices, reducing the need for developers to include custom font files .

For desktop design, a 12-column grid system following Bootstrap standards is recommended. Android uses the Material Design Grid based on an 8dp grid system, while iOS uses a 4pt grid system. Grid systems are vital as they provide structural consistency, making layouts easier to design and scale across different device sizes. They help create visually appealing and balanced interfaces, ensuring components align correctly and that designs remain robust under varied screen conditions .

Pixels (px) are a fixed unit commonly used for web and desktop designs, providing a consistent size on screens. Scale-independent Pixels (sp) used in Android automatically adjust according to user font size settings, ensuring accessibility and adaptability. Points (pt), used in iOS, are scaled based on screen density, ensuring consistent visual size across different displays. These units enhance cross-platform consistency by ensuring that user interfaces maintain a standardized appearance and usability regardless of the device .

Auto layout and constraints enable UI components to adapt dynamically to different screen sizes, allowing for flexible and responsive designs. They ensure elements maintain proper alignment and spacing when the screen size changes, improving the user's experience on various devices. This approach reduces development time and effort needed for maintaining multiple screen layouts, ultimately enhancing design efficiency and consistency .

Accessibility considerations significantly influence color choices by requiring designers to use colors that provide enough contrast to be legible for all users, including those with visual impairments. Primary colors need high contrast for readability, while secondary and neutral colors should support core functionality without creating distraction. These practices are in line with accessibility standards like WCAG, which guide designers in creating inclusive applications .

You might also like