{"id":1180,"date":"2021-03-13T20:25:00","date_gmt":"2021-03-13T20:25:00","guid":{"rendered":"http:\/\/www.wendyzhou.se\/blog\/?p=1180"},"modified":"2025-10-14T17:27:33","modified_gmt":"2025-10-14T17:27:33","slug":"ui-design-create-soft-shadows-3-guidelines","status":"publish","type":"post","link":"https:\/\/www.wendyzhou.se\/blog\/ui-design-create-soft-shadows-3-guidelines\/","title":{"rendered":"How to create soft UI shadow &#8211; Learn UI Design"},"content":{"rendered":"\n<p>A distinct trend of modern UI design trend is the soft UI shadow that aims to look as natural as possible. Do you want to learn how to create it yourself? Then just follow the steps in this guide. These are more step-by-step guidelines to follow and go through each time you create a shadow to achieve this effect.<\/p>\n\n\n\n<p>Recommended: <a href=\"https:\/\/www.wendyzhou.se\/blog\/how-to-create-a-figma-breadcrumb-component-stepper\/\">How to Create a Figma Breadcrumb Component (Stepper)<\/a><\/p>\n\n\n\n<p>In the image below, I&#8217;ve created 3 different versions of UI shadows. The first one (to the left) is the type of modern soft UI shadow that can be seen on designs today. The one in the middle is the type of UI shadow that you really should try to avoid (looks outdated!). It&#8217;s better to not have a shadow at all than to have a really bad one.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"513\" src=\"https:\/\/www.wendyzhou.se\/blog\/wp-content\/uploads\/2020\/12\/UI-Design-Soft-Shadow-1024x513.png\" alt=\"UI Design Soft Shadow\" class=\"wp-image-3593\" srcset=\"https:\/\/www.wendyzhou.se\/blog\/wp-content\/uploads\/2020\/12\/UI-Design-Soft-Shadow-1024x513.png 1024w, https:\/\/www.wendyzhou.se\/blog\/wp-content\/uploads\/2020\/12\/UI-Design-Soft-Shadow-300x150.png 300w, https:\/\/www.wendyzhou.se\/blog\/wp-content\/uploads\/2020\/12\/UI-Design-Soft-Shadow-768x385.png 768w, https:\/\/www.wendyzhou.se\/blog\/wp-content\/uploads\/2020\/12\/UI-Design-Soft-Shadow.png 1376w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">1. UI Shadow color<\/h2>\n\n\n\n<p>So, the first thing that is important, is the color of the shadow. A common mistake is to make an entirely black shadow. You shouldn&#8217;t do that. A modern UI shadow tries to simulate real-world shadows. This means that&#8230;<\/p>\n\n\n\n<p>The shadow color should be similar to either:<br>1. The background-color (eg. blue shadow on blue background)<br>2. Or the element&#8217;s color (eg. red shadow behind a red object)<\/p>\n\n\n\n<p>I&#8217;ve demonstrated the differences in the image below. On the top-ones you can see a shadow color that is adjusted to either the background color, or the shadow elements color.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1376\" height=\"690\" src=\"https:\/\/i1.wp.com\/www.wendyzhou.se\/blog\/wp-content\/uploads\/2019\/07\/Blueshadow.png?fit=1024%2C513&amp;ssl=1\" alt=\"\" class=\"wp-image-1184\" srcset=\"https:\/\/www.wendyzhou.se\/blog\/wp-content\/uploads\/2019\/07\/Blueshadow.png 1376w, https:\/\/www.wendyzhou.se\/blog\/wp-content\/uploads\/2019\/07\/Blueshadow-300x150.png 300w, https:\/\/www.wendyzhou.se\/blog\/wp-content\/uploads\/2019\/07\/Blueshadow-768x385.png 768w, https:\/\/www.wendyzhou.se\/blog\/wp-content\/uploads\/2019\/07\/Blueshadow-1024x513.png 1024w\" sizes=\"auto, (max-width: 1376px) 100vw, 1376px\" \/><figcaption class=\"wp-element-caption\">Example of similar colored shadow tint vs black shadow tint<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">2. Layer multiple shadows<\/h2>\n\n\n\n<p>A simple rule to create a soft UI shadow is to use at least two different shadows layered on top of each other. This makes the shadows look more natural.<\/p>\n\n\n\n<p>Below are my two saved templates with a CSS code example. X stands for the how far the shadow extends to the right, Y stands for how far the shadow extends downwards and blur stands for how much blur the shadows should have.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>X = 0, Y = 5-10, Blur = 10px<\/li>\n\n\n\n<li>X = 0, Y = 10(+), Blur = 40-50px<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>box-shadow: 0 5px 10px rgba(154,160,185,.025), 0 15px 40px rgba(166,173,201,.2);<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">3. Lower the color opacity<\/h2>\n\n\n\n<p>This last guideline is about lowering the color opacity on the shadow to around 20-30.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1376\" height=\"690\" src=\"https:\/\/i0.wp.com\/www.wendyzhou.se\/blog\/wp-content\/uploads\/2019\/07\/Opacity.png?fit=1024%2C513&amp;ssl=1\" alt=\"\" class=\"wp-image-1186\" srcset=\"https:\/\/www.wendyzhou.se\/blog\/wp-content\/uploads\/2019\/07\/Opacity.png 1376w, https:\/\/www.wendyzhou.se\/blog\/wp-content\/uploads\/2019\/07\/Opacity-300x150.png 300w, https:\/\/www.wendyzhou.se\/blog\/wp-content\/uploads\/2019\/07\/Opacity-768x385.png 768w, https:\/\/www.wendyzhou.se\/blog\/wp-content\/uploads\/2019\/07\/Opacity-1024x513.png 1024w\" sizes=\"auto, (max-width: 1376px) 100vw, 1376px\" \/><figcaption class=\"wp-element-caption\">Example of low opacity vs high opacity. The rest of the settings are identical.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><\/h2>\n\n\n\n<h2 class=\"wp-block-heading\">Buy books to learn UI Design<\/h2>\n\n\n\n<p>If you want to learn more about UI design, I recommend the following books. <\/p>\n\n\n\n<p><em>Note! These are affiliate links, but my personal recommendations<\/em>.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong><a href=\"https:\/\/amzn.to\/2JrMXrW\">Designing Interfaces: Patterns for Effective Interaction Design<\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"https:\/\/amzn.to\/3oepRnp\">UX\/UI Design: Introduction Guide to Intuitive Design and User-Friendly Experience<\/a><\/strong><\/li>\n\n\n\n<li><a href=\"https:\/\/amzn.to\/3mxBbuu\"><strong>Practical UI Patterns for Design Systems<\/strong><\/a><\/li>\n\n\n\n<li><strong><a href=\"https:\/\/amzn.to\/2VpefBJ\">(Resource) Mobile UX\/UI Design Notebook: Mobile Wireframe Sketchpad<\/a><\/strong><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Other UI design articles<\/h2>\n\n\n\n<p>I&#8217;m listing a few other UI tutorials and articles down below if you&#8217;re interested in more.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.wendyzhou.se\/blog\/2019\/01\/06\/learn-ui-design-for-beginners-how-to-place-your-ui-design-in-a-mockup-with-photoshop-tutorial\/\">[Tutorial] How to place your UI design in a mockup with photoshop <\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.wendyzhou.se\/blog\/2019\/07\/17\/ux-ui-project-guidelines\/\">[Guidelines] UX &amp; UI Project Guidelines and steps<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.wendyzhou.se\/blog\/2020\/11\/18\/weekly-design-inspiration-x2-_-carl-hauser\/\" data-type=\"post\" data-id=\"2463\">Weekly Design Inspiration X2 _ Carl Hauser<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>How to create modern UI soft shadows.<\/p>\n","protected":false},"author":1,"featured_media":3865,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[166,6],"tags":[],"class_list":["post-1180","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-ux-and-ui-design","entry","has-media"],"gutentor_comment":2,"uagb_featured_image_src":{"full":["https:\/\/www.wendyzhou.se\/blog\/wp-content\/uploads\/2019\/07\/How-to-createUI-Design-Soft-Shadow.png",1560,960,false],"thumbnail":["https:\/\/www.wendyzhou.se\/blog\/wp-content\/uploads\/2019\/07\/How-to-createUI-Design-Soft-Shadow-150x150.png",150,150,true],"medium":["https:\/\/www.wendyzhou.se\/blog\/wp-content\/uploads\/2019\/07\/How-to-createUI-Design-Soft-Shadow-300x185.png",300,185,true],"medium_large":["https:\/\/www.wendyzhou.se\/blog\/wp-content\/uploads\/2019\/07\/How-to-createUI-Design-Soft-Shadow-768x473.png",768,473,true],"large":["https:\/\/www.wendyzhou.se\/blog\/wp-content\/uploads\/2019\/07\/How-to-createUI-Design-Soft-Shadow-1024x630.png",1024,630,true],"1536x1536":["https:\/\/www.wendyzhou.se\/blog\/wp-content\/uploads\/2019\/07\/How-to-createUI-Design-Soft-Shadow-1536x945.png",1536,945,true],"2048x2048":["https:\/\/www.wendyzhou.se\/blog\/wp-content\/uploads\/2019\/07\/How-to-createUI-Design-Soft-Shadow.png",1560,960,false],"ocean-thumb-m":["https:\/\/www.wendyzhou.se\/blog\/wp-content\/uploads\/2019\/07\/How-to-createUI-Design-Soft-Shadow.png",600,369,false],"ocean-thumb-ml":["https:\/\/www.wendyzhou.se\/blog\/wp-content\/uploads\/2019\/07\/How-to-createUI-Design-Soft-Shadow.png",731,450,false],"ocean-thumb-l":["https:\/\/www.wendyzhou.se\/blog\/wp-content\/uploads\/2019\/07\/How-to-createUI-Design-Soft-Shadow.png",1138,700,false]},"uagb_author_info":{"display_name":"Wendy Zhou","author_link":"https:\/\/www.wendyzhou.se\/blog\/author\/wendy1111live-se\/"},"uagb_comment_info":2,"uagb_excerpt":"How to create modern UI soft shadows.","_links":{"self":[{"href":"https:\/\/www.wendyzhou.se\/blog\/wp-json\/wp\/v2\/posts\/1180","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wendyzhou.se\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wendyzhou.se\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wendyzhou.se\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wendyzhou.se\/blog\/wp-json\/wp\/v2\/comments?post=1180"}],"version-history":[{"count":19,"href":"https:\/\/www.wendyzhou.se\/blog\/wp-json\/wp\/v2\/posts\/1180\/revisions"}],"predecessor-version":[{"id":7863,"href":"https:\/\/www.wendyzhou.se\/blog\/wp-json\/wp\/v2\/posts\/1180\/revisions\/7863"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wendyzhou.se\/blog\/wp-json\/wp\/v2\/media\/3865"}],"wp:attachment":[{"href":"https:\/\/www.wendyzhou.se\/blog\/wp-json\/wp\/v2\/media?parent=1180"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wendyzhou.se\/blog\/wp-json\/wp\/v2\/categories?post=1180"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wendyzhou.se\/blog\/wp-json\/wp\/v2\/tags?post=1180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}