Skip to main content

Box Shadow

Usage

Please refer to the documentation on the Tailwind CSS website

caution

On native, shadows may not appear if a background color is not set

Example

Compatibility

ClassNative (StyleSheet)Web (CSS)
shadow
shadow-{n}
shadow-none
shadow-[n]
shadow-inner
Legend

Class

-{n} Supports values from theme

-[n] Supports arbitrary values

Icon

✅ Full support

✔️ Partial support

❌ Not supported