Tab
View Source
Tab 1
Props
Accepts Text props.
active
boolean
Whether or not the tab is active. Sets element to span and removes href
and hover effects if true
.
color
ColorProp
The background color of the tab.
disabled
boolean
Whether or not the tab is disabled.
href
string
Link to URL. Sets element to an anchor, otherwise it will use a button.
size
'xs' | 'sm' | 'md' | 'lg'
The size of the tab which includes fontSize
, lineHeight
and padding
.