Spotlight Search

Spotlight Search: A global command palette and search overlay triggered by ⌘K featuring real-time fuzzy filtering, moving active highlight springs, kbd shortcuts, and full keyboard navigation. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Spotlight Search

npx motion-ui-skill add spotlight-search

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

Dependencies

  • clsx
  • lucide-react
  • motion
  • react
  • tailwind-merge

Source files

A global command palette and search overlay triggered by ⌘K featuring real-time fuzzy filtering, moving active highlight springs, kbd shortcuts, and full keyboard navigation.

Install

npx motion-ui-skill add spotlight-search

Dependencies

  • clsx
  • lucide-react
  • motion
  • react
  • tailwind-merge

Usage

"use client";

import { SpotlightSearch as SpotlightSearch } from "@/components/craft/spotlight-search";

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

Browse this category