Loading...
Installation
Install the following dependencies:
Copy and paste the following code into your project.
Loading...
Update the import paths to match your project setup.
Composition
[appTableContainer] (optional) └── <table appTable> ├── <caption appTableCaption> (optional) ├── <thead appTableHeader> │ └── <tr appTableRow> │ └── <th appTableHead> ├── <tbody appTableBody> │ └── <tr appTableRow> │ └── <td appTableCell> └── <tfoot appTableFooter> (optional)
Examples
Avatars And Badges
Loading...
Default
Loading...
Editable Cells
Loading...
Empty State
Loading...
Expandable Rows
Loading...
Footer And Caption
Loading...
Sorting
Loading...
Toolbar And Pagination
Loading...
API Reference
The table directives are styling-only and have no inputs or outputs. Apply them to their matching native table elements to preserve semantic HTML.
| Selector | Native element | Description |
|---|---|---|
[appTableContainer] | Any | Adds the responsive overflow container around a table. |
table[appTable] | <table> | Styles the table element. |
thead[appTableHeader] | <thead> | Styles the table header group. |
tbody[appTableBody] | <tbody> | Styles the table body group. |
tfoot[appTableFooter] | <tfoot> | Styles the optional table footer group. |
tr[appTableRow] | <tr> | Styles a table row. |
th[appTableHead] | <th> | Styles a header cell. |
td[appTableCell] | <td> | Styles a data cell. |
caption[appTableCaption] | <caption> | Styles the optional accessible table caption. |
Utilities
| Export | Angular API |
|---|---|
TableImports | Readonly collection containing all table directives for importing. |
Angular
React
Solid
Svelte
Vue