API

These are the common props used by all components.

Props

All components include the following props.
NameTypeDescription
sxObjectTheme-aware styles
variantStringApplies a variant, if available

Style Props

All components include the following style props.
NameDescription
margin,mMargin
marginTop,mtMargin top
marginRight,mrMargin right
marginBottom,mbMargin bottom
marginLeft,mlMargin left
marginX,mxMargin horizontal
marginY,myMargin vertical
padding,pPadding
paddingTop,ptPadding top
paddingRight,prPadding right
paddingBottom,pbPadding bottom
paddingLeft,plPadding left
paddingX,pxPadding horizontal
paddingY,pyPadding vertical