# Tabs
The **** component is a container component that allows users to switch between content views through tabs. Each tab page corresponds to a content view.
## Applicable Devices
If the vertical attribute is set to true, the tab is on the left of the container. If the vertical attribute is set to false, the tab is on the top of the container.
End
If the vertical attribute is set to true, the tab is on the right of the container. If the vertical attribute is set to false, the tab is at the bottom of the container.
### TabsController
Defines a tab controller, which is used to control switching of tabs.
API
Description
changeIndex(value: number): void
Changes the index of a tab. The value starts from 0.
## Attributes
Name
Type
Default Value
Description
vertical
boolean
false
Whether a tab is a vertical tab.
scrollable
boolean
true
Whether page switching can be performed by swiping left or right.