Design to interface
Translate screenshots and design briefs into ARCUI composition without inventing components or ownership.
A screenshot describes one rendered state. It does not tell you which component owns state, what happens under interaction, how large text behaves, or how the interface should respond to theme and Reduced Motion.
The first step is therefore semantic decomposition, not pixel matching.
1. Identify semantic regions
Break the design into behavior rather than shapes:
screen surface
header / navigation
typography / status content
actions
selection controls
form fields
progress / loading
overlays
dynamic layout regions2. Map behavior to ARCUI primitives
Examples:
screen background / safe area -> Screen
theme-aware surface -> ThemedView
normal text -> Text
separator -> Divider
fluid layout wrapper -> FluidView
count / dot status -> Badge
contextual feedback -> Infobox
action -> Button
boolean choice -> Checkbox / Toggle
exclusive group -> Radio + SelectionGroupDo not invent Card, Stack, Surface, or another ARCUI component merely because the screenshot contains a rounded rectangle or a vertical layout.
Use ordinary React Native layout when ARCUI does not own that semantic primitive.
3. Infer state ownership, not only appearance
A design may show:
- a selected Radio;
- an expanded Accordion;
- an open Modal;
- a Slider at 70%;
- a disabled Button;
- an Input error.
Model the actual semantic value in React instead of hardcoding only the visible style.
4. Separate repeated system rules from one-off layout
Move repeated decisions into ARCUI tokens when they describe the product design system:
all Buttons share this radius
all Inputs share this label typography
all Modals share this motion timing
all Toasts share this placement policyKeep one-off application layout in normal styles or documented instance props.
When a palette communicates semantics, use a supported tone. For precise per-instance colors, prefer the component's typed colors slots before rebuilding the component from native primitives.
5. Preserve theme and typography behavior
Do not freeze a screenshot's light/dark colors into hardcoded literals when the interface is meant to participate in ARCUI theming.
Do not reproduce text sizing in a way that bypasses ARCUI's font-scale model if the content belongs to ARCUI-managed typography.
6. Add accessibility according to behavior
The visual label is not always enough:
- icon-only actions need accessible names;
- selection state must be semantic state;
- dialogs/modals need real dismissal behavior;
- decorative icons should not duplicate screen-reader content.
Avoid inventing generic gesture hints when the native role already explains the interaction.
7. Validate states the screenshot does not show
Before treating the implementation as complete, test:
- light / dark / system themes;
- large accessibility text;
- Reduced Motion;
- disabled / inactive / loading / error states where relevant;
- keyboard/input behavior;
- RTL/logical alignment where the component contract supports it;
- overlay safe areas and stacking;
- interaction and dismissal paths.
A screenshot is a useful visual constraint. It is not the complete component contract.