AI Chat Input
Search Results
A command palette finding something: each letter narrows the results live with the match in bold, the top result is highlighted, Enter flashes it and a status confirms it opened.
- Type
- Animation
- Duration
- 4.4s
- Category
- AI Chat Input
- Source
- Imgcli
Install
A command palette finding something: each letter narrows the results live with the match in bold, the top result is highlighted, Enter flashes it and a status confirms it opened.
Installation
npx @imgcli/cli add search-resultsUsage
import { SearchResults } from "@/components/imgcli/search-results";
<SearchResults
query="design"
items={[
{
"title": "Design system",
"kind": "Docs"
},
{
"title": "Project roadmap",
"kind": "Plan"
},
{
"title": "Design review notes",
"kind": "Note"
},
{
"title": "API reference",
"kind": "Docs"
},
{
"title": "Design tokens",
"kind": "Reference"
},
{
"title": "Meeting notes",
"kind": "Note"
},
{
"title": "Design handoff guide",
"kind": "Guide"
}
]}
openedLabel="Opening Design system"
/>;Default example: Narrow a workspace search to design documents and open the design system. Render at 30 fps for 132 frames (4.4 seconds).
| Prop | Type | Default | Description |
|---|---|---|---|
query | string | "design" | |
items | readonly SearchResultsItem[] | See usage example | Everything searchable; the list shows the ones whose title contains the query so far. |
maxResults | number | 5 | How many results the list shows at most. |
openedLabel | string | "Opening Design system" | |
fontFamily | string | — | A face from the Imgcli font list, or any loaded CSS font stack. |
accentColor | string | — | |
theme | Partial<ImgcliTheme> | — | |
mode | "light" | "dark" | — | |
speed | number | 1 |
License
MIT. Free for personal and commercial use. Preserve the copyright and license notice.
Copyright (c) 2026 Ricky (Imgcli) <https://imgcli.com>
Frequently asked questions
How do I add Search Results to a Remotion project?
Run npx @imgcli/cli add search-results in your Remotion project. The CLI copies the editable source into components/imgcli/ under your source root and installs its dependencies.
What is Search Results?
Search Results is a Remotion search bar typing animation for React. A command palette finding something: each letter narrows the results live with the match in bold, the top result is highlighted, Enter flashes it and a status confirms it opened.
What do I need before using Search Results?
Use Node.js 20.19 or newer and an existing Remotion project. Create one with npx create-video@latest. The component is free and MIT licensed.