Tailwind Shadow Generator
Design a custom box shadow and copy it as a Tailwind class and plain CSS.
Enter your values
Result
Tailwind class
shadow-[0px_10px_30px_-5px_rgba(79,70,229,0.35)]
- Plain CSS
- box-shadow: 0px 10px 30px -5px rgba(79,70,229,0.35);
Tailwind arbitrary values use underscores for spaces, so 0px 10px 30px becomes shadow-[0px_10px_30px_…].
Live preview
How to use Tailwind Shadow Generator
- Enter offset x, offset y and blur.
- The result updates instantly as you type, with no button to press.
- Read the formula box to see how it was calculated, then copy the result.
Features
- Instant results
- Results update as you type, with no Calculate button and no page reload.
- Formula explained
- See exactly how the answer is worked out, so you can check it or learn the method.
- Private & free
- Everything runs in your browser. Nothing you enter is uploaded or stored.
Frequently asked questions
How does the Tailwind Shadow Generator work?
It uses this method: Tailwind arbitrary values use underscores for spaces, so 0px 10px 30px becomes shadow-[0px_10px_30px_…].
Is this Tailwind Shadow Generator free?
Yes. It is 100% free, needs no sign-up and works on mobile and desktop. Your numbers never leave your device.
Free, no sign-up. Your files and numbers are processed in your browser and are not uploaded.