Web Search

Web Search: The sources behind an AI answer, shown as a search pill, source cards, a streaming answer, and inline citations. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Web Search

npx motion-ui-skill add web-search

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • motion
  • react
  • tailwind-merge

Source files

The sources behind an AI answer, shown as a search pill, source cards, a streaming answer, and inline citations.

Install

npx motion-ui-skill add web-search

Dependencies

  • clsx
  • motion
  • react
  • tailwind-merge

Usage

"use client";

import WebSearch from "@/components/agents/web-search";

export function Example() {
  return (
    <div className="p-6">
      <WebSearch />
    </div>
  );
}

Browse this category