Last updated on February 21, 2026

Box Shadow

Edit

Usage

Please refer to the documentation on the Tailwind CSS website

Compatibility

ClassSupport
shadow-sm
✅ Full Support
shadow
✅ Full Support
shadow-md
✅ Full Support
shadow-lg
✅ Full Support
shadow-xl
✅ Full Support
shadow-2xl
✅ Full Support
shadow-none
✅ Full Support
Legend

Class

-{n} Supports values from theme

-[n] Supports arbitrary values

Icon

✅ Full support

✔️ Partial support on native

🧪 Experimental support on native

📱 Native only

🌐 Web only

On this page