---
title: Search
description: The "Searched N websites" line with ChatGPT's dotted globe or stacked favicons.
---

<Component path="chatgpt/examples/chatgpt-search" />

<RegistryInstall name="chatgpt-search" />

`ChatgptSearch` is a ghost shadcn `Button` that pluralizes "website" for you. It takes every Button prop, so you can wire it to your own panel. `ChatgptActivity` uses it as its trigger.

| Prop | Default | Description |
| --- | --- | --- |
| `websites` | | The number of websites searched. |
| `sites` | | Optional `{ domain, favicon? }` list. The first three favicons stack in front of the label, in place of the globe. |

## Used in

**[ChatGPT](/blocks/chatgpt)**

A full recreation of a ChatGPT conversation with thinking, web search, reasoning and the model picker.
