Skip to content
BENIBIX Learn

Drop Shadow

Design📐 Design StandardsSpace and Depth

Also known as Box Shadow, Shadow Effect

A soft dark shape behind an object. It makes the object look like it floats.

Think of it like

It is like the dark spot under your hand. You see it when you hold your hand over a table in the sun.

Example

A card has a small shadow 2 pixels down. When you drag it, the shadow grows to 8 pixels, so the card seems to lift.

Why it matters

Shadows tell people what sits on top and what they can pick up, with no words at all.

Definition

A drop shadow is a soft, dark copy of a shape, drawn a little below and behind it. It makes the shape look as if it floats above the page. Four settings shape it: how far it moves sideways, how far down, how blurry it is, and its color. A small, sharp shadow looks close to the page, while a large, soft one looks far away. Design systems keep a few fixed shadows to show elevation.

Example code

css
.card {
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.2);
}
Sideways, down, blur, then color. This shadow falls 2 pixels down with a 6 pixel blur.
A drop shadow is set by how far it falls, how blurry it is and its color.

Common mistake

Using dark, hard shadows with no blur. They look dirty and old, and they fight with the content.

Key takeaways

  1. 1
    Light from above. Shadows fall down.
  2. 2
    Bigger means higher. More blur, more lift.
  3. 3
    A few fixed sizes. Tied to elevation.

Compare