EEnterUI
DocsComponentsThemesDonation
Get Started
      • Table
      • TableFooter
      • TableEmptyState
EnterUIDocsData AnalyticsTables and DataTable BasicsTableEmptyState
Data AnalyticsUpdated 6 May 2026

TableEmptyState

Empty-state row for Table and DataTable surfaces with icon, title, description, and optional action.

TableEmptyState renders a full-width row inside a Table or DataTable body when there are no rows to display. It centers the message, supports an optional action, and stays inside the table's cell semantics.

#Default usage

Empty body row

Span every column to fill the table body.

PackageStateUsage
No packagesCreate a package to start tracking releases.
Code
<TableContainer>
  <Table dense>
    <TableHeader>
      <TableRow>
        <TableHead>Package</TableHead>
        <TableHead>State</TableHead>
        <TableHead align="end">Usage</TableHead>
      </TableRow>
    </TableHeader>
    <TableBody>
      <TableEmptyState
        colSpan={3}
        description="Create a package to start tracking releases."
        title="No packages"
      />
    </TableBody>
  </Table>
</TableContainer>

#Import

Code
import { TableEmptyState } from "@froggdesign/enter-ui-react";

#Accessibility

TableEmptyState renders a real tr + td with colSpan, so the row stays inside the table's accessibility tree. Pair it with a clear title and short description; avoid putting actions only in the empty row when the same affordance is available in the surrounding toolbar.

#API

  • title, description: ReactNode copy.
  • icon: optional leading icon.
  • action: optional CTA rendered below the description.
  • colSpan: column count to span (defaults to 1; set to total column count).
  • Extends td props.

#Styling

Every exported component accepts className when it renders an element. EnterUI styles use .eui-* classes and --eui-* variables mapped from FroggDesign theme tokens.

PreviousTableFooter
NextDataTable

On this page

  1. Default usage
  2. Import
  3. Accessibility
  4. API
  5. Styling