Table
The Table component offers a minimal semantic wrapper (thead, tbody, tr, th, td) useful for simple static tabular data when the full DataTable is unnecessary.
Examples
(5)Properties
(30)Playground
Data Prop
Pass a dataset to the
data prop to render the caption, header, and body without composing subcomponents.Border Options
Enable
withTableBorder, withColumnBorders, and withRowBorders to emphasize cell boundaries.Manual Composition
Use the table subcomponents when you need custom cells, alignments, or dynamic rows beyond the
data helper.Horizontal Scroll
Use
Table.ScrollContainer to clamp table width and let users horizontally scroll large matrices.Column Sizing
Define the
columns array to set fixed widths, min widths, or flex growth for responsive tables.Scan to open this page on your phonereact-ui-library.com/components/Table
</>
react-ui-library
100+ accessible, themeable components that work seamlessly across iOS, Android, and Web.
A Platform Blocks product.
Quick Links
Resources