# Responsive FloatingToolbar

The FloatingToolbar provides built-in horizontal scrolling to keep tools on one row when space is limited.

## Scroll Mode

To keep tools on one row and scroll horizontally when they do not fit, set the [`overflow`](https://www.telerik.com/kendo-react-ui/components/buttons/api/floatingtoolbarprops#overflow) property to `scroll`. The default value is `none`, which does not apply an overflow strategy.

While `overflow` is set to `scroll`, you can configure the following options:

* [`scrollButtons`](https://www.telerik.com/kendo-react-ui/components/buttons/api/floatingtoolbarprops#scrollbuttons)—Determines the visibility of the scroll buttons. The available values are `hidden`, `visible`, and `auto` (default).
* [`scrollButtonsPosition`](https://www.telerik.com/kendo-react-ui/components/buttons/api/floatingtoolbarprops#scrollbuttonsposition)—Specifies the position of the scroll buttons: `start`, `end`, or `split` (default).
* [`buttonScrollSpeed`](https://www.telerik.com/kendo-react-ui/components/buttons/api/floatingtoolbarprops#buttonscrollspeed)—Sets the scroll speed in pixels when clicking a scroll button. The default value is `100`.
* [`prevButton`](https://www.telerik.com/kendo-react-ui/components/buttons/api/floatingtoolbarprops#prevbutton) and [`nextButton`](https://www.telerik.com/kendo-react-ui/components/buttons/api/floatingtoolbarprops#nextbutton)—Specifies custom scroll buttons.

The FloatingToolbar recalculates overflowing tools when the available width changes, such as when the browser window is resized.

The following example demonstrates a text-formatting toolbar that scrolls horizontally when its tools do not fit. Use the slider to change the width of the FloatingToolbar.

[Demo Source](https://demos.telerik.com/kendo-react-ui/buttons/floatingtoolbar/overflow-scroll/source.txt)

## Suggested Links

* [API Reference of the FloatingToolbar](https://www.telerik.com/kendo-react-ui/components/buttons/api/floatingtoolbar)
* [API Reference of the FloatingToolbarProps](https://www.telerik.com/kendo-react-ui/components/buttons/api/floatingtoolbarprops)
* [Responsive Toolbar](https://www.telerik.com/kendo-react-ui/components/buttons/toolbar/responsive)
