# filterSlashMenuItems

**Kind:** Function

**Source:** [`atloria-monorepo/packages/editor/src/plugins/slash-menu/index.tsx`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/packages/editor/src/plugins/slash-menu/index.tsx#L173)

Case-insensitive filter over registry items: matches label, keywords, and
group. Empty query matches everything. Exported for tests.

## Signature

```ts
function filterSlashMenuItems(items: SlashMenuItem[], query: string): SlashMenuItem[]
```

## Parameters

| Name | Type |
|---|---|
| `items` | `SlashMenuItem[]` |
| `query` | `string` |

**Returns:** `SlashMenuItem[]`
