@nice2dev/ui-communication
v1.0.5
Published
NiceCommunication — full-spectrum communication suite: chat bubble, messenger, voice/video calls, multi-party conference, and Teams-style workspace. Provider-agnostic RTC transport.
Maintainers
Readme
@nice2dev/ui-communication
Full-featured communication suite for React — chat, DMs, channels, audio/video calls, whiteboard, recordings, E2E encryption.
Features
NiceCommunication
Main entry-point with 7 modes:
| Mode | Description | |------|-------------| | bubble | Floating chat bubble (customer support style) | | chat | Standalone chat panel | | messenger | Full messenger with contact list | | workspace | Teams-style workspace with rail navigation | | call | Audio/video call UI | | conference | Multi-participant conference | | whiteboard | Collaborative whiteboard |
Components
- NiceTeamsWorkspace — Teams-style workspace with rail navigation + whiteboard integration
- NiceWhiteboard — Collaborative whiteboard with 15 tools, multi-user cursors, CRDT, layers, zoom/pan, export PNG/SVG
- NiceCollaborativeEditor — Overlay for any editor: cursors, avatars, follow-user, conflict banner, read-only mode
- NiceStorageSettings — Data retention configuration (8 data types) + per-scope encryption + usage bar
- NiceRecordingPanel — Recording management + live timer + audio player + transcript preview (Web Speech API)
Services
- EncryptionService — Web Crypto API: AES-GCM-128/256, E2E-ECDH-P384, ECDSA signatures
- StorageService — IndexedDB/localStorage + retention rules (8 data types) + export/import
- RecordingService — MediaRecorder + Web Speech API transcription + export/delete
- useWhiteboard — CRDT hook (undo/redo, auto-save, remote op dedup with vector clock)
Installation
npm install @nice2dev/ui-communicationLicense
MIT © NiceToDev
