Core Features

Headless supported

The core of Univer Sheets consists of a spreadsheet editor and the components that the editor requires: the formula engine, rendering engine, number formatting engine, design system, and UI component library. Together these parts support a wide range of spreadsheet formats and the complex operations that a real workbook involves.

Features

The core feature set covers:

  • Spreadsheet rendering: Draws the sheet content, the cursor, and the selection.
  • Cell styling: Sets fonts, colors, borders, and alignment on cells.
  • Formula calculation: Adds and calculates formulas, with support for nearly every Excel function, including math, statistical, text, and date functions.
  • Number formatting: Applies currency, percentage, date, and other number formats to values.
  • Gridlines and frozen panes: Shows gridlines and frozen panes, which makes large datasets easier to read and edit.
  • Default styles: Sets the default font, size, color, and other styles for a spreadsheet.
  • Plugin system: Allows the addition of custom plugins, such as formula, image, and chart plugins. The plugin system is also one of Univer's core architectural capabilities.

Plugin mode

Installation

Shell
pnpm add @univerjs/core @univerjs/design @univerjs/engine-render @univerjs/engine-formula @univerjs/ui @univerjs/docs @univerjs/docs-ui @univerjs/sheets @univerjs/sheets-ui @univerjs/sheets-formula @univerjs/sheets-formula-ui @univerjs/sheets-numfmt @univerjs/sheets-numfmt-ui

Usage

TypeScript
import { LocaleType, mergeLocales, Univer } from '@univerjs/core'import DesignEnUS from '@univerjs/design/locale/en-US'import { UniverDocsPlugin } from '@univerjs/docs'import { UniverDocsUIPlugin } from '@univerjs/docs-ui'import DocsUIEnUS from '@univerjs/docs-ui/locale/en-US'import { UniverFormulaEnginePlugin } from '@univerjs/engine-formula'import { UniverRenderEnginePlugin } from '@univerjs/engine-render'import { UniverSheetsPlugin } from '@univerjs/sheets'import { UniverSheetsFormulaPlugin } from '@univerjs/sheets-formula'import { UniverSheetsFormulaUIPlugin } from '@univerjs/sheets-formula-ui'import SheetsFormulaUIEnUS from '@univerjs/sheets-formula-ui/locale/en-US'import { UniverSheetsNumfmtPlugin } from '@univerjs/sheets-numfmt'import { UniverSheetsNumfmtUIPlugin } from '@univerjs/sheets-numfmt-ui'import SheetsNumfmtUIEnUS from '@univerjs/sheets-numfmt-ui/locale/en-US'import { UniverSheetsUIPlugin } from '@univerjs/sheets-ui'import SheetsUIEnUS from '@univerjs/sheets-ui/locale/en-US'import SheetsEnUS from '@univerjs/sheets/locale/en-US'import { UniverUIPlugin } from '@univerjs/ui'import UIEnUS from '@univerjs/ui/locale/en-US'import '@univerjs/design/lib/index.css'import '@univerjs/ui/lib/index.css'import '@univerjs/docs-ui/lib/index.css'import '@univerjs/sheets-ui/lib/index.css'import '@univerjs/sheets-formula-ui/lib/index.css'import '@univerjs/sheets-numfmt-ui/lib/index.css'import '@univerjs/engine-formula/facade'import '@univerjs/ui/facade'import '@univerjs/docs-ui/facade'import '@univerjs/sheets/facade'import '@univerjs/sheets-ui/facade'import '@univerjs/sheets-formula/facade'import '@univerjs/sheets-numfmt/facade'const univer = new Univer({  locale: LocaleType.EN_US,  locales: {    [LocaleType.EN_US]: mergeLocales(      DesignEnUS,      UIEnUS,      DocsUIEnUS,      SheetsEnUS,      SheetsUIEnUS,      SheetsFormulaUIEnUS,      SheetsNumfmtUIEnUS,    ),  },})univer.registerPlugin(UniverRenderEnginePlugin)univer.registerPlugin(UniverFormulaEnginePlugin)univer.registerPlugin(UniverUIPlugin, {  container: 'app',})univer.registerPlugin(UniverDocsPlugin)univer.registerPlugin(UniverDocsUIPlugin)univer.registerPlugin(UniverSheetsPlugin)univer.registerPlugin(UniverSheetsUIPlugin)univer.registerPlugin(UniverSheetsFormulaPlugin)univer.registerPlugin(UniverSheetsFormulaUIPlugin)univer.registerPlugin(UniverSheetsNumfmtPlugin)univer.registerPlugin(UniverSheetsNumfmtUIPlugin)

Plugin configuration

@univerjs/core

This package is the Univer core library. It creates Univer instances and manages base functionality such as themes and locales.

  • theme
    ThemeDefault: defaultTheme
    Theme used by the editor.
    • [palette]
      object
      • [shade]
        string
        Color palette keyed by name and shade. Use defaultTheme as the template.
  • darkMode
    booleanDefault: false
    Start in dark mode.
  • locale
    string
    Language used by menus and dialogs.
  • region
    stringDefault: Follows locale
    BCP 47 tag for regional formatting, for example LocaleType.DE_DE. It determines the currency symbol shown in the toolbar.
  • locales
    Record<string, ILanguagePack>
    Translations keyed by locale.
    • [locale]
      ILanguagePack
      Translations for one locale. Use the locale value as the key.
  • logLevel
    LogLevelDefault: LogLevel.INFO
    Verbosity of runtime logs.

Reference: Univer

@univerjs/engine-render

The rendering engine draws the sheet content, scrollbars, cursor, and selection. It exports UniverRenderEnginePlugin.

Reference: @univerjs/engine-render

@univerjs/engine-formula

The formula engine calculates and processes formulas, and it exports UniverFormulaEnginePlugin.

Reference: @univerjs/engine-formula

@univerjs/design

The design system provides the base components and styles.

See: UI Chapter

@univerjs/ui

This package provides the UI foundation and exports UniverUIPlugin.

UniverUIPlugin accepts options for the base layout.

  • container
    string | HTMLElement
    Element where the editor mounts.
  • header
    booleanDefault: true
    Shows the header.
  • toolbar
    booleanDefault: true
    Shows the toolbar.
  • ribbonType
    RibbonTypeDefault: 'classic'
    Selects the Ribbon layout.
  • contextMenu
    booleanDefault: true
    Enables context menus.
  • disableAutoFocus
    true
    Disables autofocus at startup.
  • menu
    Record<string, object>
    Order, placement and visibility of menu items.
    • [id]
      object
      An override for this menu item, Ribbon tab, or Ribbon group.
  • customFontFamily
    IFontConfig[] | object
    Adds these font choices to the dropdown.
    • list
      IFontConfig[]
      Adds these font choices to the dropdown.
      • value
        string
        Font family name used in CSS.
      • label
        string
        Display name or translation key.
      • category
        FontCategory
        Font group. Use sans-serif, serif, monospace, display, or handwriting.
    • override
      booleanDefault: false
      Replaces the built-in choices with the supplied list.
  • override
    [DependencyIdentifier, Provider | null][]
    Overrides injected dependencies.
    • [0]
      DependencyIdentifier
      Dependency identifier to replace.
    • [1]
      Provider | null
      Replacement provider. Pass null to remove the dependency.

Use menu to control the visibility of specific menu items:

TypeScript
univer.registerPlugin(UniverUIPlugin, {  menu: {    'sheet.command.set-range-bold': {      hidden: true,    },    'sheet.command.set-range-italic': {      hidden: true,      disabled: true,    },  },})

Both keys, 'sheet.command.set-range-bold' and 'sheet.command.set-range-italic', are menu item IDs; the Menu Item ID List below contains the full list.

Reference: @univerjs/ui

@univerjs/docs

This package is the core plugin for Univer Docs and exports UniverDocsPlugin.

Reference: @univerjs/docs

@univerjs/docs-ui

This package is the UI plugin for Univer Docs. It adds the UI components and interactions of the document editor and exports UniverDocsUIPlugin.

Reference: @univerjs/docs-ui

@univerjs/sheets

This package is the core plugin for Univer Sheets. It provides the core features of the spreadsheet editor and exports UniverSheetsPlugin.

UniverSheetsPlugin also accepts several options for the editor:

  • isRowStylePrecedeColumnStyle
    booleanDefault: false
    Allows the row style to override the column style.
  • autoHeightForMergedCells
    booleanDefault: false
    Automatically adjusts row height for merged cells.
  • freezeSync
    booleanDefault: true
    Synchronizes frozen panes during collaboration.
  • textLineGap
    numberDefault: 0
    Extra line spacing inside cells, in pixels.

Reference: @univerjs/sheets

@univerjs/sheets-ui

This package is the UI plugin for Univer Sheets. It adds the UI components and interactions of the spreadsheet editor and exports UniverSheetsUIPlugin.

UniverSheetsUIPlugin accepts options that change the editor UI:

  • formulaBar
    booleanDefault: true
    Shows the formula bar.
  • clipboardConfig
    object
    Hides the options button after pasting.
    • hidePasteOptions
      booleanDefault: false
      Hides the options button after pasting.
  • scrollConfig
    object
    Configures the scrollbars.
    • mainScene
      Scene
      Scene associated with the scrollbar.
    • thumbMargin
      numberDefault: 2
      Margin between the track and thumb, in pixels.
    • thumbLengthRatio
      numberDefault: 1
      Multiplier for thumb length.
    • thumbBackgroundColor
      stringDefault: 'gray.300'
      Thumb color.
    • thumbHoverBackgroundColor
      stringDefault: 'gray.400'
      Thumb color on hover.
    • thumbActiveBackgroundColor
      stringDefault: 'gray.500'
      Thumb color while dragging.
    • trackBackgroundColor
      stringDefault: 'gray.0'
      Track background color.
    • trackBorderColor
      stringDefault: 'gray.0'
      Track border color.
    • barSize
      numberDefault: 10
      Track thickness in pixels.
    • barBorder
      numberDefault: 1
      Track border thickness in pixels.
    • enableHorizontal
      booleanDefault: true
      Shows the horizontal scrollbar.
    • enableVertical
      booleanDefault: true
      Shows the vertical scrollbar.
    • hideTrackWhenUnscrollable
      booleanDefault: false
      Hides a track when its axis has no overflow.
    • minThumbSizeH
      numberDefault: 17
      Minimum horizontal thumb width in pixels.
    • minThumbSizeV
      numberDefault: 17
      Minimum vertical thumb height in pixels.
  • protectedRangeShadow
    boolean | 'always' | 'non-editable' | 'non-viewable' | 'none'Default: true
    Selects when protected ranges are shaded.
  • protectedRangeUserSelector
    object
    Customizes the picker for users of a protected range.
    • component
      ComponentType<IPermissionDetailUserPartProps>
      Component used to pick users.
    • framework
      string
      Framework used by the component, such as react.
  • disableForceStringAlert
    booleanDefault: false
    Hides the warning for a value stored as text.
  • disableForceStringMark
    booleanDefault: false
    Hides the marker for a value stored as text.
  • maxAutoHeightCount
    numberDefault: 1000
    Limits how many rows can be resized automatically.
  • allowArrowKeyWrapOnSheetBoundary
    booleanDefault: true
    Wraps arrow-key navigation at worksheet edges.
  • selectionAnimation
    booleanDefault: true
    Animates selection when clicking between cells on desktop. Respects the system motion setting.
  • enableFillHandle
    booleanDefault: true
    Shows the desktop fill handle. Fill commands remain available.
  • warnBeforeDragOverwrite
    booleanDefault: true
    Confirms before dragging a range over existing content. Move validation and undo still apply.

Reference: @univerjs/sheets-ui

Mobile support

Configure the mobile editor first. In the plugin-mode setup on this page, replace the desktop registrations below with the mobile exports from the same packages, and do so before you open a document. Retain the model plugins, styles, locales, and Facade imports, and do not register both variants.

PackageDesktop registrationMobile registration
@univerjs/sheets-formula-uiUniverSheetsFormulaUIPluginUniverSheetsFormulaMobileUIPlugin
@univerjs/sheets-numfmt-uiUniverSheetsNumfmtUIPluginUniverSheetsNumfmtMobileUIPlugin

Preset mode

Installation

Shell
pnpm add @univerjs/presets @univerjs/preset-sheets-core

Usage

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()],})univerAPI.createWorkbook({})

Preset configuration

@univerjs/presets

This preset provides createUniver for building a Univer application and re-exports every method and object from @univerjs/core and @univerjs/design.

createUniver accepts a configuration object that contains theme, language, presets, and other options. It returns a Univer instance named univer and an FUniver instance named univerAPI, which is used to call the Facade API.

  • theme
    ThemeDefault: defaultTheme
    Theme used by the editor.
    • [palette]
      object
      • [shade]
        string
        Color palette keyed by name and shade. Use defaultTheme as the template.
  • darkMode
    booleanDefault: false
    Start in dark mode.
  • locale
    string
    Language used by menus and dialogs.
  • region
    stringDefault: Follows locale
    BCP 47 tag for regional formatting, for example LocaleType.DE_DE. It determines the currency symbol shown in the toolbar.
  • locales
    Record<string, ILanguagePack>
    Translations keyed by locale.
    • [locale]
      ILanguagePack
      Translations for one locale. Use the locale value as the key.
  • logLevel
    LogLevelDefault: LogLevel.WARN
    Verbosity of runtime logs.
  • presets
    (IPreset | [IPreset, IPresetOptions])[]
    Presets to register.
    • [0]
      IPreset
      Preset returned by a preset factory.
    • [1]
      IPresetOptions
      Defers registration of this preset’s plugins.
      • lazy
        boolean
        Defers registration of this preset’s plugins.
    • lazy
      boolean
      Defers registration of this preset’s plugins.
  • plugins
    (PluginCtor | [PluginCtor, object])[]
    Additional plugins and their options.
    • [0]
      PluginCtor
      Plugin constructor.
    • [1]
      object
      Options accepted by that plugin’s constructor.

Reference: createUniver

@univerjs/preset-sheets-core

This package is the core preset for Univer Sheets. It bundles the components that a spreadsheet requires, such as the document editor, the formula engine, and the rendering engine.

  • container
    string | HTMLElementDefault: 'app'
    Element where the editor mounts.
  • header
    booleanDefault: true
    Shows the header.
  • toolbar
    booleanDefault: true
    Shows the toolbar.
  • ribbonType
    RibbonTypeDefault: 'classic'
    Selects the Ribbon layout.
  • contextMenu
    booleanDefault: true
    Enables context menus.
  • disableAutoFocus
    true
    Disables autofocus at startup.
  • menu
    Record<string, object>
    Order, placement and visibility of menu items.
    • [id]
      object
      An override for this menu item, Ribbon tab, or Ribbon group.
  • customFontFamily
    IFontConfig[] | object
    Adds these font choices to the dropdown.
    • list
      IFontConfig[]
      Adds these font choices to the dropdown.
      • value
        string
        Font family name used in CSS.
      • label
        string
        Display name or translation key.
      • category
        FontCategory
        Font group. Use sans-serif, serif, monospace, display, or handwriting.
    • override
      booleanDefault: false
      Replaces the built-in choices with the supplied list.
  • formulaBar
    booleanDefault: true
    Shows the formula bar.
  • disableTextFormatAlert
    booleanDefault: false
    Hides the text format warning.
  • disableTextFormatMark
    booleanDefault: false
    Hides the text format marker.
  • sheets
    object
    Settings for the selected feature.
    • isRowStylePrecedeColumnStyle
      booleanDefault: false
      Allows the row style to override the column style.
    • autoHeightForMergedCells
      booleanDefault: false
      Automatically adjusts row height for merged cells.
    • freezeSync
      booleanDefault: true
      Synchronizes frozen panes during collaboration.
    • textLineGap
      numberDefault: 0
      Extra line spacing inside cells, in pixels.
    • clipboardConfig
      object
      Hides the options button after pasting.
      • hidePasteOptions
        booleanDefault: false
        Hides the options button after pasting.
    • scrollConfig
      object
      Configures the scrollbars.
    • protectedRangeShadow
      boolean | 'always' | 'non-editable' | 'non-viewable' | 'none'Default: true
      Selects when protected ranges are shaded.
    • protectedRangeUserSelector
      object
      Customizes the picker for users of a protected range.
      • component
        ComponentType<IPermissionDetailUserPartProps>
        Component used to pick users.
      • framework
        string
        Framework used by the component, such as react.
    • disableForceStringAlert
      booleanDefault: false
      Hides the warning for a value stored as text.
    • disableForceStringMark
      booleanDefault: false
      Hides the marker for a value stored as text.
    • maxAutoHeightCount
      numberDefault: 1000
      Limits how many rows can be resized automatically.
    • allowArrowKeyWrapOnSheetBoundary
      booleanDefault: true
      Wraps arrow-key navigation at worksheet edges.
    • selectionAnimation
      booleanDefault: true
      Animates selection when clicking between cells on desktop. Respects the system motion setting.
    • enableFillHandle
      booleanDefault: true
      Shows the desktop fill handle. Fill commands remain available.
    • warnBeforeDragOverwrite
      booleanDefault: true
      Confirms before dragging a range over existing content. Move validation and undo still apply.
  • docs
    object
    Settings for the selected feature.
    • hasScroll
      boolean
      Shows the Docs scrollbars.
  • formula
    object
    Accepts formula functions, descriptions, calculation mode, and screen tip settings.
    • function
      [Ctor<BaseFunction>, string][]
      Custom formula implementations.
      • [0]
        Ctor<BaseFunction>
        Formula class.
      • [1]
        string
        Name used in formulas.
    • description
      object[]
      Function descriptions shown in the editor.
    • initialFormulaComputing
      CalculationModeDefault: CalculationMode.WHEN_EMPTY
      Formula calculation on opening a workbook.
    • functionScreenTips
      booleanDefault: true
      Shows function hints while editing formulas.
  • workerURL
    string | URL | Worker
    Run formula calculation in a browser Worker.

Use menu to control the visibility of specific menu items:

TypeScript
UniverSheetsCorePreset({  menu: {    'sheet.command.set-range-bold': {      hidden: true,    },    'sheet.command.set-range-italic': {      hidden: true,      disabled: true,    },  },})

Both keys, 'sheet.command.set-range-bold' and 'sheet.command.set-range-italic', are menu item IDs; the Menu Item ID List below contains the full list.

Reference: @univerjs/preset-sheets-core

Toolbar layout and RibbonType

Set ribbonType in IUniverSheetsCorePresetConfig or IUniverUIConfig to choose the toolbar layout.

There are four modes:

  • classic: The default layout. Groups occupy the upper row and the toolbar runs below them, matching what users of traditional layouts expect.
  • grid: Keeps the tabs and arranges each group's tools below them in a two-row grid. It suits desktop layouts that need more tools visible at once.
  • collapsed: Places the groups and the toolbar on the same row, which conserves vertical space when it is limited.
  • simple: Removes grouping and places every tool in a single flat list, for users who already know what each button does.

When a grid Ribbon has insufficient width, entire groups move into More and their controls switch to a compact layout. They return when the container is widened. This follows the available width automatically, so keep the existing gridLayout for the main Ribbon. The overflow menu retains the same commands, disabled states, and permission checks.

A key in menu can be a Ribbon tab such as ribbon.insert, a group such as ribbon.start.format, or a menu item ID.

order sorts siblings from low to high: tabs within the Ribbon, groups within a tab, and items within a group or submenu. It does not move a menu item into another group. In place of string keys, you can use RibbonPosition and the group enums exported by @univerjs/ui.

Merge these options into the existing initialization for the current mode. Keep the other plugins, locale, theme, and container settings, and do not register the same plugin twice.

TypeScript
import type { MenuConfig } from '@univerjs/ui'const menu: MenuConfig = {  'ribbon.insert': { order: -1 },  'ribbon.start.format': { order: -1 },  'sheet.command.set-range-font-family': {    order: 0,    gridLayout: { row: 1, column: 1, width: 160 },  },}
TypeScript
import { UniverUIPlugin } from '@univerjs/ui'univer.registerPlugin(UniverUIPlugin, {  ribbonType: 'grid',  menu,})

Selection and dragging

Keyboard navigation at worksheet boundaries

allowArrowKeyWrapOnSheetBoundary determines whether arrow keys wrap to the next row or column at a worksheet edge. It defaults to true; set it to false to stop at the edge. Enter/Tab cycling inside a selected range is not affected. In preset mode, set it under sheets; in plugin mode, pass it directly to UniverSheetsUIPlugin.

selectionAnimation: false disables the selection outline animation when the selection moves between cells; the system reduced-motion preference takes precedence. enableFillHandle: false hides the fill handle while fill commands and Facade APIs remain available. warnBeforeDragOverwrite: false skips the confirmation prompt before a drag overwrites existing content; move validation and undo/redo still apply. All three options default to true. Pass them under sheets in UniverSheetsCorePreset, or directly to UniverSheetsUIPlugin.

TypeScript
univer.registerPlugin(UniverSheetsUIPlugin, {  allowArrowKeyWrapOnSheetBoundary: false,  selectionAnimation: false,  enableFillHandle: false,  warnBeforeDragOverwrite: false,})

Runtime updates

The public Facade merges the changes and refreshes the UI immediately. Properties that are omitted keep their previous values or the schema defaults, and the overrides also apply to menus registered later. In plugin mode, import @univerjs/ui/facade first.

TypeScript
import '@univerjs/ui/facade'univerAPI.updateMenuConfig({  'sheet.command.set-range-bold': {    order: 0,    gridLayout: { row: 2, column: 2 },  },  'sheet.command.set-range-italic': {    gridLayout: { row: 2, column: 1 },  },})

gridLayout only has an effect with ribbonType: 'grid'. Every group has two rows, and row and column start at 1. Coordinates are explicit, so changing only order does not move a button that was placed explicitly. When two buttons are swapped, both must be updated, or they overlap. The optional fields are rowSpan, columnSpan, showLabel, width, and iconSize, with sizes in pixels. IRibbonGridLayout lists the constraints and defaults.

Custom menu placement

createMenu() and createSubmenu() also accept order and gridLayout. On a submenu, these fields position the Ribbon trigger rather than the contents of the popup. The following example adds a button in the third column of the History group:

TypeScript
univerAPI  .createMenu({    id: 'custom-action',    title: 'Custom action',    action: () => console.log('Custom action clicked'),    order: 4,    gridLayout: { row: 1, column: 3, showLabel: true, width: 96 },  })  .appendTo('ribbon.start.history')

The tables below organize desktop menu items by where they appear. An item can appear in several places, and the row and column headers reuse some cell context menu items. Feature menus appear only when the corresponding plugin is registered; visibility also depends on permissions and the current selection. Mobile-only IDs are listed separately at the end.

The data-u-command attribute on a menu item's DOM element is its menu item ID. The menu config uses this menu item ID, which can differ from the command ID that the item invokes.

Toolbar menu items

Menu Item IDMenu Item Name
univer.command.undoUndo
univer.command.redoRedo
ui.operation.activate-format-painterPaint format
sheet.command.set-range-boldBold
sheet.command.set-range-italicItalic
sheet.command.set-range-underlineUnderline
sheet.command.set-range-strokeStrikethrough
sheet.command.set-range-font-familyFont
sheet.command.set-range-fontsizeFont size
sheet.command.set-range-text-colorText color
sheet.command.set-background-colorFill color
sheet.command.set-border-basicBorder
sheet.command.set-horizontal-text-alignHorizontal align
sheet.command.set-vertical-text-alignVertical align
sheet.command.set-text-wrapText wrap
sheet.command.set-text-rotationText rotate
sheet.command.add-worksheet-mergeMerge cells
sheet.command.add-worksheet-merge-allMerge cells - Merge all
sheet.command.add-worksheet-merge-verticalMerge cells - Vertical merge
sheet.command.add-worksheet-merge-horizontalMerge cells - Horizontal merge
sheet.command.remove-worksheet-mergeMerge cells - Cancel merge
sheet.operation.open.conditional.formatting.panelConditional Formatting
formula-ui.operation.insert-function.commonCommon Functions
formula-ui.operation.more-functionsFunctions - More Functions
sheet.menu.sheets-sortSort
sheet.command.sort-range-ascSort - Ascending
sheet.command.sort-range-asc-extSort - Expand Ascending
sheet.command.sort-range-descSort - Descending
sheet.command.sort-range-desc-extSort - Expand Descending
sheet.command.sort-range-customSort - Custom Sort
sheet.menu.imageImage
sheet.command.insert-float-imageImage - Float Image
sheet.command.insert-cell-imageImage - Cell Image
sheet.command.numfmt.set.currencyCurrency
sheet.command.numfmt.add.decimal.commandIncrease decimal places
sheet.command.numfmt.subtract.decimal.commandDecreasing decimal places
sheet.command.numfmt.set.percentPercentage
sheet.operation.open.numfmt.panelNumber format
sheet.menu.data-validationData validation
data-validation.operation.open-validation-panelData validation - Data validation management
data-validation.command.addRuleAndOpenData validation - Add Rule
sheet.command.smart-toggle-filterToggle Filter
sheet.command.clear-filter-criteriaToggle Filter - Clear Filter Conditions
sheet.command.re-calc-filterToggle Filter - Re-calc Filter Conditions
sheet.operation.open-pivot-table-range-selector-panelPivot Table
sheet.menu.printPrint
sheet.operation.print-openPrint - Print
sheet.operation.open-print-grid-sidebarPrint - Print Layout
sheet.command.menu-insert-chartInsert chart
sheet.command.add-range-protection-from-toolbarProtection
univer.operation.toggle-edit-historyEdit History
sheet.operation.open-sparkline-selectorSparkline
sheet.operation.toggle-comment-panelComment Management
sheet.operation.insert-hyper-link-toolbarInsert Link
ui.operation.open-find-dialogFind & Replace
base-ui.operation.toggle-shortcut-panelToggle Shortcut Panel
sheet.command.add-data-bar-conditional-ruleData Bar
sheet.command.add-icon-set-conditional-ruleIcon Set
sheet.operation.toggle-crosshair-highlightCrosshair Highlight
data-validation.command.insert-quick-ruleCheckbox
sheet.menu.quick-dropdownDropdown
sheet.menu.quick-dateDate
sheet.menu.worksheet-background-imageBackground Image
sheet.command.add-worksheet-background-imageAdd Background Image
sheet.command.delete-worksheet-background-imageDelete Background Image
formula-ui.operation.insert-function.financialFinancial
formula-ui.operation.insert-function.logicalLogical
formula-ui.operation.insert-function.textText
formula-ui.operation.insert-function.dateDate & Time
formula-ui.operation.insert-function.lookupLookup & Reference
formula-ui.operation.insert-function.mathMath & Trig
formula-ui.operation.insert-function.statisticalStatistical
formula-ui.operation.insert-function.engineeringEngineering
formula-ui.operation.insert-function.informationInformation
formula-ui.operation.insert-function.databaseDatabase
sheets-formula-ui.operation.calculation-optionsCalculation Options
sheet.operation.open-table-selectorTable
sheet.menu.pastePaste
sheet.command.set-range-font-increaseIncrease font size
sheet.command.set-range-font-decreaseDecrease font size
sheet.command.reset-range-text-colorText color - Reset
sheet.command.reset-background-colorFill color - Reset
sheet.command.set-shrink-to-fitShrink to fit
sheet.toolbar.sheet-frozenFreeze
sheet.menu.zoom-ratioZoom
sheet.command.toggle-gridlinesToggle Gridlines
base-ui.operation.toggle-fullscreenFullscreen
ui.command.clear-formattingClear formatting
ui.operation.open-feature-searchSearch features
sheet.toolbar.dimension-outline.groupGroup
sheet.command.menu-insert-pivot-chartPivot Chart
sheet.pivot-chart.insertPivot Chart
sheet.command.menu-insert-shapeInsert Shape
sheet.operation.open-shape-object-list-panelLayers
sheet.operation.open-slicer-insert-dialogInsert slicer
sheet.menu.insert-timelineInsert timeline

Context menu items

Menu Item IDMenu Item Name
sheet.command.copyCopy
sheet.command.cutCut
sheet.command.pastePaste
sheet.menu.copy-specialCopy Special
sheet.command.copy-formula-onlyCopy Special - Copy Formula Only
sheet.menu.paste-specialPaste Special
sheet.command.paste-valuePaste Special - Paste Value
sheet.command.paste-formatPaste Special - Paste Format
sheet.command.paste-col-widthPaste Special - Paste Column Width
sheet.command.paste-besides-borderPaste Special - Paste Besides Border Styles
sheet.command.paste-formulaPaste Special - Paste Formula
sheet.menu.clear-selectionClear
sheet.command.clear-selection-contentClear - Clear Contents
sheet.command.clear-selection-formatClear - Clear Formats
sheet.command.clear-selection-allClear - Clear All
sheet.contextMenu.text-to-numberText to Number
sheet.menu.cell-insertInsert
sheet.command.insert-row-beforeInsert - Insert Row Before
sheet.command.insert-col-beforeInsert - Insert Column Before
sheet.command.insert-range-move-right-confirmInsert - Move Right
sheet.command.insert-range-move-down-confirmInsert - Move Down
sheet.menu.deleteDelete
sheet.command.remove-row-confirmDelete Selected Row
sheet.command.remove-col-confirmDelete Selected Column
sheet.command.delete-range-move-left-confirmDelete - Move Left
sheet.command.delete-range-move-up-confirmDelete - Move Up
sheet.menu.sheet-frozenFreeze
sheet.command.set-selection-frozenFreeze - Freeze
sheet.command.set-row-frozenFreeze - Freeze to this row
sheet.command.set-col-frozenFreeze - Freeze to this column
sheet.command.cancel-frozenFreeze - Cancel freeze
sheet.contextMenu.permissionProtect Rows And Columns
sheet.command.add-range-protection-from-context-menuProtect Rows And Columns - Add Protection Range
sheet.command.set-range-protection-from-context-menuProtect Rows And Columns - Set Protection Range
sheet.command.delete-range-protection-from-context-menuProtect Rows And Columns - Remove Protection Range
sheet.command.view-sheet-permission-from-context-menuProtect Rows And Columns - View All Protection Ranges
sheet.menu.sheets-sort-ctxSort
sheet.command.sort-range-asc-ctxSort - Ascending
sheet.command.sort-range-asc-ext-ctxSort - Expand Ascending
sheet.command.sort-range-desc-ctxSort - Descending
sheet.command.sort-range-desc-ext-ctxSort - Expand Descending
sheet.command.sort-range-custom-ctxSort - Custom Sort
sheet.operation.show-comment-modalAdd Comment
sheet.operation.insert-hyper-linkInsert Link
sheet.operation.screenshotCopy as picture
sheet.command.save-cell-imagesSave Cell Images
sheet.operation.add-note-popupAdd Note
sheet.command.delete-noteDelete Note
sheet.command.toggle-note-popupShow/Hide Note
sheet.table.context-insert_menu-idInsert Table
sheet.command.table-insert-rowInsert Table Row
sheet.command.table-insert-colInsert Table Column
sheet.table.context-remove_menu-idRemove Table
sheet.command.table-remove-rowRemove Table Row
sheet.command.table-remove-colRemove Table Column
sheet.command.set-first-row-frozenFreeze first row
sheet.command.set-first-column-frozenFreeze first column
sheet.sparkline.context-menu-idSparkline
sheet.operation.open-sparkline-panelEdit Sparkline
sheet.command.remove-sparklineRemove Sparkline

Context menu items - row header

Menu Item IDMenu Item Name
sheet.command.insert-multi-rows-aboveInsert Row Before
sheet.command.insert-multi-rows-afterInsert Row After
sheet.command.hide-row-confirmHide Selected Row
sheet.command.set-selected-rows-visibleShow Hide Row
sheet.command.set-row-heightRow Height
sheet.command.set-row-is-auto-heightFit for data
sheet.row-header-menu.sheet-frozenFreeze
sheet.contextMenu.dimension-outlineGroup

Context menu items - column header

Menu Item IDMenu Item Name
sheet.command.insert-multi-cols-beforeInsert Column Before
sheet.command.insert-multi-cols-rightInsert Column After
sheet.command.hide-col-confirmHide Selected Column
sheet.command.set-selected-cols-visibleShow Hide Column
sheet.command.set-worksheet-col-widthColumn Width
sheet.command.set-col-auto-widthFit for data
sheet.column-header-menu.sheet-frozenFreeze
sheet.contextMenu.dimension-outlineGroup

Context menu items - sheet tabs

Menu Item IDMenu Item Name
sheet.command.remove-sheet-confirmDelete
sheet.command.copy-sheetCopy
sheet.operation.rename-sheetRename
sheet.command.set-tab-colorChange color
sheet.command.set-worksheet-hiddenHide
ui-sheet.command.show-menu-listUnhide
sheet.command.add-range-protection-from-sheet-barProtect Worksheet
sheet.command.delete-worksheet-protection-from-sheet-barUnprotect Worksheet
sheet.command.change-sheet-protection-from-sheet-barChange Worksheet Permissions
sheet.command.view-sheet-permission-from-sheet-barView All Protection Ranges

Pivot table and pivot chart context menu items

Menu Item IDMenu Item Name
sheet.pivot-chart.expand-collapseExpand/Collapse
sheet.pivot.context-menu.date-groupDate Group
sheet.pivot.context-menu.excel-date-groupGroup Dates
sheet.pivot.context-menu.number-groupGroup Numbers
sheet.pivot.context-menu.manual-groupGroup Items
sheet.pivot.context-menu.manual-renameRename Group
sheet.pivot.context-menu.manual-ungroupUngroup
sheet.pivot.context-menu.show-data-asShow Values As
sheet.pivot.context-menu.value-filterValue Filters
sheet.pivot.context-menu.date-group.yearDate Group - Year
sheet.pivot.context-menu.date-group.year-quarterDate Group - Year-Quarter
sheet.pivot.context-menu.date-group.quarterDate Group - Quarter
sheet.pivot.context-menu.date-group.year-monthDate Group - Year-Month
sheet.pivot.context-menu.date-group.monthDate Group - Month
sheet.pivot.context-menu.date-group.month-dateDate Group - Month-Date
sheet.pivot.context-menu.date-group.year-month-dateDate Group - Year-Month-Date
sheet.pivot.context-menu.date-group.dateDate Group - Date
sheet.pivot.context-menu.date-group.hourDate Group - Hour
sheet.pivot.context-menu.date-group.minuteDate Group - Minute
sheet.pivot.context-menu.date-group.hour-minuteDate Group - Hour-Minute
sheet.pivot.context-menu.show-data-as.1Show Values As - No Calculation
sheet.pivot.context-menu.show-data-as.4Show Values As - % of Grand Total
sheet.pivot.context-menu.show-data-as.3Show Values As - % of Row Total
sheet.pivot.context-menu.show-data-as.2Show Values As - % of Column Total
sheet.pivot.context-menu.show-data-as.6Show Values As - % of Parent Row Total
sheet.pivot.context-menu.show-data-as.5Show Values As - % of Parent Column Total
sheet.pivot.context-menu.show-data-as.8Show Values As - Index
sheet.pivot.context-menu.show-data-as.14Show Values As - % of Parent Total
sheet.pivot.context-menu.show-data-as.13Show Values As - % Of
sheet.pivot.context-menu.show-data-as.9Show Values As - Difference From
sheet.pivot.context-menu.show-data-as.10Show Values As - % Difference From
sheet.pivot.context-menu.show-data-as.11Show Values As - Running Total In
sheet.pivot.context-menu.show-data-as.12Show Values As - % Running Total In
sheet.pivot.context-menu.show-data-as.15Show Values As - Rank Smallest to Largest
sheet.pivot.context-menu.show-data-as.16Show Values As - Rank Largest to Smallest

Drawing and chart menu items

Menu Item IDMenu Item Name
contextMenu.drawing-groupGroup
drawing.operation.set-drawing-groupGroup
drawing.operation.cancel-drawing-groupUngroup
contextMenu.drawing-arrangeArrange
drawing.operation.set-drawing-arrange-frontBring to Front
drawing.operation.set-drawing-arrange-forwardBring Forward
drawing.operation.set-drawing-arrange-backSend to Back
drawing.operation.set-drawing-arrange-backwardSend Backward
contextMenu.drawing-alignAlign
sheet.operation.set-drawing-align-leftAlign Left
sheet.operation.set-drawing-align-centerAlign Center
sheet.operation.set-drawing-align-rightAlign Right
sheet.operation.set-drawing-align-topAlign Top
sheet.operation.set-drawing-align-middleAlign Middle
sheet.operation.set-drawing-align-bottomAlign Bottom
sheet.operation.set-drawing-align-horizonDistribute Horizontally
sheet.operation.set-drawing-align-verticalDistribute Vertically
sheet.operation.add-drawing-commentAdd Comment
sheet.command.chart.open-focused-panelEdit chart
sheet.command.chart.copy-focused-chartCopy
sheet.command.chart.export-focused-imageExport as image
sheet.command.chart.delete-focused-chartDelete chart

Contextual ribbon menu items

These controls appear when the matching shape, slicer, or timeline is selected.

Menu Item IDMenu Item Name
sheet.operation.apply-shape-quick-styleQuick styles
sheet.operation.update-shape-typeChange Shape
sheets-shape-ui.ribbon.shape-format.style-controlShape style controls
sheets-shape-ui.ribbon.shape-format.text-controlShape text controls
sheet.menu.shape.flip-horizontalFlip Horizontal
sheet.menu.shape.flip-verticalFlip Vertical
sheets-shape-ui.ribbon.shape-format.arrange-forwardBring Forward
sheets-shape-ui.ribbon.shape-format.arrange-backwardSend Backward
sheets-shape-ui.ribbon.shape-format.arrange-frontBring to Front
sheets-shape-ui.ribbon.shape-format.arrange-backSend to Back
sheets-shape-ui.ribbon.shape-format.formula-controlFormula shape controls
sheet.operation.open-sheet-shape-format-panelFormat Shape
shape-editor-ui.operation.toggle-floating-toolbarFloating toolbar
sheet.menu.slicer-quick-styleQuick styles
sheet.menu.slicer-settingsSlicer settings
sheet.menu.timeline-settingsTimeline settings
sheet.menu.slicer-connectionsReport connections

Mobile-only menu items

Menu Item IDMenu Item Name
sheet.menu.mobile.crosshair-highlightCrosshair Highlight
sheet.menu.mobile.numfmtNumber format
sheet.command.set-once-format-painterPaint format

How is this guide?

© 2026 DreamNum Co., Ltd.