Grids are a common tool for organizing layouts in design. In Motiff, pixel grids allow you to precisely control the position of layers, while layout grids give you simpler and more flexible control over the layout.
Layout grids can help you align and layout designs, providing a visual layout structure and maintaining the logic and consistency of layouts when design dimensions change.
Layout grids can only be applied to frames. You can apply them to the top-level frame or other types of frames.
Layout grids can be applied to any frame. Components are also frames.
You can add layout grids by following these steps:
Motiff supports three types of layout grids: grids, rows, and columns.
You can click to change the type of layout grid.
The grid is suitable for scenarios that require precise control of dimensions, such as designing icons.
The size and color of the grid can be adjusted. For example, in a default grid size of 10, each square has a side length of 10 px.
Rows and columns are suitable for responsive interface design for web pages and mobile devices.
For rows and columns, you can define their height or width, number, color, and other properties.
When the layout method is different, the properties that can be set may also differ.
You can use a single layout grid or repeat the above steps to add multiple layout grids and combine them to organize more complex layouts.
When you temporarily do not need layout grids but do not want to delete them directly, you can toggle the visibility of the layout grids to avoid unnecessary visual interference.
You can select Layout grids in the view/zoom options of the toolbar to show or hide all layout grids in the file.
You can also use shortcuts to toggle:
You can show or hide individual layout grids in the design panel.
Layout grids can be created as styles for reuse in design.
When a layout grid is added to a frame, the constraints of the inner layers may be affected by the layout grid.
When horizontal direction constraints are left, right, left & right, or center, the constraint will refer to the nearest column.
When vertical direction constraints are top, bottom, top & bottom, or center, the constraint will refer to the nearest row.
Learn more about combining grids and constraints.