https://github.com/fabkho/cmd-bar
Performant, unstyled command palette for Vue 3.
https://github.com/fabkho/cmd-bar
cmdk command command-bar command-k command-palette vue vue3
Last synced: about 2 months ago
JSON representation
Performant, unstyled command palette for Vue 3.
- Host: GitHub
- URL: https://github.com/fabkho/cmd-bar
- Owner: fabkho
- License: mit
- Created: 2023-08-08T15:43:02.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2026-03-23T11:53:46.000Z (3 months ago)
- Last Synced: 2026-03-24T09:02:08.789Z (3 months ago)
- Topics: cmdk, command, command-bar, command-k, command-palette, vue, vue3
- Language: Vue
- Homepage:
- Size: 10.2 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# cmd-bar wip

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![License][license-src]][license-href]
[![Vue][vue-src]][vue-href]
## 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](https://vueuse.org/core/useVirtualList/#usevirtuallist)
[📖 Read more](https://cmd-bar.nuxt.space)
## Quick Setup
1. Add `cmd-bar` dependency to your project
```bash
# Using pnpm
pnpm add -D cmd-bar
# Using yarn
yarn add --dev cmd-bar
# Using npm
npm install --save-dev cmd-bar
```
2. Then you can import the `CmdBar` Compound Component in your project.
```ts
import { CmdBar } from 'cmd-bar'
{{ command.label }}
{{ shortcut }}
```
That's it! ✨
[📖 Read more](https://cmd-bar.nuxt.space/introduction/getting-started)
Props to [xiaoluoboding/vue-command-palette](https://github.com/xiaoluoboding/vue-command-palette) and [CommandPalette - Nuxt UI](https://ui.nuxt.com/navigation/command-palette), for the inspiration.
[npm-version-src]: https://img.shields.io/npm/v/cmd-bar/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-version-href]: https://npmjs.com/package/cmd-bar
[npm-downloads-src]: https://img.shields.io/npm/dm/cmd-bar.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-downloads-href]: https://npmjs.com/package/cmd-bar
[license-src]: https://img.shields.io/npm/l/cmd-bar.svg?style=flat&colorA=18181B&colorB=28CF8D
[license-href]: https://npmjs.com/package/cmd-bar
[vue-src]: https://img.shields.io/badge/Vue-18181B?&logo=vue.js
[vue-href]: https://vuejs.org