About the Box Shadow Generator
A good shadow makes cards and buttons feel tangible without looking heavy. Adjust offset, blur, spread, colour and opacity with sliders and see the result on a sample card instantly.
Negative spread with a larger blur gives the soft, modern shadows used in many interfaces; inset shadows create pressed or recessed effects.
How to use the Box Shadow Generator
- Move the sliders to shape the shadow.
- Pick a colour and opacity.
- Copy the CSS.
Features
- Layered shadows (up to 8 layers) for a soft, natural look
- Four presets
- Tailwind arbitrary-value class
- Offset, blur and spread
- Colour and opacity
- Inset shadows
- Corner radius preview
Supported formats
- CSS
Frequently asked questions
Why use rgba for shadow colour?
Semi-transparent shadows blend naturally with any background, which looks more realistic than solid grey.
Is anything uploaded?
No. Everything is generated in your browser.