Skip to main content

Design to React Native: Prepare Screens Devs Can Build

How to take a design to React Native without rework: units, Flexbox layout, tokens, fonts, images, safe areas, states and a handoff checklist developers.

Insights11 min read2,122 words

This guide is for designers handing screens to React Native developers, and for developers or founders who do both jobs. You'll learn how React Native actually lays out UI, how to structure designs so they translate directly into components, which details cause the most rework, and a checklist to run before handoff.

TL;DR: Moving a design to React Native goes smoothly when the design already speaks React Native's language: points and dp as units, Flexbox column layouts with consistent gaps, named tokens for colour, type and spacing, components with defined variants and states, and assets exported in the right formats. Design every state and the edge cases, and handoff becomes translation instead of guesswork.

How React Native thinks about layout

Understanding a few fundamentals prevents most handoff problems.

Units

React Native style values are unitless density-independent pixels. One unit equals one point on iOS and one dp on Android. If you design at 1x on a 390 by 844pt iPhone frame or a 360 by 800dp Android frame, your numbers map one to one. Never hand off values measured from a 3x export.

The device size reference lists the point and dp dimensions for common phones.

Flexbox, column first

Every view in React Native is a Flexbox container, with a few differences from the web:

  • •The default direction is column, not row.
  • •Items stretch across the cross axis by default.
  • •There's no CSS grid. Grids are built from rows and columns, wrapping flex rows, or list components with multiple columns.
  • •gap, rowGap and columnGap are supported in modern React Native versions, which makes spacing between children much simpler.
  • •Percentages work for widths and heights, and flex: 1 fills available space.

If you design in Figma, auto layout maps closely to Flexbox: vertical auto layout is a column, horizontal is a row, the gap is gap, padding is padding, "fill container" is roughly flex: 1 or stretch, and "hug contents" is the default sizing. Designs built with auto layout throughout translate cleanly. Designs built with absolute positioning do not.

Our free Flexbox generator exports layouts as React Native style code if you want to check how a structure translates.

Step 1: Build the design with auto layout everywhere

Before handoff, make sure:

  1. •Every frame uses auto layout, including screens, sections, cards and rows.
  2. •Spacing uses gaps and padding, not manually nudged positions.
  3. •Absolute positioning is rare and intentional, such as a badge overlapping an avatar or a floating button.
  4. •Resizing behaviour is defined. Test by changing the frame width from 375 to 430pt. If things break, a developer's layout will break too.

Step 2: Define tokens with names

Developers will create a theme object. Give them names, not hex codes scattered across layers.

Colour tokens

Name by role, not by appearance:

TokenLightDark
background#FFFFFF#0F1115
surface#F4F5F7#1A1D23
textPrimary#111318#F2F3F5
textSecondary#5B6170#A3A9B6
accent#3B5BDB#7C93F0
danger#C92A2A#FF6B6B
border#E3E5EA#2A2E36

Role names make dark mode trivial: the developer swaps the palette based on the system colour scheme.

Spacing and radius tokens

Use a 4 or 8-point scale (4, 8, 12, 16, 24, 32, 48) and a short list of radii (8, 12, 16, full). See our mobile app spacing system for how to build one.

Typography tokens

For each text style, specify font family, size, line height in points (not percent or multipliers) and weight, plus letter spacing in points if used.

Here's what a developer will typically build from your tokens:

export const theme = {
  colors: {
    background: '#FFFFFF',
    surface: '#F4F5F7',
    textPrimary: '#111318',
    textSecondary: '#5B6170',
    accent: '#3B5BDB',
  },
  space: { xs: 4, sm: 8, md: 12, lg: 16, xl: 24, xxl: 32 },
  radius: { sm: 8, md: 12, lg: 16, full: 999 },
  text: {
    title: { fontFamily: 'Inter-SemiBold', fontSize: 28, lineHeight: 34 },
    body: { fontFamily: 'Inter-Regular', fontSize: 16, lineHeight: 24 },
    caption: { fontFamily: 'Inter-Regular', fontSize: 13, lineHeight: 18 },
  },
};

If your design file's names match these, handoff is mostly copy and paste.

Step 3: Handle fonts properly

Fonts cause more surprises than anything else.

  • •Supply the font files (TTF or OTF) with a licence that allows app embedding.
  • •One file per weight. On Android especially, fontWeight doesn't reliably pick weights from a single family name. Developers usually reference each weight as its own family, like Inter-SemiBold. Limit yourself to two to four weights.
  • •Line height is absolute. A 16pt font with 150% line height is lineHeight: 24.
  • •Plan for font scaling. Text in React Native scales with the user's accessibility settings by default. Design layouts that can grow, and agree on whether some elements, like tab labels, get a maximum scale multiplier.
  • •System fonts are an option. San Francisco on iOS and Roboto on Android need no files and feel native. Our mobile app typography guide covers when to choose each.

Step 4: Export assets the right way

Asset typeBest formatNotes
IconsSVGRendered with an SVG library or converted to an icon font or components
IllustrationsSVG if simple, PNG if complexKeep SVGs free of filters and masks that libraries may not support
PhotosJPG or WebPUsually loaded from a server or CDN
Raster UI imagesPNG at 1x, 2x and 3xReact Native picks the right density using @2x and @3x file suffixes
App icon and splashPlatform-specific sizesUsually configured through Expo or native projects

Name assets in lowercase with hyphens (empty-inbox.png) and keep icons on a consistent canvas, typically 24 by 24, with no padding differences between them.

Step 5: Design components, not just screens

React Native apps are built from components. Mirror that in your design.

For each component, provide:

  1. •Variants: primary, secondary, destructive; small, medium, large.
  2. •States: default, pressed, disabled, loading, focused, error.
  3. •Content rules: maximum lines, truncation, what happens with long text.
  4. •Behaviour: what tap does, any animation, haptics.
Common componentWhat developers need from you
ButtonHeights, padding, radius, label style, all states, hit area
Text inputLabel, placeholder, helper, error, focused border, keyboard type
List rowHeight, leading and trailing elements, divider rules, swipe actions
CardPadding, radius, shadow or elevation, pressed state
Tab barIcon set, active and inactive colours, badge style
HeaderTitle style, back behaviour, actions, large title collapse

Touch targets matter in code too. A 24pt icon should have a 44pt pressable area, which developers implement with padding or the hitSlop prop on Pressable. Note the intended target size on icon buttons.

Step 6: Specify shadows per platform

Shadows behave differently on iOS and Android in React Native. iOS uses shadow colour, offset, opacity and radius properties. Android traditionally uses elevation, which produces Material-style shadows with limited control. Newer React Native versions add a boxShadow style that works more consistently across platforms.

Practical advice: keep shadows subtle, define two or three shadow tokens (card, raised, modal), and accept that Android will look slightly different. Or skip shadows and use surface colour and borders, which are identical on both.

Step 7: Respect safe areas and the keyboard

  • •Safe areas. Content must stay clear of the notch, Dynamic Island, status bar and home indicator. Developers use a safe area library for this. In your design, show the safe area insets on every screen and mark which backgrounds extend edge to edge.
  • •Keyboard. Show how forms behave with the keyboard open: what scrolls, whether the primary button sticks above the keyboard, and what "Return" does on each field.
  • •Platform differences. Show where iOS and Android differ: back navigation, headers, date pickers, action sheets. React Native's Platform.select lets developers switch cleanly, but only if you say what should differ.

Step 8: Design all the states

This is where most handoffs fall short. For every screen, include:

  • •Loading (skeletons or spinners)
  • •Empty
  • •Error, with retry
  • •Offline
  • •Partial data and very long content
  • •Success and confirmation
  • •Dark mode

Missing states get invented by developers under deadline pressure, and invented states rarely match your design.

Step 9: Describe motion and interaction

React Native animations are commonly built with Reanimated and gesture libraries. Give developers:

  • •Duration and easing for each transition (for example, 250ms ease-out for a sheet opening).
  • •What triggers it.
  • •Gesture behaviour: swipe thresholds, what happens on release.
  • •Reduce Motion alternatives.

A short screen recording of a prototype is worth more than a paragraph.

Step 10: Choose your handoff path

PathHow it worksGood for
Figma file plus Dev ModeDevelopers inspect and build by handTeams with experienced RN developers
Design tokens exported as JSONTokens synced into the themeTeams maintaining a design system
Figma-to-code pluginsGenerate starting code from framesSpeeding up layout, with review
Design tool with React Native exportScreens exported directly as componentsSmall teams and solo founders

Generated code is a starting point, not a finished app. It still needs navigation, data, state and accessibility work. Our comparison of Figma to React Native tools looks at the options in detail. You can also generate a first draft of screens in floow and export them as React Native code alongside a Figma file.

The design-to-React Native handoff checklist

Structure

  • •Frames designed at 1x in points or dp.
  • •Auto layout used everywhere; absolute positioning only where intentional.
  • •Layouts tested at narrow and wide phone widths.

Tokens

  • •Colours named by role, with light and dark values.
  • •Spacing on a 4 or 8-point scale.
  • •Text styles with family, size, absolute line height and weight.
  • •Two or three radius and shadow tokens.

Assets

  • •Icons as consistent SVGs.
  • •Raster images at 1x, 2x and 3x.
  • •Font files supplied, one per weight, with licences.

Components

  • •Variants and all states for each component.
  • •Touch target sizes noted for small controls.
  • •Truncation and maximum line rules.

Screens

  • •Safe areas shown.
  • •Keyboard behaviour shown for forms.
  • •Loading, empty, error, offline and dark mode states included.
  • •Platform differences documented.
  • •Motion specified with duration, easing and triggers.

For a broader, tool-agnostic version, see our design to developer handoff checklist.

FAQ

How do design units convert to React Native?

React Native uses density-independent units that equal points on iOS and dp on Android. If you design at 1x on a standard phone frame, your values carry over directly. Avoid measuring from 2x or 3x exports, which inflate every number.

Does Figma auto layout map to React Native Flexbox?

Closely. Vertical auto layout becomes a column, horizontal becomes a row, gap maps to gap, padding to padding, and "fill container" to flex fill or stretch. The main difference is React Native's default column direction and the lack of CSS grid.

Can I convert a Figma design directly to React Native code?

Plugins and design tools can generate React Native code from frames, which speeds up layout work. The output still needs a developer to add navigation, data, state management, accessibility and performance tuning, so treat it as a strong starting point rather than a finished app.

What do React Native developers need from designers?

Named tokens for colour, type and spacing, components with variants and states, correctly exported assets and fonts, every screen state including errors and empty states, safe area and keyboard behaviour, and clear notes on motion and platform differences.

Design it with floow

floow generates native-feeling screens that export to React Native as well as Figma, so design and code start from the same source. Paste this into floow.design: "Design a 3-screen iOS task app for React Native export: a task list with section headers and swipe actions, a task detail with a text input in error and focused states, and an empty state, using named colour tokens with light and dark versions."

Design your mobile app with AI.

Generate pixel-perfect iOS and Android screens in seconds, then export to Figma or code.