All entries

    Figma Auto Layout to React Native Flexbox, Step by Step

    Translate a Figma Auto Layout card by preserving how its children behave under pressure.

    A designer compares a layout board with the same card on two screens
    Conceptual pixel-art illustration.

    Translate a Figma Auto Layout card by preserving how its children behave under pressure.

    Build the example

    Build a notification card with a fixed-size icon, a text region that can grow, and a trailing time. Map direction, spacing, padding and alignment directly where supported. For the main text, use flexGrow with flexShrink and verify wrapping on the target renderer. At narrow widths move the time below the title if it competes with essential text.

    Build the card without visual effects before comparing screenshots. Give its title one long compound word and a two-sentence subtitle. The icon stays centered on its first content row while the time can move on narrow layouts. Fix clipping with layout choices before you adjust fonts to make a single screenshot fit.

    React Native styles
    const styles = StyleSheet.create({
      row: {
        flexDirection: 'row',
        alignItems: 'flex-start',
        padding: 16,
        gap: 12,
      },
      body: { flexGrow: 1, flexShrink: 1, flexBasis: 0 },
    });

    Watch the failure boundary

    Check the horizontal row with both Latin text and right-to-left layout if your app supports both. Leave room for dynamic type and record where the design intentionally switches layout. In the handoff, document the fixed size, the flexible region and the breakpoint behavior together so another developer can explain what changed and why.

    Verify the behavior

    Check an unusually long translated string, a missing secondary line and an increased font scale. Compare the smallest supported screen to the original frame using the same content. A card that matches at one width can still fail the original intent if the tap target shrinks or truncation hides the action.

    FURTHER READING

    Sources

    Technical references checked .

    END OF ENTRY / 39
    Eeshan Singh with Big Ben in London
    BEHIND THE JOURNAL

    Eeshan Singh

    I’m Eeshan Singh Pokharia, an AI Full Stack Developer and CoFounder of UltraFit360. I work across AI features, full-stack product development, and web and mobile experiences—from Figma and frontend interactions to the systems behind them.

    Check the horizontal row with both Latin text and right-to-left layout if your app supports both. Leave room for dynamic type and record where the design intentionally switches layout. In the handoff, document the fixed size, the flexible region and the breakpoint behavior together so another developer can explain what changed and why.

    Meet the author
    THE CONVERSATION

    Your side of the story.