Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
@univerjs/drawing
@univerjs/drawing provides the shared drawing data model, services, and commands used by Docs, Sheets, and other drawing-enabled surfaces.
Package Overview
| Package | UMD global | CSS | Locales | Facade entry | Worker entry |
|---|---|---|---|---|---|
@univerjs/drawing |
UniverDrawing |
No | No | No | No |
Installation
pnpm add @univerjs/drawing
# or
npm install @univerjs/drawing
Usage
Start 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 { UniverDrawingPlugin } from '@univerjs/drawing';
univer.registerPlugin(UniverDrawingPlugin);