# @univerjs/sheets-formula-ui

- Human documentation: [https://docs.univer.ai/reference/packages/plugins/univerjs/sheets-formula-ui](https://docs.univer.ai/reference/packages/plugins/univerjs/sheets-formula-ui)

- Agent Markdown: [https://docs.univer.ai/reference/packages/plugins/univerjs/sheets-formula-ui.md](https://docs.univer.ai/reference/packages/plugins/univerjs/sheets-formula-ui.md)

- Requested language: `en-US`

- Content language: `en-US`

- Documentation version: `1.0.0-rc.0`

- Source: [packages/plugins/univerjs/sheets-formula-ui.mdx](https://github.com/dream-num/documentation/blob/dev/content/reference/packages/plugins/univerjs/sheets-formula-ui.mdx)

---

Formula editing UI for Univer Sheets.

```typescript
// [!code word:UniverSheetsFormulaUIPlugin]
// [!code word:IUniverSheetsFormulaUIConfig]
import { UniverSheetsFormulaUIPlugin } from '@univerjs/sheets-formula-ui'

univer.registerPlugin(UniverSheetsFormulaUIPlugin, IUniverSheetsFormulaUIConfig)
```

## Entry Points

* Facade: `@univerjs/sheets-formula-ui/facade`
* Locale: `@univerjs/sheets-formula-ui/locale/*`

## IUniverSheetsFormulaUIConfig

```ts
import type { Ctor } from '@univerjs/core'
import type { BaseFunction, IFunctionInfo, IFunctionNames } from '@univerjs/engine-formula'
import type { MenuConfig } from '@univerjs/ui'

export interface IUniverSheetsFormulaUIConfig {
  menu?: MenuConfig
  notExecuteFormula?: boolean
  description?: IFunctionInfo[]
  function?: Array<[Ctor<BaseFunction>, IFunctionNames]>
  /**
   * The switch for the function screen tips display in the formula editor.
   * @default true
   */
  functionScreenTips?: boolean
}
```
