cmd-bar
Versatile Vue 3 command-bar component
21,365
7
| Install | |
|---|---|
npm install cmd-bar |
|
| Latest Version: | 0.9.22 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Jul 15, 2026 |
| Links: | GitHub · npm |
Maintainer: fabian-kho
cmd-bar wip

Features
- 🎨 Unstyled - No styles included, you can style it as you want
- 🧩 Extensible - You can add your own Modal and components
- ⌨️ Key bindings - Usable with just a keyboard
- 🧙 Virtualized - It uses useVirtualList
Quick Setup
- Add
cmd-bardependency to your project
# Using pnpm
pnpm add -D cmd-bar
# Using yarn
yarn add --dev cmd-bar
# Using npm
npm install --save-dev cmd-bar
- Then you can import the
CmdBarCompound Component in your project.
import { CmdBar } from 'cmd-bar'
<CmdBar :groups="groupedCommands" />
<CmdBarDialog>
<template #header>
<CmdBarInput placeholder="search fo anything />
</template>
<template #content>
<CmdBarList :config="listConfig">
<template #default="{ command }">
<div class="leading">
<img :src="https://raw.githubusercontent.com/fabkho/cmd-bar/HEAD/command.leading" alt="icon" />
{{ command.label }}
</div>
<span v-if="command.shortcut" class="actions">
<kbd v-for="shortcut of formattedShortcuts(command.shortcut)" :key="shortcut">
{{ shortcut }}
</kbd>
</span>
</template>
</CmdBarList>
</template>
</CmdBarDialog>
</CmdBar>
That's it! ✨
Props to xiaoluoboding/vue-command-palette and CommandPalette - Nuxt UI, for the inspiration.
Related Packages
@bytebase/vue-kbar
Extensible command+k interface for Vue 3 applications. Inspired by timc1/kbar.
14,122
Version History
| Version | Released | License |
|---|---|---|
| 0.9.22 | MIT | |
| 0.9.21 | MIT | |
| 0.9.20 | MIT | |
| 0.9.19 | MIT | |
| 0.9.18 | MIT | |
| 0.9.17 | MIT | |
| 0.9.16 | MIT | |
| 0.9.15 | MIT | |
| 0.9.14 | MIT | |
| 0.9.13 | MIT | |
| 0.9.12 | MIT | |
| 0.9.11 | MIT | |
| 0.9.10 | MIT | |
| 0.9.9 | MIT | |
| 0.9.8 | MIT | |
| 0.9.7 | MIT | |
| 0.9.6 | MIT | |
| 0.9.5 | MIT | |
| 0.9.4 | MIT | |
| 0.9.3 | MIT | |
| 0.9.2 | MIT | |
| 0.9.1 | MIT | |
| 0.9.0 | MIT | |
| 0.8.1 | MIT | |
| 0.8.0 | MIT | |
| 0.7.9 | MIT | |
| 0.7.8 | MIT | |
| 0.7.5 | MIT | |
| 0.7.4 | MIT | |
| 0.7.3 | MIT |
Showing the latest 30 of 42. See every release on npm