Tab
View Source
Tab 1
Props
Accepts Text props.
active
booleanWhether or not the tab is active. Sets element to span and removes href and hover effects if true.
color
ColorPropThe background color of the tab.
disabled
booleanWhether or not the tab is disabled.
href
stringLink 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.