Currency uses a grid system as a high-level model for Nerds to design a more consistent user experience across NerdWallet.
To design and then implement within the Currency grid system (or "Currency Grid") requirements, Currency provides a set of resources (e.g., Figma assets, React components, base-styles rules).
The Currency Grid requirements include being responsive to support different mobile web and desktop layouts. There is a single breakpoint at 768px, above which is referred to as "desktop" or "wide", and below is referred to "mobile" or "not wide".
The Currency Grid requirements use a 4 fluid (percentage-based, scaling linearly with the viewport) column grid layout on mobile (< 768px), and a 12 fluid column grid layout on desktop (>= 768px) that stretches up to 1280px. Above 1280px, the grid stops growing and becomes fixed.
The fixed spaces between the columns are called gutters.
At the mobile breakpoint, both columns and gutters snap to a different size:
Outer side margin (fluid)
|375px (min width)||4||3 (16px each)||16px (spacing-3)||343px|
|768px (wide breakpoint)||12||11 (24px each)||~52px (spacing-5)||664px|
|1280px (max width)||12||11 (24px each)||64px (spacing-5)||1152px|
Note: In reality, these values are flexible and scale with the viewport size. The numbers above are snapshots at key sizes for demonstration purposes.
The Currency Grid respects a max width of 1280px. Columns will stop fluidly growing at 1280px. The outer margins continue to grow with the browser window and the grid remains centered.
This is the space that contains the columns and gutters. Product designers should not normally design outside the Content Area.