Since 1.0.0BETA

Empty

A compact empty-state wrapper for empty lists, filtered results, and first-run placeholders.

This page was migrated by AI, please review carefully

Migration is complete, but please validate against source code and manual review.

Empty

Use Empty when a panel, list, or query has no content to show. It wraps EmptyState with the standard empty variant, card surface, and vertical layout.

Basic Usage

Empty

Demo will load when visible.
<template>
  <TxEmpty title="No results" description="Try changing filters." />
</template>

With Actions

Empty (action)

Demo will load when visible.
<template>
  <TxEmpty title="No items" description="Create your first item.">
    <template #action>
      <TxButton>New</TxButton>
    </template>
  </TxEmpty>
</template>

API

Props

PropTypeDefaultDescription
titlestring'Nothing here'Primary empty-state message.
descriptionstring''Supporting text shown below the title.
iconClassstring'i-carbon-incomplete'Icon class forwarded to the wrapped EmptyState.
compactbooleanfalseUses the small empty-state size for dense panels.