ARK sets text in Aeonik, with Aeonik Mono for code and data. Sixteen text styles cover every heading, body and mono size.
Text styles
Pick a text style instead of setting size and weight by hand.
Sample
Utility
Size
Line height
Weight
Track 207 entered the north zone
typo-body-xs-semibold
12px
16px
600
Track 207 entered the north zone
typo-body-xs-medium
12px
16px
500
Track 207 entered the north zone
typo-body-xs-regular
12px
16px
400
Track 207 entered the north zone
typo-body-sm-semibold
14px
20px
600
Track 207 entered the north zone
typo-body-sm-medium
14px
20px
500
Track 207 entered the north zone
typo-body-sm-regular
14px
20px
400
Track 207 entered the north zone
typo-body-md-semibold
16px
24px
600
Track 207 entered the north zone
typo-body-md-medium
16px
24px
500
Track 207 entered the north zone
typo-body-md-regular
16px
24px
400
Track 207 entered the north zone
typo-heading-xs
20px
28px
500
Track 207 entered the north zone
typo-heading-sm
24px
32px
500
Track 207 entered the north zone
typo-heading-md
30px
40px
500
Track 207 entered the north zone
typo-heading-lg
36px
40px
500
Track 207 entered the north zone
typo-display-md
48px
48px
500
Track 207 entered the north zone
typo-mono-md
12px
16px
400
Track 207 entered the north zone
typo-mono-xs
10px
12px
400
Usage
In a component tree, use Text with a variant and a tone. Pass render to make it a heading or a paragraph. On an element of your own, the utility does the same job.
import { Text } from "@kela-systems/ui-components";<Text variant="heading-sm" render={<h2 />}>Active tracks</Text><Text variant="body-sm-regular" tone="neutral-secondary">Updated 12 seconds ago</Text><span className="typo-mono-xs text-neutral-tertiary">32.0853° N</span>