Back to blocks
BlockAI & ChatFree

AI Search Results Block React component

An AI search page: a question bar, an AI overview that shows searching, reading and writing steps before streaming an answer with numbered citations, ranked results with highlighted terms and type tabs, and a People also ask panel.

About the AI Search Results Block component

AI Search Results Block turns a search page into an answer page. Above the usual list of results sits an AI overview that shows what it is doing (searching, reading, writing) and then writes a short answer word by word with small numbered citations.

Every citation is tied to a result below it: hover a number and the matching result lights up, click it and the page scrolls there. Results can be filtered by type, query words are highlighted in each snippet, and a People also ask panel offers quick answers to follow-up questions.

When to use it

Use it for documentation search, a help center, an internal knowledge base or a product with an AI assistant built on retrieval.

Keep answers short with three or four bullets; the citations do the convincing, so cite every claim.

Installation

Add the AI Search Results Block component to your project with the shadcn CLI. It lands in components/ai-search-results.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/ai-search-results

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion clsx tailwind-merge

Related components

Agent Task Progress Block
Free
AI Chat Panel
$6
Model Picker Block
Free
Prompt Library Block
Free
Simple Hero Section
Free
Coverflow Services Hero
$4