Skip to Content
ARCUI

Core

The provider-owned runtime shared by ARCUI components: theme, tokens, system values, strings, icons, and overlays.

ARCUI components share one small runtime instead of each component inventing its own theme, font-scale, safe-area, localization, or overlay ownership.

Public mental model

ARCUI provider

One root coordinates shared design-system, system, localization, and overlay concerns.

Static

Theme + tokens

Resolved light/dark theme, provider mode, design tokens, icon set, and optional shared back action.

Animated

Theme progress

A Reanimated SharedValue where 0 is dark and 1 is light, used for UI-thread color interpolation.

System

Font scale + safe area

Central ARCUI fontScale plus the normalized runtime insets supplied by the application.

Runtime

Localized strings

Resolved ARCUI-owned accessibility and built-in behavior strings that can update without remounting the provider.

Provider-owned overlay order

Floating UI shares one predictable ARCUI hierarchy instead of competing application roots.

ApplicationModalDropdownToastDialog

This intentionally describes the public contract. Private contexts, host IDs, and internal animation helpers are implementation details.

The model above is intentionally public-facing. You should understand what the provider owns, not depend on ARCUI's private context structure or host identifiers.

Configuration vs runtime state

A useful distinction is:

resolved once per ARCUI mount
-> tokens
-> iconSet

runtime-reactive
-> theme / system appearance
-> strings
-> fontScale
-> safeAreaInsets
-> overlay lifecycle

This is why changing a locale can update strings without remounting ARCUI, while token and icon-set changes are treated as design-system configuration.

Theme has two public views

const { theme, themeMode, tokens } = useARCUITheme();
const { themeProgress } = useARCUIAnimatedTheme();

Use the static values for React render-time semantics. Use themeProgress only where continuous visual interpolation belongs in Reanimated.

System values stay centralized

const { fontScale, safeAreaInsets } = useARCUISystem();

ARCUI-owned typography uses one central font-scale SharedValue, while safe-area-aware components combine the runtime insets supplied by the application with tokens.safeArea policy.

Core pages

On this page