Public API
ARCUI package entry points and the boundary between supported public exports and implementation details.
ARCUI keeps the supported package boundary intentionally small.
Runtime entry point
Application code imports from:
"react-native-arc-ui"The root entry point exports the provider, public hooks, token/string values, components, imperative APIs, and public TypeScript contracts.
Testing entry point
Testing helpers import from:
"react-native-arc-ui/testing"import { ARCUIMock } from "react-native-arc-ui/testing";Provider and hooks
import {
ARCUI,
useARCUITheme,
useARCUIAnimatedTheme,
useARCUISystem,
useARCUIStrings,
useModal,
useInputState,
} from "react-native-arc-ui";Components
Layout and presentation:
Screen
ThemedView
Text
Divider
FluidView
ReverseTheme
Icon
Badge
InfoboxActions and selection:
Button
Checkbox
Radio
Toggle
Chip
SelectionGroup
Accordion
AccordionGroupInputs:
Input
InputPassword
InputArea
InputNumber
InputOTP
Select
SliderNavigation:
Header
Tab
TabBar
TabNavigation
TabScreenFeedback/loading:
ProgressBar
SpinnerLoader
SkeletonLoaderOverlays:
Dropdown
ModalImperative APIs
import {
showToast,
hideToast,
showDialog,
hideDialog,
} from "react-native-arc-ui";Toast and Dialog lifecycle/rendering are provider-owned rather than public visual component imports.
Tokens, strings, and icons
The root package exports defaultTokens together with the built-in token values (Colors, ColorsLight, ColorsDark, Sizings, Spacing, SafeArea, Radius, Border, Typography, ZIndex).
It also exports defaultStrings and defaultIcons.
The root entry point also exports the public TypeScript contracts used by the runtime API.
Provider and extension types:
TStaticTheme · TAnimatedTheme · TSystemContext · TSafeAreaInsets · TARCUIProps
TInputModifier · IUseInputState · TUseInputStateResultToken, safe-area, typography, and animation types:
TTokens · TTokensOverride · TThemeWithCustomTokens
TThemeColor · IFieldColors
TSafeAreaOffset · TSafeAreaComponentTokens · TSafeAreaTokens
TTypographyStyle
TAnimationDirection · TEasing · TPressAnimationLocalization and icon types:
TARCUIStrings · TARCUIStringsOverride
IIcon · TIconType · TIconSet · TIconAnimatedColorComponent contracts and associated public unions:
IScreen · IThemedView · IText · IDivider · IFluidView · IReverseTheme
IButton · IButtonColors · TButtonTone
ICheckbox · IRadio · IToggle · IChip
ISelectionGroup · TSelectionValue
IAccordion · IAccordionGroup
IInfobox · IInfoboxColors · TInfoboxTone
ISpinnerLoader · IProgressBar · ISkeletonLoader
IHeader · THeaderAction · THeaderTitleAlign
ITab · ITabBar · ITabNavigation · ITabScreen
ITabsColors · TTabBadge · TTabType · TTabBarPosition · TTabBarOrientation
TTabBarSizeMode · TTabBarLayout · TTabBarAlignment
TTabIconPosition · TTabContent
IBadge · IBadgeColors · TBadgeTone
ISelect · TSelectOption · TSelectValue
IInput · TInputType · TInputRightAction
IInputPassword · IInputArea
IInputNumber · TInputNumberButtonType · TInputNumberButtonShape
TInputNumberValueType
IInputOTP · TInputOTPType · TInputOTPRef
ISlider · TSliderLayout · TSliderRangeValue
IDropdown · IDropdownColors · TDropdownItem · TDropdownItemTone
TDropdownPlacement · TDropdownTriggerProps
IModal · TModalHeight
TToastId · TToastInput · TToastTone · TToastPlacement
TDialog · TDialogAction · TDialogActionType · IDialogColorsFor exact current names, inherited native props, discriminated unions, and signatures in an installed package, TypeScript declarations are authoritative.
Do not deep import
These are not supported public contracts:
react-native-arc-ui/src/...
react-native-arc-ui/dist/components/...
react-native-arc-ui/dist/internal/...The npm tarball may physically contain compiled internal modules because TypeScript builds the source tree. The package exports map defines the supported consumer entry points.
Version-matched AI guidance
ARCUI 1.1+ also publishes an ai/ directory. Those Markdown files are package guidance for AI coding tools; they are not JavaScript/TypeScript import entry points.
Source of truth
For exact props, unions, inherited native props, and generics, inspect declarations shipped with the installed ARCUI version.
Human documentation explains intent, behavior, and composition. The installed declarations remain the exact public contract for that installed version.
Generated component tables
Component pages render their ARCUI-owned prop tables from a generated type manifest rather than maintaining a second handwritten signature list.
ARCUI src/types or published dist/*.d.ts
↓
npm run api:sync
↓
src/generated/arcui-api.json
↓
component docsThe generated manifest is committed with the documentation, so production deployment does not require the ARCUI source repository to be present next to the docs app.
Narrative behavior, examples, motion notes, accessibility guidance, and composition recommendations remain intentionally human-authored.
Documentation verification
The docs repository keeps generated API metadata under src/generated/arcui-api.json.
When ARCUI source or published declarations change, regenerate the manifest:
npm run api:sync -- /path/to/react-native-arc-uiThen verify that every component page still resolves its generated API contract and that no handwritten prop table has replaced the generated reference:
npm run api:checkThe broader documentation integrity check also verifies planned media paths:
npm run docs:check