Build CSS box-shadow with live preview, presets, offset, blur, spread, color, opacity, and inset shadows.
CSS Box Shadow Generator is a free online tool for creating CSS box-shadow values with a live preview. Adjust X/Y offset, blur, spread, color, opacity, inset mode, and shadow presets, then copy CSS, a CSS variable, inline style, or a Tailwind arbitrary class. Processing runs locally in your browser, and data is not sent to the UtiLab server.
Choose a related tool for the next step.
Data passed between tools is kept only in the current browser session.
The CSS Box Shadow Generator helps you quickly build a CSS shadow for cards, buttons, modals, panels, and other UI elements. You can tune X and Y offset, blur, spread, color, opacity, inset mode, and multiple shadow layers. Live preview shows the result immediately, and you can copy the output as a CSS rule, box-shadow value, CSS variable, inline style, or Tailwind arbitrary class. Generation runs locally in your browser, and your data is not sent to the UtiLab server.