theshanelevine

Command Search

Component

About

A command-style search field with live filtering, a clear button, and a no-results empty state.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Command Search to your project and fits it to your theme.

Code

How Command Search is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import SearchList from "@/components/ui/search";

export default function Default() {
  return (
    <div className="flex min-h-[320px] w-full items-center justify-center rounded-window bg-canvas p-6">
      <SearchList />
    </div>
  );
}

More by theshanelevine

View all
  • Loading State

    Loading State

    940
  • Streaming Text

    Streaming Text

    484
  • Thinking

    Thinking

    157
  • Records Table

    Records Table

    111
  • Approval Card

    Approval Card

    74
  • Chat Panel

    Chat Panel

    39
  • Recommendation Card

    Recommendation Card

    4
  • Filter Table

    Filter Table

    2