Kharabeesh
On-device ع

Box Shadow Generator

Design multi-layer box-shadow: offset, blur, spread, colour with opacity and inset, plus a one-tap smooth layered shadow. Copy ready CSS or Tailwind code.

Free, no sign-up Your data stays on your device Works offline after first open

The tool

Loading the tool…

How to use

  1. Start from a preset or edit the first layer: offset, blur, spread and colour.
  2. Add more layers for depth, or try “Smooth layered shadow” to generate a realistic multi-layer shadow.
  3. Change the box and background colours to see the shadow in context, then copy the code.

Privacy & how it works

Processes your data in the browser and stores nothing.

  • Engine: lightweight in-page code, no external libraries.
  • Works offline after you open it once.

Frequently asked questions

Why use multiple layers?

Real shadows are dark and sharp near the object and light and soft further away. Stacking a few small and large layers gives a softer, more realistic shadow than a single one.

What is the difference between blur and spread?

Blur softens the shadow edges; spread grows or shrinks the shadow before blurring. A negative spread with a downward offset gives a nice “floating” look.

Do shadows affect performance?

Very large blurs on many animated elements can slow rendering on weak phones. For static elements it is not an issue.

Related tools