G
Tokens
TypographySpacingColorRadiusShadowMotion

Icon

Icon set

See the icon set

Sizes


    <>
      {Object.keys(vars.texts).map((size, index) => (
        <Arrange gap="0.65em" key={index}>
          <Icon size={size} icon={<IconGlobe />} />
          <Text size={size} weight="medium">
            Size {size}
          </Text>
        </Arrange>
      ))}
    </>
  

Icon and text size combination


    <>
      <Arrange gap="0.65em">
        <Icon size="xl" icon={<IconArrowRight />} />
        <Text size="xl" weight="medium">
          Icon size xl with text size xl
        </Text>
      </Arrange>
      <Arrange gap="0.65em">
        <Icon size="m" icon={<IconArrowRight />} />
        <Text size="m" weight="medium">
          Icon size m with text size m
        </Text>
      </Arrange>
    </>
  

Color

See all colors


    <Arrange gap="s">
      <Icon size="xxl" icon={<IconSmile />} />
      <Icon size="xxl" color="blue" icon={<IconSmile />} />
      <Icon size="xxl" color="red" icon={<IconSmile />} />
    </Arrange>
  

Props

Name
Type
Default
size
oneOfType
oneOf
"s" "m" "l" "xl" "xxl"
number
string
'm'
color
oneOfType
Object.keys(vars.colors)
string
getColor('icon')
icon
node
hasEvenBoundary
bool