Box shadow

Box shadows are used to make content appear elevated. They are typically applied to containers of content that users need to pay attention to or content that appears on top of (overlapping) other elements on the page (like a pop-over or modal).

Small

Small shadows are mainly used on things that need to appear slightly elevated, like pricing cards or UI elements containing important information.

View in Storybook

These types of shadows are typically applied to elements with borders, such as the Box component.

View in Storybook

Medium

Medium box shadows are more diffused and slightly larger than small box shadows.

View in Storybook

Medium box shadows are typically used on editorialized content that needs to appear elevated. Most of the time, the elements using this level of shadow will be clickable.

View in Storybook

Large

Large box shadows are very diffused and used sparingly in the product UI.

View in Storybook

These shadows are used for marketing content, UI screenshots, and content that appears on top of other page elements.

View in Storybook

Extra large

Extra large box shadows are even more diffused.

View in Storybook

These shadows are used for marketing content and content that appears on top of other page elements.

Remove a box shadow

Additionally there is a box-shadow-none class that removes box-shadow:

View in Storybook