Box shadow generator

Move the sliders and watch a live preview update, then copy the CSS. The output is a single rgba() box-shadow declaration you can paste into any stylesheet or use as a Tailwind arbitrary value.

The preview applies the exact same declaration string that the copy button gives you, so what you see is literally what you ship. Colour is picked on a native picker and converted to rgba() with an opacity slider.

Runs entirely in this tab. Nothing you paste is uploaded, logged or stored — close the page and it is gone.

Questions about this tool

Why rgba() instead of a hex colour?

Shadows almost always want the same hue as the surface they sit on at low opacity. rgba() keeps the opacity adjustable in one place without re-picking the colour.

Can I copy this into Tailwind?

Yes — paste the whole declaration into an arbitrary property like shadow-[box-shadow:...] or put it in a component class. The string is standard CSS either way.

Negative spread is allowed?

It shrinks the shadow before blurring, which is how you get tight, low-glare elevation on small elements like buttons and cards.

AI alternatives from the directory

Browse coding tools →

This utility handles the job by hand. These do it with a model — worth a look when the task outgrows copy and paste.

v0 by Vercel logo
☆

Generate UI from a prompt

Describe a component or page and v0 outputs React + Tailwind code you can iterate on and deploy instantly.

Lovable logo
Lovable
Coding
☆

Vibe-code a SaaS with Supabase wired in

Lovable generates a React app with auth, database and Stripe plumbing, aimed squarely at non-engineers shipping a real

bolt.new logo
bolt.new
Coding
☆

In-browser full-stack builds from one prompt

Bolt runs a real Node environment in the browser tab, so generated projects start instantly and can be deployed to