# Appearance

The TabStrip provides predefined appearance options such as different sizes, alignment positions and scroll buttons settings.

For a complete example, refer to the [Appearance Demo of the TabStrip](https://demos.telerik.com/aspnet-mvc/tabstrip/appearance).

## Options

The TabStrip HtmlHelper and its `Scrollable` configuration provide the following methods for styling:

* [`Size()`](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/navigation/tabstrip/appearance#size)—configures the overall size of the component.
* [`TabAlignment()`](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/navigation/tabstrip/appearance#tabalignment)—Specifies the alignment of the component tabs. The option is not applicable for a scrollable TabStrip.
* [`ScrollButtons()`](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/navigation/tabstrip/appearance#scrollbuttons)—Sets the scroll buttons visibility.
* [`ScrollButtonsPosition()`](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/navigation/tabstrip/appearance#scrollbuttonsposition)—Sets the position of the scroll buttons.

### Size

To control the size of the tabs, configure the `Size` option with any of the following values:

* `Small`
* `Medium` - the default size
* `Large`
* `None`

```Razor HtmlHelper
    @(Html.Kendo().TabStrip()
          .Name("tabstrip")
          .Size(ComponentSize.Small)
          .Items(tabstrip =>
          {
              tabstrip.Add().Text("Baseball")
                  .Content(@<text>
Baseball is a bat-and-ball sport played between two teams of nine players each. 
                  </text>);

              tabstrip.Add().Text("Golf")
                  .Content(@<text>
Golf is a precision club and ball sport.
                  </text>);

              tabstrip.Add().Text("Swimming")
                  .Content(@<text>
Swimming has been recorded since prehistoric times.
                  </text>);
          })
          .SelectedIndex(0)
    )
```

### TabAlignment

The `TabAlignment()` setting specifies the alignment of the component tabs. The default alignment is `Start`. The available options are:

* `Start` — Tab alignment is set to `start`.
* `End` — Tab alignment is set to `end`.
* `Center` — Tab alignment is set to `center`.
* `Stretched` — Tab alignment will be set to `stretched`.
* `Justify` — Tab alignment will be set to `justify`.

```Razor HtmlHelper
    @(Html.Kendo().TabStrip()
          .Name("tabstrip")
          .TabAlignment(TabStripTabAlignment.Start)
          .Items(tabstrip =>
          {
              tabstrip.Add().Text("Baseball")
                  .Content(@<text>
Baseball is a bat-and-ball sport played between two teams of nine players each. 
                  </text>);

              tabstrip.Add().Text("Golf")
                  .Content(@<text>
Golf is a precision club and ball sport.
                  </text>);

              tabstrip.Add().Text("Swimming")
                  .Content(@<text>
Swimming has been recorded since prehistoric times.
                  </text>);
          })
          .SelectedIndex(0)
    )
```

### ScrollButtons

The `ScrollButtons()` setting defines the visibility of scroll buttons. The available options are:

* `Auto` — Displays scroll buttons only when the TabStrip enters the scrollable mode. This is the default value.
* `Hidden` — Hides the scroll buttons at all times.
* `Visible` — Always shows the scroll buttons.

```Razor HtmlHelper
    @(Html.Kendo().TabStrip()
          .Name("tabstrip")
          .Scrollable(s=>s
              .ScrollButtons(ScrollButtonsType.Auto)
              .ScrollButtonsPosition(ScrollButtonsPositionType.Start))
          .Items(tabstrip =>
          {
              tabstrip.Add().Text("Baseball")
                  .Content(@<text>
Baseball is a bat-and-ball sport played between two teams of nine players each. 
                  </text>);

              tabstrip.Add().Text("Golf")
                  .Content(@<text>
Golf is a precision club and ball sport.
                  </text>);

              tabstrip.Add().Text("Swimming")
                  .Content(@<text>
Swimming has been recorded since prehistoric times.
                  </text>);
          })
          .SelectedIndex(0)
    )
```

### ScrollButtonsPosition

The `ScrollButtonsPosition()` setting defines the placement of scroll buttons. The available options are:

* `Split` — The scroll buttons are displayed at both ends of the TabStrip.
* `Start` — The scroll buttons are displayed at the start of the TabStrip.
* `End` — The scroll buttons are displayed at the end of the tabs.

```Razor HtmlHelper
    @(Html.Kendo().TabStrip()
          .Name("tabstrip")
          .Scrollable(s=>s
              .ScrollButtons(ScrollButtonsType.Auto)
              .ScrollButtonsPosition(ScrollButtonsPositionType.Start))
          .Items(tabstrip =>
          {
              tabstrip.Add().Text("Baseball")
                  .Content(@<text>
Baseball is a bat-and-ball sport played between two teams of nine players each. 
                  </text>);

              tabstrip.Add().Text("Golf")
                  .Content(@<text>
Golf is a precision club and ball sport.
                  </text>);

              tabstrip.Add().Text("Swimming")
                  .Content(@<text>
Swimming has been recorded since prehistoric times.
                  </text>);
          })
          .SelectedIndex(0)
    )
```

## See Also

* [Appearance of the TabStrip for ASP.NET MVC (Demo)](https://demos.telerik.com/aspnet-mvc/tabstrip/appearance)

* [Server-Side API of the TabStrip HtmlHelper](https://www.telerik.com/aspnet-mvc/documentation/api/tabstrip)

* [Client-Side API of the TabStrip](https://docs.telerik.com/kendo-ui/api/ui/tabstrip)
