# Scrollable Tabs

The TabStrip allows you to scroll through its tabs when the tab list cannot fit in the component boundaries. It provides a rich API for customizing the scroll logic and the TabStrip appearance based on your preference.

## Setup

To enable the scrolling of the tab list, set the [`scrollable`](https://www.telerik.com/kendo-react-ui/components/layout/api/tabstripprops#scrollable) prop to true.

The TabStrip enables you to configure the following options:

* `scrollButtons`—Allows specifying the scroll buttons visibility. The default value is `auto`.
* `scrollButtonsPosition`—Sets the scroll buttons position according to the tab list. The default value is `split`.
* `buttonScrollSpeed`—Sets the tab list scroll speed in pixels when clicking the scroll buttons. The default value is `100px`.
* `prevButton`—Allows specifying a custom component for the `previous` scroll button.
* `nextButton`—Allows specifying a custom component for the `next` scroll button.

The following example demonstrates a scrollable TabStrip in action.

[Demo Source](https://demos.telerik.com/kendo-react-ui/layout/tabstrip/scrollable/func/source.txt)

## Configuring the Scroll Buttons Position

By default, the TabStrip renders its scroll buttons on both ends of the tab list. To customize this behavior, use the [`scrollButtonsPosition`](https://www.telerik.com/kendo-react-ui/components/layout/api/tabstripprops#scrollButtonsPosition) property of the TabStrip by passing the following values:

* `split`(Default)—The scroll buttons will be rendered on both sides of the tab list.
* `start`—The scroll buttons will be rendered prior to the tab list.
* `end`—The scroll buttons will be rendered after the tab list.

The following example demonstrates this in action.

[Demo Source](https://demos.telerik.com/kendo-react-ui/layout/tabstrip/scroll-buttons-position/func/source.txt)

## Configuring the Scroll Buttons Visibility

You can configure the TabStrip to display scroll buttons in the tab list. To customize this behavior, use the [`scrollButtons`](https://www.telerik.com/kendo-react-ui/components/layout/api/tabstripprops#scrollButtons) property of the TabStrip. This property accepts the following values:

* `auto`(Default)—The scroll buttons will be automatically shown if the tabs do not fit inside the TabStrip boundaries, and hidden otherwise.
* `visible`—The scroll buttons will be constantly visible. If the tabs fit inside the TabStrip boundaries, the buttons will be disabled.
* `hidden`—The scroll buttons won't be displayed but the scroll is still available.

The following example demonstrates this in action.

[Demo Source](https://demos.telerik.com/kendo-react-ui/layout/tabstrip/scroll-buttons-visibility/func/source.txt)

## Right-to-Left Support

The TabStrip allows you to change the direction of the content to right-to-left using its [`dir`](https://www.telerik.com/kendo-react-ui/components/layout/api/tabstripprops#dir) property.

[Demo Source](https://demos.telerik.com/kendo-react-ui/layout/tabstrip/rtl/func/source.txt)

## Suggested Links

* [Learn about KendoReact Free.](https://www.telerik.com/kendo-react-ui/components/getting-started/free-vs-premium)

* [API Reference of the TabStripTab Component](https://www.telerik.com/kendo-react-ui/components/layout/api/tabstriptabprops)

* [API Reference of the Tabstrip](https://www.telerik.com/kendo-react-ui/components/layout/api/tabstripprops)
