Components/SearchEmpty
Since 1.0.0BETA

SearchEmpty

Shortcut empty-state component for empty search results, based on TxEmptyState with `variant="search-empty"`.

This page was migrated by AI, please review carefully

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

SearchEmpty

TxSearchEmpty is a shortcut wrapper around TxEmptyState with variant="search-empty" pre-set. Use it when a query returns no results or filters exclude every item.

Basic Usage

SearchEmpty

Demo will load when visible.
<template>
  <TxSearchEmpty description="Try another keyword or filter." />
</template>

API

TxSearchEmpty inherits all Props (except variant), Slots, and Events from TxEmptyState. See EmptyState.

Interaction Contract

  • TxSearchEmpty always forwards variant="search-empty" to TxEmptyState.
  • The wrapper does not rewrite title, description, surface, or action config; explicit props are forwarded as-is.
  • icon, title, description, and actions slots are forwarded unchanged to TxEmptyState.