Skip to content

Want to skip the docs? Check out pandamastery.com - the best way to learn Panda CSS

Utility Reference

Tables

Panda provides utilities for styling tables.

Panda provides utilities for styling tables.

Border Spacing

Control the border-spacing property of a table.

<table className={css({ borderSpacing: '2' })} />
PropCSS PropertyToken Category
borderSpacingborder-spacingspacing

Border Spacing X

Control the horizontal border-spacing property of a table.

<table className={css({ borderSpacingX: '2' })} />
PropCSS PropertyToken Category
borderSpacingXborder-spacingspacing

Border Spacing Y

Control the vertical border-spacing property of a table.

<table className={css({ borderSpacingY: '2' })} />
PropCSS PropertyToken Category
borderSpacingYborder-spacingspacing

Full reference

Generated from @pandacss/preset-base, so this table always matches the utilities Panda ships.

Table · 5
PropertyShorthandClassValues
borderCollapse—bd-cl—
borderSpacing—bd-spspacing | auto
borderSpacingX—bd-sxspacing
borderSpacingY—bd-syspacing
tableLayout—tbl—
Edit this page on GitHubView as markdown
Last updated on