Skip to main content

Table

Table renders the <table> HTML element and inherits props from the Box component.

Usage Example#

Live Editor
Result

Props#

PropTypeDefaultDescription
borderinteger (optional)1
borderColorstring (optional)'grey'
boxShadowinteger (optional)1
colorstring (optional)'dark-gray'
fontFamilystring (optional)'sansSerif'
fontSizeinteger (optional)1
fontWeightinteger (optional)2
themeobject (optional)

Table uses COMMON, LAYOUT, POSITION, FLEXBOX, BORDERS groups of Styled System props.