Skip to content
IndexRequest a UIAboutContact

Flat Design Depth Levels

The same icon as flat, long-shadow, soft-shadow and layered, with a depth slider.

Open alone ↗

AI prompt

PROMPT: PASTE INTO YOUR AI IMAGE OR VIDEO TOOL
Set of flat vector icons of a rounded square badge with a white circle inside on a pale background, shown in four treatments: pure flat, a long 45 degree shadow in a darker tone, a soft blurred drop shadow, and three stacked offset layers. Same coral colour in all four, consistent light direction from the top left, clean geometric shapes, no outlines, no textures. Negative: mixed light directions, gradients inside the shape, text, noisy backgrounds. Reduced motion: static set.

About this pattern

Definition

Flat illustration can still carry depth. Long shadows run diagonally behind a shape, soft shadows float it above the page, and layers offset copies of it. Each trades simplicity for dimension in a different way.

When to use it

  • Flat: no shadow at all; relies on colour and shape.
  • Long shadow: a diagonal band at 45 degrees, fading out, gives a retro feel.
  • Soft shadow: a blurred, offset shadow suggests a floating card.
  • Layered: stacked offset copies suggest a pile.

What the controls do

  • Four style buttons and a Depth slider.

Motion & timing

  • Shadows change instantly.
  • Reduced motion: nothing animates.

Tips & variations

  • Pick one depth treatment per illustration set.
  • Long shadows must all go in the same direction.

Code of this live preview

HTML
<div class="bx"><div class="sc"><div class="ic" id="ic"><i></i></div></div><div class="pre" id="pre" role="group" aria-label="Style"><button data-p="0" aria-pressed="true">Flat</button><button data-p="1" aria-pressed="false">Long shadow</button><button data-p="2" aria-pressed="false">Soft</button><button data-p="3" aria-pressed="false">Layered</button></div><label class="rw">Depth <b id="dv">40</b><input id="dp" type="range" min="10" max="100" value="40"></label></div>

Related patterns

Illustration Style Switcher

↗
Illustration Style SwitcherIllustration Styles

Isometric Projection Builder

↗
Isometric Projection BuilderIllustration Styles

Line & Texture Styles

↗
Line & Texture StylesIllustration Styles