# Ecommerce Empty State: Search No Results

A search dead end with a spelling correction and result count, three near miss product rows, and a footer to report a missing search.

- Page: https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/empty-states/search-no-results
- Collection: [Ecommerce](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro), Standard tier
- Group: [Empty States](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/empty-states)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/empty-states/search-no-results.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/ecommerce-pro-empty-states-search-no-results
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: button, placeholder
- Installs to: `@/components/blocks/ecommerce-pro/empty-states/search-no-results`

## About this block

Search No Results owns the typo instead of hiding it,
the headline quotes back &ldquo;watrproof tote&rdquo; and
names the likely cause, one letter. A single outline
button offers the corrected search with its count already
attached, 12 results, so the fix is one tap and the payoff
is known before the tap. Below it three near misses explain
themselves, each product paired with the word it almost
hit, matched tote, matched waterproof in the materials
list, so a dead end still reads like a shelf.

Near misses are one array your search engine can populate
with partial matches. The footer report link steers restock
and catalog decisions, spelled right and still empty means
the gap is yours to close.

## When to use

Reach for this block as the zero state of any
[search results](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/search-sections)
page. The corrected query carrying its own count is the
feature, a confident fix beats a blank apology with a reset
button.

A natural flow around it on an Ecommerce Pro page:

**Before**

- [Store navbar](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/store-navbars) with
  the query typed

**After**

- The corrected results grid,
  [product grids](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/product-grids)
- [Restock sections](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/restock-sections)
  for the patient route

## What you can display

One strong use is the single typo recovery. Other dead
ends:

- **Zero synonym hits.** The query is spelled right but off
  vocabulary, the near misses carry the bridge words.
- **Out of range price.** Nothing under the cap, the three
  closest just above it shown with why.
- **Discontinued search.** The exact item is gone, its
  successor named in the near miss list.

> Tip: attaching the result count to the corrected query,
> 12 results, turns a guess into a promise, people tap a
> known payoff far more often than a blank retry.

## More in Ecommerce Empty States

- [Account Signed Out State](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/empty-states/account-signed-out-state)
- [Category Sold Out State](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/empty-states/category-sold-out-state)
- [Compare List Empty](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/empty-states/compare-list-empty)
- [Empty Cart State](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/empty-states/empty-cart-state)
- [Empty Wishlist State](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/empty-states/empty-wishlist-state)
- [Filter No Results](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/empty-states/filter-no-results)
- [Notifications Empty State](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/empty-states/notifications-empty-state)
- [Order History Empty State](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/empty-states/order-history-empty-state)
- [Reviews Empty State](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/empty-states/reviews-empty-state)
- [Rewards Empty State](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/empty-states/rewards-empty-state)
- [Store 404](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/empty-states/store-404)
