# toolbar.groups

Part of [Toolbar](https://kernstra.com/docs/web-sdk/config/toolbar) in the Kernstra Web SDK 1.0.0 configuration reference.

- Type: `string[]`
- Default: `[] (all)`
- Page: https://kernstra.com/docs/web-sdk/config/toolbar/groups

The group ids you want. A group you leave out is dropped with its tools — how a review product ships three tabs instead of six. Unknown ids are ignored. On the ribbon each group is a tab, in the order you list them. The bar arranges its tools its own way, so there the list only decides which tools appear. Dropped tools stay available to `viewer.activateTool()`, for hosts that draw their own buttons; use [`tools`](https://kernstra.com/docs/web-sdk/config/tools) to switch a tool off entirely. The six ids and their tools are in the table below.

A group whose every tool is disabled through `tools` renders no tab and no cluster — you will not be left with an empty **Annotate** tab.

```ts
// A review product: mark-up first, then reading. No text editing, pages or security.
toolbar: { layout: 'ribbon', groups: ['annotate', 'review'] }
```

Web page: https://kernstra.com/docs/web-sdk/config/toolbar/groups
