Back to UI Components
Components

Command Button

A button showing a command key icon that reveals a keyboard shortcut and sweeps a shimmer across itself when hovered, for toolbars and menus.

Command Button is a real, MIT-licensed React + Tailwind UI component from the open-source Kokonut UI library. Run the install command above with the shadcn CLI and it drops the component's actual source straight into your project.

It depends on lucide-react, so make sure those are installed too.

We re-check this entry on a schedule, so the install command keeps pointing at the current registry item.

CategoryComponents
LibraryKokonut UI
Dependencieslucide-react
npx shadcn@latest add "https://kokonutui.com/r/command-button.json"

How to use it

  1. Run the install command above — the shadcn CLI drops the real component files into your project.
  2. Install the dependencies listed below it, if any.
  3. Import the component and restyle it with your own Tailwind tokens.
Compiled and written by VintuxAI from public sources.
← Back to UI Components