Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
U

univer

> 开发工具
Open source

Univer is a full-stack framework for creating and editing spreadsheets / word processor / presentation on both web and server.

14.0K stars0 likes1 views
WebsiteGitHub

About

Univer is a full-stack framework for creating and editing spreadsheets / word processor / presentation on both web and server.

✨ What is Univer?

Univer is an open-source SDK for creating office applications inside your own product. It gives you the building blocks for spreadsheet, document, and presentation experiences without forcing you into a hosted app or a fixed UI.

Use Univer when you need to:

  • Embed spreadsheet or document editing into a SaaS product, internal tool, BI workflow, or AI application.
  • Run workbook/document processing on the server with the same architecture used in the browser.
  • Compose only the features you need through plugins or start quickly with presets.
  • Extend behavior through custom plugins, commands, services, UI components, and Facade APIs.

Univer is not a spreadsheet file viewer only. It is a framework for building your own productivity surface.

🌟 Highlights

⚡
Built for large surfaces
Canvas-based rendering and a dedicated formula engine keep complex workbooks responsive.
🧩
Plugin-shaped by default
Compose, replace, lazy-load, or extend capabilities without taking the whole stack.
🤖
Headless for AI infrastructure
Run workbook and document logic in Node.js to power agents, automation, and server-side workflows.
🛠️
Product-ready SDK
Framework adapters, Facade APIs, presets, and headless runtime fit real integration paths.
🌗
Dark-mode ready
UI components and the rendering engine both adapt to light and dark themes.
🔌
Unified Facade API
One consistent API surface for workbooks, ranges, formulas, and documents across browser and Node.js.

🚀 Why Univer?

  • Isomorphic by design: run UI apps in browsers and headless processing in Node.js.
  • Plugin-first architecture: every capability is delivered as a composable plugin, so features can be added, removed, replaced, or lazy-loaded.
  • Preset mode for fast integration: use the curated plugin collections in presets/ when you want a working app quickly.
  • Plugin mode for full control: manually compose packages when you need custom loading, smaller bundles, or deep integration.
  • Facade API: work with workbooks, worksheets, ranges, documents, formulas, commands, and events through a higher-level API.
  • Canvas rendering engine: support large editable document surfaces with a rendering layer shared across document types.
  • Extensible UI: integrate with React, Vue, Web Components, and framework-specific application shells.

⚡ Quick Start

Use Plugin Mode for complete product coverage and precise composition. For supported Sheets, Docs, and Node profiles, Preset Mode provides a shorter curated setup.

Plugin Mode

Plugin Mode gives you lower-level control over packages, style imports, locale merging, Facade API registration, and plugin configuration.

bash
pnpm add @univerjs/core @univerjs/design @univerjs/docs @univerjs/docs-ui @univerjs/engine-formula @univerjs/engine-render @univerjs/sheets @univerjs/sheets-formula @univerjs/sheets-formula-ui @univerjs/sheets-numfmt @univerjs/sheets-numfmt-ui @univerjs/sheets-ui @univerjs/ui
…
Preset Mode

Presets are curated collections of Univer plugins that include the required Facade API registrations and styles.

bash
pnpm add @univerjs/presets @univerjs/preset-sheets-core
typescript
import { UniverSheetsCorePreset } from '@univerjs/preset-sheets-core'
import UniverPresetSheetsCoreEnUS from '@univerjs/preset-sheets-core/locales/en-US'
import { createUniver, LocaleType, mergeLocales } from '@univerjs/presets'

import '@univerjs/preset-sheets-core/lib/index.css'

const { univerAPI } = createUniver({
  locale: LocaleType.EN_US,
  locales: {
    [LocaleType.EN_US]: mergeLocales(UniverPresetSheetsCoreEnUS),
  },
  presets: [
    UniverSheetsCorePreset({
      container: 'app',
    }),
  ],
})

univerAPI.createWorkbook({})

Your page needs a container:

xml

Learn more in the Installation & Basic Usage guide, the createUniver reference, and the Facade API reference.

🧩 Preset Mode vs Plugin Mode

Choose When to use it Start here
Plugin Mode You need strict control over packages, configured dependencies, lazy loading, or custom runtime composition. This repository's examples/ and architecture guide
Preset Mode You want a working Sheets, Docs, or Node setup with minimal configuration. This repository's presets/ and the getting started guide
Headless Mode You need server-side workbook/document processing, formula calculation, or automation without UI. Headless Univer

Keep the @univerjs/* SDK packages in the same coordinated Univer release line on the same version. Independently released packages, including @univerjs/icons and @univerjs/icons-svg, use the compatible versions declared by package manifests instead of the SDK version. If you use Univer Pro packages, keep @univerjs-pro/* aligned with the matching coordinated release line.

For API compatibility expectations, experimental APIs, internal APIs, and deprecation rules, see the API Stability Policy.

🧭 Compatibility

  • Browser runtime: Univer is compiled with a Chrome 88 target and aims to work on Edge >=88, Firefox >=90, Chrome >=88, Safari >=14.1, and Electron >=12.
  • Polyfills: Univer relies on Intl.Segmenter. Add a polyfill such as @formatjs/intl-segmenter if your target browser or runtime does not provide it.
  • Build tools: We recommend Vite, esbuild, or Webpack 5. If your build tool does not support the exports field in package.json (common in Webpack 4), you may need extra path mapping.
  • React: Univer's view layer is built on React 18, supports React 18 and 19, and provides minimal compatibility support for React 16.9+ and 17.
  • Node.js runtime: Headless Univer supports Node.js >=18.17.0. Developing this monorepo requires Node.js >=22.18.

🛠️ What You Can Build

Area Open-source capabilities Univer Pro extensions
Sheets Workbooks, worksheets, ranges, selection, formulas, number formatting, filtering, sorting, data validation, conditional formatting, hyperlinks, comments, find and replace, notes, tables, drawing integration, and extensible UI plugins. Real-time collaboration, edit history, import/export, printing, charts, pivot tables, sparklines, outlines, shapes, in-cell graphics, data connectors, server-side calculation, and performance-enhanced formula features.
Docs Rich document model, editing UI, lists, hyperlinks, drawing integration, comments, quick insert, and shared document architecture. Collaboration, import/export, printing, enhanced tables and lists, columns, callouts, code blocks, quotes, shapes, and remote comment resources.
Slides Presentation data model and UI packages under active development. Pro slide model and UI, slide import/export, chart and table model/UI plugins, and shared shape-editing infrastructure.
Bases Build custom structured-data experiences on top of Univer's plugin, command, and model architecture. Base database model, commands, formula integration, workbench UI, field editors, and render-engine views.
Runtime Browser apps, Node.js headless usage, Web Worker/RPC patterns, multi-instance usage, and server-oriented automation. Collaboration client/server packages, Node.js collaboration client, Pro server services, SSR, computing delegation, server-side calculation, and changeset replay tooling.
Integrations React, Vue, Web Components, framework templates, theming, localization, and custom plugins. Pro presets and enterprise deployment packages.

Sheets are the most mature product surface today. Docs and Slides share Univer's architecture and continue to evolve in the same SDK.

🔓 Open Source and Pro

This repository contains Univer's open-source core and first-party OSS plugins. Univer Pro is developed separately as a commercial extension layer for advanced product surfaces, collaboration, server features, and enterprise integrations.

Category Open source Univer Pro / commercial
Foundation Core SDK, plugin system, rendering engine, formula engine, Facade API, themes, i18n, and framework adapters. Pro presets and enterprise deployment packages.
Sheets Core spreadsheet editing, formulas, number formatting, filter/sort, data validation, conditional formatting, notes, tables, hyperlinks, comments, drawing, find and replace. Collaboration, edit history, import/export, print, charts, pivot tables, sparklines, outlines, shapes, in-cell graphics, data connectors, range preprocessing, and enhanced formula engine features.
Docs Document model and editor UI, lists, hyperlinks, comments, quick insert, and drawing integration. Collaboration, import/export, print, enhanced tables/lists, columns, callouts, code blocks, quotes, shapes, and remote thread-comment resources.
Slides OSS presentation model and UI packages. Pro slide model/UI packages, slide import/export, charts, tables, and reusable shape editor UI.
Bases Extensible plugin architecture for custom data-centric products. Base database core model, commands, mutations, formula integration, workbench UI, field editors, and render-engine integration.
Server and runtime Node.js headless runtime, RPC/Web Worker patterns, and server-oriented automation primitives. Collaboration server, Node.js collaboration client, SSR services, computing delegation, server-side calculation, and collaboration changeset replay tooling.

Pro features are documented in the Univer Pro guide. They are intentionally separated here so the OSS package surface is clear.

Boundary principles:

  • OSS packages in this repository are intended to be useful on their own under the Apache-2.0 license. Univer Pro is optional and is not required to use the public OSS SDK APIs.
  • Bugs, regressions, and security issues in OSS packages should be reported and fixed in the OSS repository, even when a related Pro feature exists.
  • OSS documentation should not imply that Pro-only capabilities are available in public @univerjs/* packages. Pro-only APIs, packages, and deployment paths should be named explicitly.
  • When an OSS feature has a Pro enhancement, the OSS behavior should remain documented independently so users can evaluate the open-source surface without reading commercial docs first.

🌐 Ecosystem

  • Core SDK: dream-num/univer, this monorepo.
  • Presets: this repository's presets/, curated plugin collections for browser and Node.js apps.
  • AI agent skills: dream-num/univer-sdk-skills, reusable instruction

Issues· 149 open

View all issuesOpen on GitHub
  • #7799

    [Bug] AVERAGE returns a single element of FILTER/SORT/UNIQUE or arithmetic array results

    Updated Oct 1, 2026
  • #7798

    [Bug] the univer pro docs hyperlink (https://docs.univer.ai/guides/pro) in the readme navigates to a page and it show : Page Not Found The page you are looking for does not exist.

    bug 🐛Updated Oct 1, 2026
  • #7676

    [Bug] I cannot reference another cell after formula fist argument if add space or newline

    bug 🐛Updated Sep 30, 2026
  • #7793

    [Bug] Formula number literals like 12.50, .5, 007 and 1E3 are treated as text

    Updated Sep 29, 2026
  • #7699

    [Bug] Formula assistant covers formula when its length is in few lines

    bug 🐛Updated Sep 28, 2026
  • #7757

    [Bug] Auto-extended filter range does not apply existing criteria to newly entered rows

    Updated Sep 27, 2026
  • #7759

    [Bug] Disposed HTTP interceptors still run on subsequent requests

    Updated Sep 27, 2026
  • #7758

    [Bug] Merge interceptor does not terminate all batched subscribers

    Updated Sep 27, 2026
  • #7748

    [Bug] At startup error message on each tab

    bug 🐛Updated Sep 26, 2026
  • #7747

    License terms for standalone Univer AI SDK modules

    Updated Sep 25, 2026

> Tags

TypeScriptcollaborationdata-tabledocdocx

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具