Box Shadow
Nativewind uses the scaling system from react-native-shadow-generator to help generate cross platform shadows.
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
Class | Support |
---|---|
| โ Full Support |
| โ Full Support |
| โ Full Support |
| ๐ Web only |
| ๐ Web only |
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