@univerjs/ui
@univerjs/ui provides Univer's shared application UI framework, workbench services, menu infrastructure, dialogs, clipboard services, and Facade UI APIs.
Package Overview
| Package | UMD global | CSS | Locales | Facade entry |
|---|---|---|---|---|
@univerjs/ui |
UniverUi |
Yes | Yes | Yes |
Installation
pnpm add @univerjs/ui
# or
npm install @univerjs/uiKeep all @univerjs/* packages on the same version.
Usage
import '@univerjs/ui/lib/index.css';
import EnUS from '@univerjs/ui/locale/en-US';
import { UniverUIPlugin } from '@univerjs/ui';
univer.registerPlugin(UniverUIPlugin);
// Merge EnUS into your Univer locale map when this package contributes UI text.Exported plugin classes:
UniverUIPluginUniverMobileUIPlugin