Command

Command: Fast keyboard-driven command palette with fuzzy search and item grouping. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Command

npx motion-ui-skill add command

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

Dependencies

  • clsx
  • cmdk
  • lucide-react
  • react
  • react-dom
  • tailwind-merge

Source files

Command

Component from Motion UI: command

Install

npx motion-ui-skill add command

Dependencies

  • clsx
  • cmdk
  • lucide-react
  • react
  • tailwind-merge

Usage

"use client";

import Command from "@/components/craft/command";

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

Browse this category