# No Search Results

> No results found empty state for a filtered search, with a magnifier icon, guidance copy, and a Clear Filters action in a bordered card.

A shadcn/ui block from the [@7ovr](https://7ovr.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/7ovr/empty-states-3).

- Page, with a live preview: https://shadcn.exchange/r/7ovr/empty-states-3
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/7ovr/empty-states-3-light-1142ebf907323560.png
- Registry item: https://7ovr.com/r/empty-states-3.json
- Categories: empty-states
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://7ovr.com/r/empty-states-3.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- npm packages: `@base-ui/react`
- Registry items: `button`, `empty`, `sonner`

## Files

### `registry/blocks/empty-states/3/empty-states-block.tsx`

```tsx
"use client"
import { toast } from "sonner"

import { Button } from "@/components/ui/button"
import {
  Empty,
  EmptyContent,
  EmptyDescription,
  EmptyHeader,
  EmptyMedia,
  EmptyTitle,
} from "@/components/ui/empty"
import { Toaster } from "@/components/ui/sonner"
import { IconPlaceholder } from "@/components/icons/icon-placeholder"

export default function EmptyStatesBlock() {
  return (
    <section className="flex w-full items-center justify-center bg-muted/30 px-6 py-16 text-foreground">
      <Toaster />
      <div className="w-full max-w-md rounded-lg border border-border bg-card">
        <Empty className="border-0">
          <EmptyHeader>
            <EmptyMedia variant="icon">
              <IconPlaceholder
                lucide="Search"
                tabler="IconSearch"
                hugeicons="SearchIcon"
                phosphor="MagnifyingGlass"
                remixicon="RiSearchLine"
                className="size-4"
              />
            </EmptyMedia>
            <EmptyTitle>No results found</EmptyTitle>
            <EmptyDescription>
              We couldn&apos;t find anything matching &ldquo;quarterly&rdquo;.
              Try a different keyword or clear your filters to see all records.
            </EmptyDescription>
          </EmptyHeader>
          <EmptyContent>
            <Button
              variant="outline"
              onClick={() =>
                toast("Filters cleared", {
                  id: "filters-cleared",
                  description: "Showing all records.",
                })
              }
            >
              <IconPlaceholder
                lucide="RefreshCw"
                tabler="IconRefresh"
                hugeicons="RefreshIcon"
                phosphor="ArrowsClockwise"
                remixicon="RiRefreshLine"
                data-icon="inline-start"
              />
              Clear Filters
            </Button>
          </EmptyContent>
        </Empty>
      </div>
    </section>
  )
}
```
