The 2nd Usability Heuristic

Make UI shadows realistic

An interface that follows real-world harmony and natural order allows users to understand and react to interfaces in a logical and obvious way.

Samir T
UX Planet
Published in
2 min readFeb 7, 2022

My first attempt to write on Medium with the same concept as this article had the best stats to date:

As a starting point, let’s examine the physics law of light:

This image shows how the shadow of an object with a point source of light will appear as a solid called an umbra.

Generally, there isn’t a point light source, so we perceive objects using light sources similar to those in the image. Thus, we see a penumbra.

With a change in distance between surface and object, shadows and penumbras will change.

How close an element is to the user determines its importance in user interface design. Therefore, the penumbra can create a visual hierarchy.

Figma’s blur option can be used to create this illusion for UI elements.

By default, X and Y are set to simulate holding a phone or sitting in front of a computer, where the light source is usually above our heads.

We are not done yet. There is one more thing to consider.

We usually have multiple light sources in the real world, which means an object will cast multiple shadows.

For this reason, I recommend using multiple shadows on the UI element. SmoothShadow is an excellent plugin in the Figma community that allows you to create multiple shadows.

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Published in UX Planet

UX Planet is a one-stop resource for everything related to user experience.

No responses yet

Write a response