The dxTabs is a tab strip used to switch between pages or views. This widget is included in the dxTabPanel widget, but you can use the dxTabs separately as well.

Included in: dx.phonejs.js, dx.webappjs.js, dx.all.js
Tabs interactive configuration
Copy Code
Copy to Codepen

You can create the widget using one of the following approaches.

  • jQuery
    Use the dxTabs jQuery plug-in.

    <div id="tabs"></div>
    var tabItems = [
        { text: "Home", icon: "home" },
        { text: "About", icon: "info" }
        dataSource: tabItems
  • Knockout
    Add a div element and apply the dxTabs binding to this element.

    <div data-bind="dxTabs: {
        dataSource: tabItems
  • AngularJS
    Add a div element and apply the dx-tabs directive to this element.

    <div dx-tabs="{
        dataSource: tabItems

Note that DevExtreme widgets require you to link the jQuery and Globalize libraries to your application. If you use the Knockout or AngularJS approach, the Knockout or AngularJS library is also required. For detailed information on linking these libraries to your project, refer to the Installation article.

Since the dxTabs widget is used to display multiple items, it supports common the Collection Container widget functionality. You can find detailed information on the principles of working with the widget in the dxTabs section of the Collection Container Widgets article.

View Demo

Show Example:


An object defining configuration options for the dxTabs widget.


This section describes members used to manipulate the widget.


This section describes events fired by this widget.

Default Item Template

This section lists the data source fields that are used in a default template for tabs.

By default, a predefined item template is applied to display the items of this widget. This template is based on certain fields of the data source provided for this widget. Below is a list of these fields. If the default item template is not appropriate for your task, implement a custom item template based on these or other fields of your data source.

See Also