| labels |
Array |
[] |
- |
Yes |
An array of tab content, consisting of text and Icon Props. |
| active |
Number |
0 |
- |
No |
Index value of the active Tab. |
| lineType |
Boolean |
false |
true/false |
No |
Whether to use linear style. |
| radius |
String |
'base' |
'none'/'base'/'xl'/'full' |
No |
Corner style. |
| mx |
String |
'2' |
'0'/'1'/'2'/'3'/'4'/'6'/'8'/'12'/'16'/'20' |
No |
Horizontal margin. |
| duration |
String |
'base' |
'fast'/'base'/'slow'/'slower' |
No |
Transition animation speed. |
| layout |
String |
'h' |
'h'/'v' |
No |
Horizontal or vertical layout, corresponding to position in Tabs Props. |
| love |
Boolean |
false |
true/false |
No |
Whether to enable Love Edition. |
| injClass |
String |
'' |
- |
No |
Inject CSS to wrap the Tabs. |
| tabInjClass |
String |
'' |
- |
No |
Inject CSS for individual Tabs. |
| activeTabInjClass |
String |
'' |
- |
No |
Inject CSS for active Tab. |
| activeInjClass |
String |
'' |
- |
No |
Inject CSS for indicator. |
| overflow |
Boolean |
false |
true/false |
No |
Whether to enable overflow mode. |
| showNum |
Number |
3 |
- |
No |
When overflow mode is enabled, the number of Tabs to be displayed. |
| autoScroll |
Boolean |
false |
true/false |
No |
Whether to enable automatic scrolling when overflow mode is enabled. |