# tab-content
**** is a child component of [](js-components-container-tabs.md) and is used to provide the area for displaying the tab content. By default, its height is such that all the remaining space of the **** component is filled. The child components are arranged horizontally. When **** is used as a child element in a container, the length on the main axis direction must be specified. Otherwise, the child element cannot be displayed.
## Permission List
None
## Child Component
Supported
## Attribute
In addition to the attributes in [Universal Attributes](js-components-common-attributes.md), the following attributes are supported.
Name
Type
Default Value
Mandatory
Description
scrollable
boolean
true
No
Whether the tabs can be switched by swiping left or right. The default value is true. If this attribute is set to false, tab switching is implemented only through the association with tab-bar.
## Style
Styles in [Universal Styles](js-components-common-styles.md) are supported.
## Event
Events in [Universal Events](js-components-common-events.md) are supported.
## Example Code
For details, see the [tabs example code](js-components-container-tabs.md#section14993155318710).