List of all available style shorthands
Style
Shorthand
flex
f
flexBasis
fb
flexDirection
fd
flexGrow
fg
flexShrink
fs
flexWrap
fw
justifyContent
jc
alignItems
ai
alignContent
ac
alignSelf
asf
width
w
minWidth
mnw
maxWidth
mxw
height
h
minHeight
mnh
maxHeight
mxh
margin
m
marginTop
mt
marginRight
mr
marginBottom
mb
marginLeft
ml
marginStart
ms
marginEnd
me
marginVertical
mv
marginHorizontal
mh
margin
m
paddingTop
pt
paddingRight
pr
paddingBottom
pb
paddingLeft
pl
paddingStart
ps
paddingEnd
pe
paddingVertical
pv
paddingHorizontal
ph
position
po
top
t
right
r
bottom
b
left
l
start
s
end
e
zIndex
z
borderWidth
bw
borderTopWidth
btw
borderRightWidth
brw
borderBottomWidth
bbw
borderLeftWidth
blw
borderStartWidth
bsw
borderEndWidth
bew
display
d
aspectRatio
ar
direction
dt
overflow
of
Style
Shorthand
transform
tf
transformMatrix
tfm
rotation
rt
scaleX
sx
scaleY
sy
translateX
tx
translateY
ty
Style
Shorthand
shadowColor
sc
shadowOpacity
so
shadowRadius
sr
shadowOffset.height
soh
shadowOffset.width
sow
Including FlexStyle
, TransformsStyle
, and ShadowStyleIOS
.
Style
Shorthand
opacity
o
backfaceVisibility
bv
backgroundColor
bgc
borderStyle
bs
borderColor
bc
borderTopColor
btc
borderRightColor
brc
borderBottomColor
bbc
botderLeftColor
blc
borderStartColor
bsc
borderEndColor
bec
borderRadius
br
borderTopRightRadius
btrr
borderTopLeftRadius
btlr
borderTopStartRadius
btsr
borderTopEndRadius
bter
borderBottomRightRadius
bbrr
borderBottomLeftRadius
bblr
borderBottomStartRadius
bbsr
borderBottomEndRadius
bber
testID
tid
elevation
el
Including ViewStyle
.
Style
Shorthand
writingDirection
wd
fontVariant
ftv
Including ViewStyle
.
Style
Shorthand
textAlignVertical
tav
includeFontPadding
ifp
Including TextStyleIOS
and TextStyleAndroid
.
Style
Shorthand
color
c
fontFamily
ftf
fontSize
ftsz
fontStyle
ftsl
fontWeight
ftw
letterSpacing
ls
lineHeight
lh
textAlign
ta
textDecorationStyle
tds
textDecorationLine
tdl
textDecorationColor
tdc
textShadowColor
tsc
textShadowRadius
tsr
textTransform
tt
textShadowOffset.height
tsoh
textShadowOffset.width
tsow
Including FlexStyle
, TransformsStyle
, and ShadowStyleIOS
.
Style
Shorthand
resizeMode
rm
opacity
o
backfaceVisibility
bv
backgroundColor
bgc
tintColor
tc
overlayColor
oc
borderColor
bc
borderRadius
br
borderTopRightRadius
btrr
borderTopLeftRadius
btlr
borderBottomRightRadius
bbrr
borderBottomLeftRadius
bblr