Core Features
Univer Bases core combines a structured-data model with a browser workbench. The model and UI are delivered by two Univer SDK Pro packages and operate as an independent UNIVER_BASE unit.
Features
- Tables, fields, and records: Store typed fields and ordered records in each table.
- Multiple views: Project the same records through grid, Kanban, calendar, Gantt, and gallery views.
- Command-driven editing: Route model changes through one command layer with permissions and hooks for optional history and collaboration integrations.
- Formula fields: Connect Base fields to the Univer formula calculation pipeline.
- Browser workbench: Render views and provide selection, editing, clipboard, scrolling, and panels.
- Persistence: Create, restore, and save an
IBaseSnapshotwithout mutating the running snapshot directly.
Preset Mode
Univer Bases does not currently provide a dedicated preset. Use plugin mode for both the model and browser UI.
Plugin Mode
Installation
Add the two Bases product packages to the Univer runtime described in Installation & Basic Usage:
pnpm add @univerjs-pro/bases @univerjs-pro/bases-uinpm install @univerjs-pro/bases @univerjs-pro/bases-uiyarn add @univerjs-pro/bases @univerjs-pro/bases-uibun add @univerjs-pro/bases @univerjs-pro/bases-uiProduct plugin registration
Register the shared runtime, formula engine, and Pro license first as shown in the installation guide, then register the Bases plugins:
import { UniverBasesPlugin } from '@univerjs-pro/bases'import { UniverBasesUIPlugin } from '@univerjs-pro/bases-ui'import '@univerjs-pro/bases-ui/lib/index.css'univer.registerPlugin(UniverBasesPlugin)univer.registerPlugin(UniverBasesUIPlugin)UniverBasesPlugin registers the Base model, commands, field and view registries, formula integration, and permissions. UniverBasesUIPlugin adds the rendered workbench and browser interactions.
How is this guide?