Tab 1

Props

Accepts Text props.

activeboolean

Whether or not the tab is active. Sets element to span and removes href and hover effects if true.

colorColorProp

The background color of the tab.

disabledboolean

Whether or not the tab is disabled.

hrefstring

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.