Expo Docs

Hey friend! We are co-hosting a conference with Software Mansion, learn more.

View Style Props


Reference

TypeRequired
colorNo

TypeRequired
enum('visible', 'hidden')No

TypeRequired
colorNo

TypeRequired
numberNo

TypeRequired
numberNo

TypeRequired
numberNo

TypeRequired
numberNo

TypeRequired
numberNo

TypeRequired
colorNo

TypeRequired
colorNo

TypeRequired
colorNo

TypeRequired
numberNo

TypeRequired
numberNo

TypeRequired
colorNo

TypeRequired
numberNo

TypeRequired
colorNo

TypeRequired
enum('solid', 'dotted', 'dashed')No

TypeRequired
colorNo

TypeRequired
numberNo

TypeRequired
numberNo

TypeRequired
numberNo

TypeRequired
numberNo

TypeRequired
numberNo

TypeRequired
numberNo

TypeRequired
numberNo

(Android-only) Sets the elevation of a view, using Android's underlying elevation API. This adds a drop shadow to the item and affects z-order for overlapping views. Only supported on Android 5.0+, has no effect on earlier versions.
TypeRequiredPlatform
numberNoAndroid