Anatomy

  1. Container: a 48px circle, 32px in the small size.
  2. Icon: 24px, or 20px when small, from Material Symbols Rounded.
  3. State layer: the icon colour laid over the circle on hover and press.

Measurements

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

ClassPropertyValue
k-iconbtnwidth48px (size-control-lg)
height48px (size-control-lg)
padding0
border0
border-radius50%
k-iconbtn--outlineborder1px solid #8a8a8a (outline)
k-iconbtn--smwidth32px (size-control-sm)
height32px (size-control-sm)

Tokens used

Design tokenIn kanso-uiLightDark
ink--kui-color-ink#1a1a1a#ececec
on-ink--kui-color-on-ink#fafafa#121212
container--kui-color-container#e9e9e9#2b2b2b
outline--kui-color-outline#8a8a8a#8c8c8c
focus-ring--kui-color-focus-ring#1a1a1a#ececec
size-control-lg--kui-sizing-kanso-control-lg48px48px
size-control-sm--kui-sizing-kanso-control-sm32px32px
size-icon-lg--kui-sizing-kanso-icon-lg24px24px
size-icon-md--kui-sizing-kanso-icon-md20px20px
state-hover--kui-state-layer-opacity-kanso-hover0.080.08
state-pressed--kui-state-layer-opacity-kanso-pressed0.120.12