Skip to main content

Tab

This component provides the ability to switch content between tabs. It needs to complete the component capabilities through interactive events, hiding and showing.

tab.jpg

Default tab settings

Parameters
Description
Default value
nameCustomize tab nameTab 1

Card Style

Parameters
Description
Default value
Style TypeOptional values: Bar, Capsule, Open, PackBar

Font Size

Parameters
Description
Default value
SizeOptional value: 12~7212
Line ColorSelect the width of the tab. Optional values: 1, 2, 3.2
Divider SizeThe width of the line between the tab and the content. Optional values: 1, 2, 3.2

Normal

Parameters
Description
Default value
Font ColorText Color#333333
Line ColorColor of dividing line#DEDEDE

Hover

Parameters
Description
Default value
Font ColorHover text color when moving in#333333

Active

Parameters
Description
Default value
Line ColorThe color of the selected tab#0070cc
Font ColorSelected Tab text color#0070cc

Node

Parameters
Description
Default value
WidthOverall width400
HeightOverall height150
XHorizontal coordinate
YVertical coordinate