Nav Tabs

Nav tabs function in the same way as the tab component but are more focused on navigation across pages or links.

Specifications

Nav tabs design specifications
Nav tabs design specifications

States

Tabs can get different states based on user interaction. These states are: enabled, hover, focus, active and disabled.

Nav tabs states
Nav tabs states

Anatomy

Nav tabs anatomy
  1. 1.
    Container
  2. 2.
    Default text label
  3. 3.
    Selected tab indicator
  4. 4.
    Default tab indicator

Design tokens

Color

Component tokenElementCore tokenValue
selectedBackgroundColorTab item background:selectedcolor-white#ffffff
unselectedBackgroundColorTab item background:enabledcolor-white#ffffff
hoverBackgroundColorTab item background:hovercolor-grey-100#f2f2f2
pressedBackgroundColorTab item background:activecolor-grey-200#e6e6e6
selectedFontColorLabelcolor-grey-700#666666
unselectedFontColorLabelcolor-grey-700#666666
disabledFontColorLabel:disabledcolor-grey-500#999999
selectedIconColorIconcolor-grey-700#666666
unselectedIconColorIconcolor-grey-700#666666
disabledIconColorIcon:disabledcolor-grey-500#999999
focusOutlineTab item outlinecolor-blue-600#0095ff
selectedUnderlineColorTab item border bottoncolor-purple-700#5f249f
dividerColorSeparatorcolor-grey-400#bfbfbf

Typography

Component tokenElementCore tokenValue
fontFamilyTitlefont-family-sans'Open Sans', sans-serif;
fontSizeTitlefont-scale-031rem / 16px
fontStyleTitlefont-style-normalnormal
fontWeightTitlefont-weight-regular400