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/sheets-formula-ui
@univerjs/sheets-formula-ui adds formula editing UI for Univer Sheets, including formula input, suggestions, highlighting, and range selection.
Package Overview
| Package | UMD global | CSS | Locales | Facade entry | Worker entry |
|---|---|---|---|---|---|
@univerjs/sheets-formula-ui |
UniverSheetsFormulaUi |
Yes | Yes | Yes | No |
Installation
pnpm add @univerjs/sheets-formula-ui
# or
npm install @univerjs/sheets-formula-ui
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 '@univerjs/sheets-formula-ui/lib/index.css';
import EnUS from '@univerjs/sheets-formula-ui/locale/en-US';
import { UniverSheetsFormulaUIPlugin } from '@univerjs/sheets-formula-ui';
univer.registerPlugin(UniverSheetsFormulaUIPlugin);
// Merge EnUS into your Univer locale map when this package contributes UI text.
Integration Notes
- Import
@univerjs/sheets-formula-ui/facadewhen using this package through Univer Facade APIs.