Box Shadow
Outer shadow
Use the t.shadow
,
t.shadowMd
,
t.shadowLg
,
t.shadowXl
,
or t.shadow2xl
utilities to apply different sized outer box shadows to an element.
iOS
base
md
lg
xl
2xl
Android
base
md
lg
xl
2xl
Inner shadow
Inner shadows are not supported in react-native
. When the default
t.shadowInner
is used, the inner keyword is ignored.
Outline shadow
Outline shadows are not supported in react-native
. When the default
t.shadowOutline
is used, the outline value will be ignored.
No shadow
Use t.shadowNone
to remove an existing box shadow from an element.