Member-Only

10 Rules of Thumb in UI Design

A list of reliable rules to follow for designers

8

min read

When in doubt, here’s a list of standard practices to follow in UI design.

None of these are set in stone — simply a list of methods that I believe can help you in your day to day UI design work.

Remember, design is all about thinking outside the box, and sometimes that means breaking the rules — so take this advice with a grain of gourmet Himalayan sea salt.

1. Design for density, not pixels

pixel values are 3 or 4x the dp values

If you’re unfamiliar, density is the number of pixels per one inch of a screen or PPI. The unit “dp” is short for “density-independent pixel,” also sometimes abbreviated as “dip.”

When designing an interface, it’s recommended that we don’t design for pixels, but rather for the pixel density of the device. This ensures that our elements are scaled properly to fit different device sizes.

The reason we do this is so if we design a button asset, for example, at 200 x 50 dp, it’s displayed at 200 x 50 px on a 160ppi screen and 400 x 100 px on a 320 ppi screen, or 2x the size of the original asset.

Since some screens have more pixels per inch than others, the assets aren’t displayed smaller on screens with a high pixel density, they’re merely rendered at 2x, 3x, 4x their original size. This makes sure that all assets maintain their sizing across different devices with varying densities.

Member-Only

This content is member-only

Please purchase a membership or sign in to continue reading.

1,000+ Happy Customers

Yearly

50% OFF

Monthly

Unlimited Access

50% OFF

$4.99

/ month

billed yearly

Unlock in-depth articles, guides, and resources only available to premium members.

Enjoy a clean, ad-free experience without interruptions.

Be the first to read new posts and get special members-only updates and bonuses.

Renews yearly, cancel anytime

Money-Back Guarantee

Already purchased?

Written by

Dylan is an innovative content creator whose passion lies in the intersection of design and storytelling. With an academic background in interior design and literature, Dylan offers a unique perspective that translates into engaging, informative articles. Known for a vibrant, eclectic style and an ability to forecast design trends, they have become a go-to voice in the design community."

More articles by

Content

When profit comes before people

Resources

8

min read

Apr 6, 2020

Member-Only

Everything we did to build our initial user base for $0

Resources

8

min read

Mar 4, 2020

You might also like…

Member-Only

Best practices, tips, and terminology for using typography in UI

Resources

8

min read

Dec 11, 2020

When profit comes before people

Resources

8

min read

Apr 6, 2020

Member-Only

Super quick tips to speed you up when illustrating in Figma

Resources

8

min read

Mar 8, 2022

Member-Only

How to piggyback off Framer’s explosive growth and make money in the progress

Resources

8

min read

Oct 23, 2025

Create a free website with Framer, the website builder loved by startups, designers and agencies.