Anatomy

  1. Tab list (k-tabs): a row with 24px between tabs and a divider hairline below.
  2. Tab (k-tab): a 48px button with a one- or two-word label.
  3. Indicator: a 3px ink bar under the selected tab, over the hairline.
  4. Panel: the selected tab's content, right below the list.

Measurements

From the design’s stylesheet, each design token with the value kanso-ui gives it in light.

ClassPropertyValue
k-tabsgap24px (space-2xl)
padding4px (space-xs) 4px (space-xs) 1px

Tokens used

Design tokenIn kanso-uiLightDark
ink--kui-color-ink#1a1a1a#ececec
ink-muted--kui-color-ink-muted#5c5c5c#b3b3b3
divider--kui-color-divider#e3e3e3#333333
paper--kui-color-paper#fafafa#121212
focus-ring--kui-color-focus-ring#1a1a1a#ececec
space-2xl--kui-spacing-kanso-2xl24px24px
size-control-lg--kui-sizing-kanso-control-lg48px48px
font-plain--kui-typography-font-family-plain'Roboto Flex', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif'Roboto Flex', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif
t-label-strong--kui-typography-t-label-strong-size15px15px