diff --git a/apps/www/__registry__/index.ts b/apps/www/__registry__/index.ts
index 6887e03fd..a617c5465 100644
--- a/apps/www/__registry__/index.ts
+++ b/apps/www/__registry__/index.ts
@@ -311,6 +311,13 @@ export const Index = {
component: () => import('../src/lib/registry/default/example/CommandDialogDemo.vue').then(m => m.default),
files: ['../src/lib/registry/default/example/CommandDialogDemo.vue'],
},
+ CommandDialogUseFuseDemo: {
+ name: 'CommandDialogUseFuseDemo',
+ type: 'components:example',
+ registryDependencies: ['command'],
+ component: () => import('../src/lib/registry/default/example/CommandDialogUseFuseDemo.vue').then(m => m.default),
+ files: ['../src/lib/registry/default/example/CommandDialogUseFuseDemo.vue'],
+ },
ContextMenuDemo: {
name: 'ContextMenuDemo',
type: 'components:example',
@@ -1265,6 +1272,13 @@ export const Index = {
component: () => import('../src/lib/registry/new-york/example/CommandDialogDemo.vue').then(m => m.default),
files: ['../src/lib/registry/new-york/example/CommandDialogDemo.vue'],
},
+ CommandDialogUseFuseDemo: {
+ name: 'CommandDialogUseFuseDemo',
+ type: 'components:example',
+ registryDependencies: ['command'],
+ component: () => import('../src/lib/registry/new-york/example/CommandDialogUseFuseDemo.vue').then(m => m.default),
+ files: ['../src/lib/registry/new-york/example/CommandDialogUseFuseDemo.vue'],
+ },
ContextMenuDemo: {
name: 'ContextMenuDemo',
type: 'components:example',
diff --git a/apps/www/package.json b/apps/www/package.json
index 29385c7dc..3984a9de0 100644
--- a/apps/www/package.json
+++ b/apps/www/package.json
@@ -24,6 +24,7 @@
"@unovis/vue": "^1.3.3",
"@vee-validate/zod": "^4.12.5",
"@vueuse/core": "^10.7.2",
+ "@vueuse/integrations": "^10.7.2",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"codesandbox": "^2.2.3",
diff --git a/apps/www/src/content/docs/components/command.md b/apps/www/src/content/docs/components/command.md
index eb77f9b6a..184c4e567 100644
--- a/apps/www/src/content/docs/components/command.md
+++ b/apps/www/src/content/docs/components/command.md
@@ -137,7 +137,106 @@ watch(CmdJ, (v) => {
```
+### Dialog with custom filter (Fuse.js)
+
+
+For this Demo we will use the [useFuse](https://vueuse.org/integrations/useFuse/) integration. Don't forget to install `fuse.js` and `@vueuse/integrations`:
+
+```bash
+ pnpm install fuse.js @vueuse/integrations
+```
+
+Code Example:
+```vue
+
+
+
+
+
+ Press
+
+ ⌘M
+
+
+
+
+
+ No results found.
+
+
+ Calendar
+
+
+ Search Emoji
+
+
+ Calculator
+
+
+
+
+
+ Profile
+
+
+ Billing
+
+
+ Settings
+
+
+
+
+
+
+```
### Combobox
You can use the `` component as a combobox. See the [Combobox](/docs/components/combobox) page for more information.
diff --git a/apps/www/src/lib/registry/default/example/CommandDialogUseFuseDemo.vue b/apps/www/src/lib/registry/default/example/CommandDialogUseFuseDemo.vue
new file mode 100644
index 000000000..54061a40d
--- /dev/null
+++ b/apps/www/src/lib/registry/default/example/CommandDialogUseFuseDemo.vue
@@ -0,0 +1,87 @@
+
+
+
+
+
+ Press
+
+ ⌘M
+
+
+
+
+
+ No results found.
+
+
+ Calendar
+
+
+ Search Emoji
+
+
+ Calculator
+
+
+
+
+
+ Profile
+
+
+ Billing
+
+
+ Settings
+
+
+
+
+
+
diff --git a/apps/www/src/lib/registry/default/ui/command/CommandDialog.vue b/apps/www/src/lib/registry/default/ui/command/CommandDialog.vue
index 37c8406a1..35a244c8a 100644
--- a/apps/www/src/lib/registry/default/ui/command/CommandDialog.vue
+++ b/apps/www/src/lib/registry/default/ui/command/CommandDialog.vue
@@ -1,19 +1,31 @@
-