# @univerjs/thread-comment-ui

> Language fallback: requested `zh-CN`; content is `en-US`.

- Human documentation: [https://docs.univer.ai/zh-CN/reference/packages/plugins/univerjs/thread-comment-ui](https://docs.univer.ai/zh-CN/reference/packages/plugins/univerjs/thread-comment-ui)

- Agent Markdown: [https://docs.univer.ai/zh-CN/reference/packages/plugins/univerjs/thread-comment-ui.md](https://docs.univer.ai/zh-CN/reference/packages/plugins/univerjs/thread-comment-ui.md)

- Requested language: `zh-CN`

- Content language: `en-US`

- Documentation version: `1.0.0-rc.0`

- Source: [packages/plugins/univerjs/thread-comment-ui.mdx](https://github.com/dream-num/documentation/blob/dev/content/reference/packages/plugins/univerjs/thread-comment-ui.mdx)

---

Shared thread comment UI components and services for Univer.

```typescript
// [!code word:UniverThreadCommentUIPlugin]
// [!code word:IUniverThreadCommentUIConfig]
import { UniverThreadCommentUIPlugin } from '@univerjs/thread-comment-ui'

univer.registerPlugin(UniverThreadCommentUIPlugin, IUniverThreadCommentUIConfig)
```

For mobile applications, register `UniverThreadCommentMobileUIPlugin` instead:

```typescript
import { UniverThreadCommentMobileUIPlugin } from '@univerjs/thread-comment-ui'

univer.registerPlugin(UniverThreadCommentMobileUIPlugin)
```

## Entry Points

* Locale: `@univerjs/thread-comment-ui/locale/*`

## IUniverThreadCommentUIConfig

```ts
import type { DependencyOverride } from '@univerjs/core'
import type { MenuConfig } from '@univerjs/ui'

export interface IUniverThreadCommentUIConfig {
  overrides?: DependencyOverride
  menu?: MenuConfig
}
```
