Components
Mention Menu
Async '@'-mention search surface — shadcn Command in a Popover, driven by useMention.
Installation
bunx --bun shadcn@latest add @slash-editor/mention-menuUsage
Wire an async provider through blockKit.mention.items:
useSlashEditor({
blockKit: {
mention: { items: (query, { signal }) => yourMentionProvider(query, signal) },
},
});