Grid and padding
The page structure should explain where the user is and what area he is working with. Indentation unifies related elements and separates independent tasks.
Page frame
For an application with constant navigation, a side menu and flexible work area are suitable. For sequential reading - top menu and main content. Layout helps assemble the frame, and Menu marks the current section.
Determine in advance which parts remain fixed, which parts stretch and what changes on the narrow screen.
Mesh
Ant Design uses a 24 column grid. Row and Col distribute space and set responsive dimensions. For a simple line of elements use Flex, for spaces between controls use Space.
Don't choose the number of columns based on the layout of a large monitor. The content should also fit with long captions, translation and enlargement of the text.
Intervals
Start with a consistent spacing: the Ant Design tutorial uses a base unit of 8 px. Define closer groups with a smaller gap, independent blocks with a larger gap. For specific elements, theme design tokens are preferred rather than one fixed gap for the entire interface.
Narrow screen
Menus, tables, and forms require different adaptation methods. The table can get its own horizontal scrolling; form fields - move to one column. Maintain access to actions and control labels, check focus and docked panels when scrolling.
Shared canvas and adaptation
A shared design-board size makes team discussions easier; Ant Design uses 1440 px in its example. This is a design starting point rather than the fixed width of an application. Define the minimum working width, flexible areas and behaviour with larger text separately.
Handing a grid to development
Identify flexible regions, column count, gutter and block boundaries when handing over a design. Specify a block’s start and end columns instead of giving every rectangle an isolated width. This preserves relationships as the window changes.
Common scales
A shared set of dimensions maintains rhythm across products. An 8 px unit supports larger intervals and composition while each control uses its theme tokens. Choose dimensions according to content and task, keeping an overall rhythm instead of mechanically rounding every value.
Adapted from the guide by Ant Design. MIT.