stacks/command-palette
publicClone
Push over the same URL. A password will not work: create a token under access tokens and use it in place of one.
⌘-k, or anything — Create beautiful, performant command palettes for your application.
- .github
- .stacks
- .vscode
- apps
- components
- config
- functions
- tests
- .editorconfig 147 B
- .env.example 157 B
- .eslintrc 24 B
- .gitattributes 89 B
- .gitignore 94 B
- .node-version 8 B
- .npmignore 271 B
- .npmrc 110 B
- CHANGELOG.md 24.4 KB
- commitlint.config.cjs 3.7 KB
- LICENSE.md 1.1 KB
- package.json 2.7 KB
- pnpm-lock.yaml 253.7 KB
- pnpm-workspace.yaml 147 B
- README.md 3.8 KB
- tsconfig.json 1.3 KB
Project Status: Abandoned
This project is no longer maintained.
The source code has been moved to a new location and is now part of the Stacks UI components. You can find the updated project here.

Command Palettes
Command Palettes, similar to kbar, are often used within applications. This library is to help create a custom & performant command palette for your application. Useful functions & headless components included.
🤖 Zero-config, by design
🎨 Built-in animations
🧙🏼♀️ Fully customizable components
✨ Highly performant
The simple way to to use & design
⌘-kcommand palettes.
Get Started
It's incredibly easy to get started with this Command Palette stack. Simply install either of the following packages, dependent on whether you want to use framework agnostic Web Components or Vue components.
npm install @stacksjs/command-palette-elements
npm install @stacksjs/command-palette-vue🤖 Usage
Web Component usage
<html>
<body>
<command-palette></command-palette>
<script src="command-palette.js"></script>
</body>
</html>Vue 2 & 3 usage
<script setup lang="ts">
import CommandPalette from '@stacksjs/command-palette-vue'
</script>
<template>
<CommandPalette />
</template>You're developing your own command palette components and simply want to reuse the functions/composables?
Functions usage
npm install command-palette-fxAfter you installed the command-palette library, you can then make of functions in the following way:
import { isDark, toggleDark } from 'command-palette-fx'
console.log('is dark mode?', isDark)🧪 Testing
pnpm test📈 Changelog
Please see our releases page for more information on what has changed recently.
💪🏼 Contributing
Please see CONTRIBUTING for details.
🏝 Community
For help, discussion about best practices, or any other conversation that would benefit from being searchable:
For casual chit-chat with others using this package:
Join the Open Web Discord Server
📄 License
The MIT License (MIT). Please see LICENSE for more information.
Made with ❤️
[npm-downloads-href]: https://npmjs.com/package/@stacksjs/command-palette-vue --> [codecov-href]: https://codecov.io/gh/ow3org/command-palette -->