# CollaborationUser (@salmonui/rich-text/collab)

> The CollaborationUser interface of @salmonui/rich-text/collab: The local user as remote peers see them (cursor label and color).

Canonical: https://salmonui.dev/docs/reference/rich-text/collab/CollaborationUser

```ts
import type { CollaborationUser } from '@salmonui/rich-text/collab';
```

Entry index: https://salmonui.dev/docs/reference/rich-text/collab (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/rich-text/collab.md).

## Reference

Kind: interface

```ts
interface CollaborationUser {
    readonly id: string;
    readonly name: string;
    readonly color: string;
}
```

The local user as remote peers see them (cursor label and color).

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `id` | `readonly id: string;` |  |  |
| `name` | `readonly name: string;` |  |  |
| `color` | `readonly color: string;` |  | A CSS color for the remote cursor and selection, for example `#2563eb`. |
