Spotlight Bar
Spotlight Bar: Spotlight-style command search in the frosted dock shell — keyboard nav and suggestions. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Spotlight Bar
npx motion-ui-skill add spotlight-barComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxlucide-reactreacttailwind-merge
Source files
Spotlight Bar
Spotlight-style command search in the frosted dock shell — keyboard nav and suggestions.
Install
npx motion-ui-skill add spotlight-bar
Dependencies
clsxlucide-reactreacttailwind-merge
Usage
"use client";
import { SpotlightBar } from "@/components/docks/spotlight-bar";
export function SpotlightBarDemo() {
return (
<div className="flex items-center justify-center p-6">
<SpotlightBar />
</div>
);
}
API Reference
SpotlightBar
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
className |
string |
— | No | Additional CSS classes |