Skip to content

Box Shadow Generator

Build depth one layer at a time. Move the light, tune softness and color, and copy a production-ready shadow.

Live preview

Drag the light or use arrow keys to move the selected shadow.

Shadow layers

Up to 8 layers. The first enabled layer sits on top.

box-shadow: 0px 12px 32px -8px #0f172a33;

Everything stays in your browser.

How to use

  1. Start with a shadow preset and choose a layer.
  2. Drag the light handle to change the selected layer’s offset, or use the sliders.
  3. Add, reorder, or disable layers, then export CSS or a Tailwind arbitrary property.

Example

box-shadow: 0px 12px 32px -8px #0f172a33;

Details and limitations

The first enabled layer is painted on top of later layers. Disabled layers are omitted from the export.

The light handle sits opposite the shadow offset. Arrow keys move the light by 1 px; Shift moves it by 10 px.

Insets paint inside the specimen. Up to eight layers can be combined; all disabled layers export box-shadow: none.

Eight-digit hex colors preserve opacity. Blur is limited to 150 px, spread to ±80 px, and offsets to ±100 px.

Format references

Tool page updated: