# EditorUi.ribbon Property

> EditorUi.ribbon property in the TX Sheet Control TypeScript API for Node.js, with its type RibbonApi and a TypeScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > EditorUi > EditorUi.ribbon Property
- **310 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/editorui/ribbon-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/editorui/ribbon-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/editorui/ribbon-property/llms-full.txt

---

The browser editor ribbon exposes presentation settings, item policies and a catalog of built-in controls.

### Syntax

```typescript
readonly ribbon: RibbonApi;
```

See [RibbonApi](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/ribbonapi/llms-full.txt) for the complete controller. A headless server workbook has no mounted ribbon.

### Examples

Use a mounted editor to configure the commands available for editing a report.

```typescript
import { Spreadsheet } from '@txtextcontrol/tx-sheet-control';

function configureEditor(host: HTMLElement) {
    const editor = new Spreadsheet(host, {
        license: 'YOUR_SIGNED_LICENSE',
        height: 600,
        fontCatalogURL: '/assets/sheet/fonts/catalog.json',
    });
    editor.ui.ribbon.configure({ layout: 'compact', buttons: { 'home.font.bold': { enabled: false } } });
    return editor;
}
```

Replace `YOUR_SIGNED_LICENSE` with your issued Trial, Developer or OEM token before running the editor example.

---

## Nearby

- **Previous:** [EditorUi.resolvedTheme Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/editorui/resolvedtheme-property/llms-full.txt)
- **Next:** [EditorUi.selectChart Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/editorui/selectchart-method/llms-full.txt)
