@univerjs/thread-comment-ui provides common thread comment UI components and services shared by Docs and Sheets integrations.
| Package | UMD global | CSS | Locales | Facade entry | Worker entry |
|---|---|---|---|---|---|
@univerjs/thread-comment-ui |
UniverThreadCommentUi |
Yes | Yes | No | No |
pnpm add @univerjs/thread-comment-ui
# or
npm install @univerjs/thread-comment-uiStart with the integration setup for your document type, including its required plugins, styles, and locale resources. The snippet below assumes that setup is complete.
import '@univerjs/thread-comment-ui/lib/index.css';
import EnUS from '@univerjs/thread-comment-ui/locale/en-US';
import { UniverThreadCommentUIPlugin } from '@univerjs/thread-comment-ui';
univer.registerPlugin(UniverThreadCommentUIPlugin);
// Merge EnUS into your Univer locale map when this package contributes UI text.Product-specific packages such as @univerjs/sheets-thread-comment-ui and @univerjs/docs-thread-comment-ui build on this shared UI layer.