Skip to content

Menu

Box Shadow Gallery

Browse 100 ready-made CSS box shadows and copy the CSS or Tailwind class in one click.

Runs entirely in your browserDesignFree, no sign-up
Loading tool

01What is Box Shadow Gallery?

Box Shadow Gallery is a page of 100 ready-made CSS box shadows. You scroll, find one that looks right on a sample card, and copy it. No sliders, no guessing at alpha values. The shadows are generated from seven families, so each group feels consistent. Soft has 20 single blurred layers that grow and darken step by step, from 0 2px 4px up to 0 30px 80px. That makes a ready elevation scale for cards, menus and modals. Layered has 20 pairs: a tight contact shadow plus a wide ambient one, which mimics how real objects cast both. Hard has 15 zero-blur offsets in black, near-black, indigo, pink and amber for the neo-brutalist look. Glow has 15 colored halos. Inset has 10 shadows drawn inside the box for wells and pressed buttons. Neumorphic has 10 pairs of a gray and a white shadow, seven raised and three pressed. Ring has 10 spread-only outlines and focus rings. Each card has two copy buttons. CSS copies a full box-shadow declaration, written to the syntax in the W3C CSS Backgrounds and Borders spec. Tailwind copies an arbitrary-value class. The tool removes the space after each comma, then turns every remaining space into an underscore, because Tailwind's docs use underscores for spaces inside brackets. Arbitrary values like this work in Tailwind v3 and v4 without touching your config. Here's one in practice. Ring #96 is 0 0 0 1px rgba(0, 0, 0, 0.12), 0 0 0 4px rgba(59, 130, 246, 0.35). Its Tailwind copy is shadow-[0_0_0_1px_rgba(0,0,0,0.12),0_0_0_4px_rgba(59,130,246,0.35)]. You get a thin gray edge plus a soft blue ring, and the element's size doesn't change. A light or dark Surface switch lets you check how a shadow reads on each theme. Two groups ignore it on purpose. Glow cards always sit on a dark background, where halos are easiest to judge. Neumorphic cards always sit on #e0e0e0 gray, since the effect only works when element and page share that color. A few limits. You can't edit a preset here. To tweak one, paste its numbers into a shadow generator. The code line on each card is truncated, so hover it or copy it to see the full value. If your browser blocks clipboard access, nothing gets copied, though the shadow text stays on the card. The presets are built into the page itself. Browsing and copying don't make any request with your choices.

Front-end developers who want a finished shadow fast, including Tailwind users who need one outside the default shadow-sm to shadow-2xl scale. The tool runs entirely in your browser, so your data never leaves your device.

02How to use Box Shadow Gallery

  1. Pick a group (Soft, Layered, Hard, Glow, Inset, Neumorphic or Ring), or leave it on All
  2. Switch Surface between light and dark to check contrast
  3. Click CSS on a card to copy the box-shadow declaration
  4. Or click Tailwind to copy a shadow-[...] class
  5. Hover the truncated code line to see the full shadow value

03Worked examples

Input: Soft preset #1, CSS / Tailwind
Result: box-shadow: 0 2px 4px rgba(0, 0, 0, 0.068); shadow-[0_2px_4px_rgba(0,0,0,0.068)]
The Tailwind class is the same value with spaces turned into underscores, because class names can't contain spaces.
Input: Soft preset #20 (the largest soft shadow)
Result: box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22); shadow-[0_30px_80px_rgba(0,0,0,0.22)]
Input: Layered preset #21
Result: box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.075); shadow-[0_1px_2px_rgba(0,0,0,0.1),0_2px_6px_rgba(0,0,0,0.075)]
Commas separating the two layers are kept in the Tailwind class, with the space after them removed.
Input: Hard preset #41
Result: box-shadow: 3px 3px 0 rgb(0, 0, 0); shadow-[3px_3px_0_rgb(0,0,0)]
Input: Neumorphic preset #81
Result: box-shadow: 4px 4px 8px #bebebe, -4px -4px 8px #ffffff; shadow-[4px_4px_8px_#bebebe,-4px_-4px_8px_#ffffff]
The white highlight is invisible on a white page; this style only works on a light gray surface like the one in the preview.
Input: Inset preset #76
Result: box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.12), inset 0 -2px 0 rgba(0, 0, 0, 0.09); shadow-[inset_0_2px_4px_rgba(0,0,0,0.12),inset_0_-2px_0_rgba(0,0,0,0.09)]
A soft top shadow plus a thin hard line along the bottom edge, both inside the box.

04Common use cases

  • Picking an elevation scale for cards, dropdowns and modals without designing one from scratch
  • Grabbing a focus ring that doesn't shift layout for buttons and inputs
  • Finding a hard offset shadow for a neo-brutalist landing page
  • Copying a Tailwind arbitrary shadow class when the built-in shadow-sm to shadow-2xl don't fit
  • Comparing how a shadow reads on light and dark backgrounds before choosing it

05Tips

  • Neumorphic shadows only work when the element and page share one background color. On pure white or dark pages they look muddy.
  • The Surface switch doesn't change Glow or Neumorphic cards. They keep their dark and gray backgrounds so you see them as intended.
  • Animate hover lifts with transition: box-shadow 150ms ease, or fade a pseudo-element's opacity for smoother results on big shadows.
  • Ring shadows stack with others. Put the ring layer in the same box-shadow list, separated by a comma.

06Related concepts

CSS elevation, Tailwind shadow, neumorphism, neo-brutalism, focus ring.

Frequently Asked Questions

What is Box Shadow Gallery?

Box Shadow Gallery is a free, browser-based developer tool on AIDToolStack. Browse 100 ready-made CSS box shadows and copy the CSS or Tailwind class in one click. It requires no installation or sign-up and works entirely in your browser.

Is Box Shadow Gallery free to use?

Yes. No sign-up, no fees and no usage cap.

Does Box Shadow Gallery store my data?

No. It runs in your browser; nothing is uploaded.

Related Tools

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…

What changed in AI dev tools, once a month

Renames, shutdowns, pricing changes and new MCP setups, each with a source.

Subscribe