e8-table-cell
Updated on Sep 18, 2025 8 minutes to readA table cell component for rendering <td> or <th> with optional styling, sticky behavior, and stacked mode support, designed to be used inside e8-table.
Overview
e8-table-cell renders a table cell (<td> or <th>) within e8-table, with support for column/row spans, sticky columns, variants, and stacked headings.
It adapts automatically based on table context (thead, tbody, tfoot) and responsive or stacked table layouts.
🔽 Show more
Properties
| Property | Description | Type | Default |
|---|---|---|---|
| colspan | Number of columns this cell should span. | number | string | — |
| rowspan | Number of rows this cell should span. | number | string | — |
| stacked-heading | Label text used when the table is in stacked mode. | string | — |
| sticky-column | Makes the column sticky in responsive or sticky-header tables. | boolean | false |
| variant | Color variant for the cell. | E8TableColorVariants | — |
Slots
| Slot | Description |
|---|---|
| default | Content displayed inside the table cell. |