Design better shadows for UI components

Modern designs are incomplete without a drop shadow effect. Shadow add depth to the layer and bring design to the life.
Advantages of Using a shadow to UI component
– It adds depth to the component.
– It tells our brain that which elements we are looking at.
– As a user it tells us that on which element we have moved our mouse.

Note
Make shadow look natural and asthetic. Do not make it too dark or ugly. it should give a elegant effect to the UI component.

Type of Shadow effect we can use in the design.
1. Elevation
2. Softer Shadow
3. Add Shadow Layer

Elevation levels 1 through 4, showing left shadow treatment

 

Elevation levels 1 through 4, showing bottom shadow treatment

 

Elevation levels 1 through 4, showing right shadow treatment

How and where to use the elevation?

Elevation employs shadows and blurs to create a multi-dimensional effect, signaling to users that an object or experience holds a heightened status or importance within a given context.

When an experience involves two distinct elevation levels, increasing the elevation of the highest-priority item helps clarify and distinguish between surfaces, reducing confusion for users.

To emphasize contrast between design elements, various levels of elevation should be strategically layered. In this scenario, the modal notification takes precedence visually by being elevated above the cards positioned behind it.

 

For some components, elevation is used for hover states, such as an accordion hover.

Neeraj Aneja

I am Neeraj Aneja, a UX, UI, and Product designer based in Bangalore, specializing in UX and UI. I adeptly craft seamless experiences for both B2B and B2C projects. With a focus on innovation and user-centric design, I strive to elevate brands through intuitive interfaces and optimized workflows.

Related Posts

© 2024 NEERAJ ANEJA | UX Researcher / Product Designer in Bangalore | Mob : 9990333926