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.
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 lifecycleThis 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
Provider
Configure theme mode, tokens, strings, icons, safe-area insets, shared back behavior, and Gesture Handler ownership.
Tokens
Understand the shallow top-level design-system model and animation token hierarchy.
Hooks
Read static theme state, animated theme progress, system values, strings, modal state, and input modifier semantics.
Localization
Override reusable ARCUI-owned accessibility and built-in behavior strings.
ReverseTheme
Invert animated theme behavior for one subtree without creating a second theme system.
Related guides
Theming
Static theme ownership, animated theme progress, color priority, and subtree composition.
Typography
Central font scaling and ARCUI-managed text metrics.
Safe area & overlays
Runtime insets, safe-area token policy, host ordering, and accessibility isolation.
Motion
React state vs SharedValues, Reduced Motion, cancellation, and animation token fallback.