Text Component

<Text as={element} size={size} weight={weight} color={color}>
	Example text snippet
</Text>

Text Sizes

NormalMidHeavy
Text 12pxText 12pxText 12px
Text 13pxText 13pxText 13px
Text 14pxText 14pxText 14px
Text 16pxText 16pxText 16px
Text 18pxText 18pxText 18px
Text 20pxText 20pxText 20px
Text 26pxText 26pxText 26px
Text 32pxText 32pxText 32px
Text 40pxText 40pxText 40px
Text 48pxText 48pxText 48px
Text 64pxText 64pxText 64px
Text 80pxText 80pxText 80px

Styled Link

Available as a global class at .styledLink, and a component as StyledLink. The component verison is build on the Text component, inheriting and requiring the same props. The class version is automatically added to links in our MDX files.

Styled Link Component
<StyledLink size={16} href="/styleguide/text" type="styled">
	Styled Link Component
</StyledLink>

Styled Link Class

<a className="styledLink" href="/styleguide/text">
	Styled Link Class
</a>

Colors

blackwhitepurpleBrightpurplepurpleDarkpurple95purple25purple10purple5redBrightredredDarkred25red10greenBrightgreengreenDarkgreen25green10yellowyellowDarkyellow25yellow10blueblueDarkblue25blue10pinkpinkDarkpink25pink10cyanfgfg1fg2fg3fg4border