@mocanvas/mocanvas · function

CursorChatItem

declare function CursorChatItem({ onSubmit }: {
    onSubmit?(text: string): void;
}): ReactNode

The cursor-chat entry field.

A local-only overlay: it publishes nothing on its own, and calls onSubmit so a host with a transport can send the message. That keeps cursor chat available as chrome without mocanvas pretending to have a message channel.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.