npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@cmd-kit/vue

v0.1.4

Published

Vue bindings for cmd+kit

Readme

@cmd-kit/vue

npm version Vue TypeScript License

Vue adapter for Cmd+kit with default UI, keyboard navigation, nested sections, async source, and slot customization.

Website: https://cmd-kit.vercel.app/
Docs: https://cmd-kit.vercel.app/docs/vue

🌐 Language


🇪🇸 Español

⚡ Instalación

npm install @cmd-kit/vue vue

✅ Qué incluye

  • CommandPalette (componente).
  • useCommandPalette (composable).
  • Atajo global (mod+k por defecto).
  • Navegación por teclado y secciones anidadas.
  • Soporte async (source).
  • Recientes opcionales con deduplicación.
  • Personalización por slots, theme y classNames.
  • theme en modo simple o dual (light/dark).
  • reducedMotion para desactivar animaciones de hover/movimiento.

🚀 Uso rápido

<script setup lang="ts">
import { CommandPalette } from "@cmd-kit/vue";
</script>

<template>
  <CommandPalette />
</template>

🧩 Ejemplo con secciones

<script setup lang="ts">
import { CommandPalette } from "@cmd-kit/vue";

const sections = [
  {
    id: "workspace",
    title: "Workspace",
    items: [
      { id: "overview", title: "Overview", shortcut: "mod+o" },
      { id: "projects", title: "Projects", shortcut: "mod+p" }
    ]
  }
];
</script>

<template>
  <CommandPalette :sections="sections" title="Command menu" />
</template>

🎨 Slots disponibles

  • title
  • section-title
  • item
  • empty-state

Ejemplo:

<CommandPalette :sections="sections">
  <template #item="{ item, active }">
    <div :style="{ opacity: active ? 1 : 0.8 }">{{ item.title }}</div>
  </template>
</CommandPalette>

Tema dual (claro/oscuro):

<CommandPalette
  :sections="sections"
  :theme="{
    light: { accentColor: '#0fa6d8', backgroundColor: '#ffffff' },
    dark: { accentColor: '#35d7ff', backgroundColor: '#0b1116' }
  }"
  title="Command menu"
/>

🛝 Integración desde Playground

  1. Configura comandos en playground.
  2. Exporta target Vue.
  3. Copia sections/items + opcionales.
  4. Pégalos en tu <CommandPalette />.

🤝 Contribuciones

Si encuentras un bug o mejora de integración Vue, abre issue/PR.


🇬🇧 English

⚡ Install

npm install @cmd-kit/vue vue

✅ What you get

  • CommandPalette component.
  • useCommandPalette composable.
  • Global shortcut (mod+k by default).
  • Keyboard + nested navigation.
  • Async source support.
  • Optional recents with dedupe.
  • Slot-based customization + theme + classNames.
  • theme in single mode or dual mode (light/dark).
  • reducedMotion prop to disable hover/motion animations.

🚀 Quick start

<script setup lang="ts">
import { CommandPalette } from "@cmd-kit/vue";
</script>

<template>
  <CommandPalette />
</template>

🎨 Slots

  • title
  • section-title
  • item
  • empty-state

Dual theme example:

<CommandPalette
  :sections="sections"
  :theme="{
    light: { accentColor: '#0fa6d8', backgroundColor: '#ffffff' },
    dark: { accentColor: '#35d7ff', backgroundColor: '#0b1116' }
  }"
  title="Command menu"
/>

🛝 Playground integration

Use Vue export target and paste the generated config into your component integration.

🤝 Contributing

PRs are welcome for Vue adapter bugs and DX improvements.


Portfolio: Fr4n0m → https://codebyfran.es