# layout.toolOverflow

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

- Type: `ToolOverflowMode`
- Default: `'menu'`
- Page: https://kernstra.com/docs/web-sdk/config/layout/tooloverflow

With `'menu'` the bar keeps the tools that fit and moves the rest into a **More** popover, so every tool stays reachable at any width. The button carries a count of what is in the menu, so it is obvious the product did not shrink — the window did. Which tools stay is decided by use first and importance second: the four tools used most recently always keep their place on the bar, and a tool picked from the menu joins them on the bar at once, displacing the least important. Beyond those four, the content tools (Edit Text, Add Text, Sign, Draw) outrank the mode tools (Pan, Select), and the Outline / Attachments / Signatures panel toggles are the first chrome to move into the menu. Menu contents are listed in declared order, so they do not reshuffle as the container resizes.

Set `'scroll'` to keep a single horizontally scrolling strip instead.

- `'menu'`: Default. Tools that do not fit collapse into a **More** popover, ranked by use and importance.
- `'scroll'`: A single horizontally scrolling strip.

Web page: https://kernstra.com/docs/web-sdk/config/layout/tooloverflow
