-
diff --git a/apps/www/src/registry/new-york/ui/command/CommandItem.vue b/apps/www/src/registry/new-york/ui/command/CommandItem.vue
index dcbe942e..a72d16d2 100644
--- a/apps/www/src/registry/new-york/ui/command/CommandItem.vue
+++ b/apps/www/src/registry/new-york/ui/command/CommandItem.vue
@@ -1,11 +1,13 @@
- {
+ filterState.search = ''
+ }"
>
-
+
diff --git a/apps/www/src/registry/new-york/ui/command/CommandList.vue b/apps/www/src/registry/new-york/ui/command/CommandList.vue
index 82e81e96..83c7d95a 100644
--- a/apps/www/src/registry/new-york/ui/command/CommandList.vue
+++ b/apps/www/src/registry/new-york/ui/command/CommandList.vue
@@ -1,13 +1,10 @@
-
+
-
+
diff --git a/apps/www/src/registry/new-york/ui/command/CommandSeparator.vue b/apps/www/src/registry/new-york/ui/command/CommandSeparator.vue
index cc5f0550..41220204 100644
--- a/apps/www/src/registry/new-york/ui/command/CommandSeparator.vue
+++ b/apps/www/src/registry/new-york/ui/command/CommandSeparator.vue
@@ -1,10 +1,10 @@
-
-
+
diff --git a/apps/www/src/registry/new-york/ui/command/index.ts b/apps/www/src/registry/new-york/ui/command/index.ts
index 0e35f4b9..cb48e1eb 100644
--- a/apps/www/src/registry/new-york/ui/command/index.ts
+++ b/apps/www/src/registry/new-york/ui/command/index.ts
@@ -1,3 +1,6 @@
+import type { Ref } from 'vue'
+import { createContext } from 'reka-ui'
+
export { default as Command } from './Command.vue'
export { default as CommandDialog } from './CommandDialog.vue'
export { default as CommandEmpty } from './CommandEmpty.vue'
@@ -7,3 +10,16 @@ export { default as CommandItem } from './CommandItem.vue'
export { default as CommandList } from './CommandList.vue'
export { default as CommandSeparator } from './CommandSeparator.vue'
export { default as CommandShortcut } from './CommandShortcut.vue'
+
+export const [useCommand, provideCommandContext] = createContext<{
+ allItems: Ref