Styled Table Components
Description
The Table components are predefined styled wrappers based on the TableCell, TableRow, and Div components. These components provide structured table layouts with enhanced styling for header rows, checkboxes, and row selection.
Styled Table Components
| Component Name | Description |
|---|---|
TableContainer |
A styled container wrapping the table for proper layout and scrolling. |
TableRow_Header |
A header row with a styled background and color. |
TableCell_HeaderCheckbox |
A sticky checkbox cell for table headers. |
TableCell_Checkbox |
A sticky checkbox cell for table rows. |
TableRow_Selected |
A row component that highlights selection state. |
TableCell_Tanstack |
A styled table cell supporting TanStack Table. |
Example Usage
Basic Styled Table Components
Notes
TableContainerensures proper scrolling and layout.TableRow_Headerprovides custom header row styling.TableCell_CheckboxandTableCell_HeaderCheckboxare sticky for better usability.TableRow_Selectedhelps indicate selected rows visually.TableCell_Tanstackis optimized for TanStack Table column sizes and alignment.
Useful Links
🔗 GitHub Repository (Core): Liberty Core
🔗 GitHub Repository (Test Project): Liberty Test
📖 Live Documentation: Liberty Core Docs
💖 Sponsor & Support: Sponsor Liberty Core