An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# cmd-bar wip

![Preview](./public/cmd-bar.png)

[![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'






icon
{{ 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