slash-editor
Components

Mention Menu

Async '@'-mention search surface — shadcn Command in a Popover, driven by useMention.

Installation

bunx --bun shadcn@latest add @slash-editor/mention-menu

Usage

Wire an async provider through blockKit.mention.items:

useSlashEditor({
  blockKit: {
    mention: { items: (query, { signal }) => yourMentionProvider(query, signal) },
  },
});

On this page