TableEmpty
Overview
An empty-state row for a grid table, spanning columns with centered content.
The variant prop drives data-variant on the content wrapper so that descendants marked data-slot="icon" pick up variant-specific treatment: loading spins the icon, error recolors it to --destructive, and empty / filtered keep the muted default. The slot content (icon, title, description, actions) is consumer-provided.
Theme entry: TableEmpty
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| themeOverride | String|Object|Array | null | A partial theme object merged with the component's default theme; accepts a class string, class array, or theme object. | |
| class | import('vue').HTMLAttributes['class'] | undefined | Additional CSS classes to apply to the root element. | |
| colspan | number | 1 | The number of columns the empty cell spans. | |
| variant | string | "empty" | Empty-state variant: empty (default), loading, error, or filtered. |
Slots
default
Slot.
Source
client/lib/grid/table/TableEmpty.vue