Box Shadow Generator

Get the depth of a card or button exactly right. Adjust each part of the box-shadow property with sliders and watch the preview update in real time.

Last updated: · Runs 100% in your browser

// controls
Presets
0px
10px
30px
0px
35%
Live preview
Generated CSS
.box {
  background: #1c2320;
  box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.35);
}

// Example output

.box {
  background: #1c2320;
  box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.35);
}

// Features

  • ▸X/Y offset, blur and spread sliders
  • ▸Opacity control with rgba output
  • ▸Inset shadows
  • ▸Presets: Soft, Medium, Hard, Floating, Glow, Neon
  • ▸Save favourite shadows locally

// How to use

  1. 01Adjust the controls on the left or pick a preset to start the Box Shadow Generator.
  2. 02Watch the live preview update instantly as you change each setting.
  3. 03Fine-tune the generated CSS by hand in the code panel if you like.
  4. 04Click Copy CSS or Download CSS, or Share to send a link to your design.

// FAQ

Your data never leaves your browser. This tool runs 100% locally — no upload, no logging, no analytics on your inputs.

// Related tools