Skip to Content
ARCUI

Typography

ARCUI-managed font scaling, typography tokens, native text styles, and Dynamic Type behavior.

ARCUI uses one centralized runtime font scale for library-managed typography.

That keeps Buttons, Inputs, Text, Tabs, feedback components, and other ARCUI-owned text aligned around the same accessibility scaling policy.

Base metrics are unscaled

Typography token fontSize values are base metrics:

Typography.text.text.fontSize
Typography.button.text.fontSize
Typography.input.label.fontSize

ARCUI applies the provider-owned fontScale at runtime.

For normal content, use ARCUI Text:

<Text style={{ fontSize: 20, fontWeight: "700" }}>
  Account settings
</Text>

style.fontSize is treated as an unscaled base value and participates in ARCUI's central scaling model.

Avoid double scaling

ARCUI-managed text disables duplicate native font scaling internally because ARCUI already applies the shared scale.

Do not combine native font scaling and a second manual scaling strategy on the same ARCUI-managed text.

When building custom text outside ARCUI, choose one clear scaling owner rather than accidentally applying both.

Maximum font scale

ARCUI clamps the central scale with:

tokens.typography.maxFontSizeMultiplier

The default token value is 2.

This is an application-level design-system choice and should be tested against large accessibility text settings before changing it.

Typography tokens are native-style-first

Applicable React Native TextStyle properties can be configured in typography slots, including:

fontFamily
fontWeight
fontStyle
fontVariant
letterSpacing
textTransform

Do not place semantic light/dark colors in typography tokens. Color belongs to component/theme color ownership.

Tokens →

Line height is not a default requirement

ARCUI does not add lineHeight by habit.

Use explicit line height only when the design genuinely requires fixed line geometry and that geometry has been tested under dynamic scaling.

An explicit line height becomes another metric that must scale predictably with the text.

Custom React content stays consumer-owned

When a component accepts arbitrary React content, ARCUI does not silently impose its plain-text typography contract on that subtree unless the component explicitly documents otherwise.

Examples include:

  • custom Button content;
  • custom Header title/actions;
  • custom Infobox content;
  • Modal children.

This preserves composition and prevents hidden typography ownership.

Read the runtime scale when extending ARCUI

const { fontScale } = useARCUISystem();

fontScale is a Reanimated SharedValue. Use it only where SharedValues belong; do not read .value during normal React render.

Validate real layouts

Large-text testing should include more than font size itself:

  • wrapping labels;
  • multi-line Buttons/controls where supported;
  • input labels and validation text;
  • tab labels;
  • header titles;
  • dialogs and modal content;
  • clipped or fixed-height application containers.

Accessibility scaling is only useful if the surrounding layout remains usable.

On this page