When working on your designs, you can use guides to line up objects or manage spacing between elements on an artboard. Grids serve as a framework on which you can organize your design elements (images, glyphs, paragraphs) and ensure the symmetry of the layout.
|Hello, I'm Jeanee! A lead visual designer working on a UX design project in XD that has multiple artboards and objects.|
|She is looking for resources to quickly layout and position objects using guides.||She needs help in aligning and defining the object structure within the design project using grids.|
Does this sound familiar? If you're facing such challenges, read on to learn how to create and use guides and grids within your artboards.
Once your artboards are laid out on design canvas,, an area is added to the top and left of your artboards that allow you to drag out guides. You can quickly snap to the horizontal and vertical centers, copy, and paste them across multiple artboards, remove them, and toggle their visibility.
Read on to learn how to create and manage guides.
Do you want to align and position objects within your artboards from top to bottom? Use vertical guides. If you want to align and position objects from left to right, use horizontal guides.
Now that you have created guides, you can use the Copy/Paste Guides option to quickly duplicate the them.
Do you want to temporarily hide guides and turn them on when needed? Use the Hide All Guides option.
You can also choose to lock guides across all the artboards to prevent them from being accidentally moved or adjusted.
To hide and lock guides on macOS and Windows:
Now that you are done with the basics of how to create and manage guides, you can use smart guides to temporarily snap the guides when you create or manipulate objects or artboards.
Now that you know the basics of guides in XD, go ahead and learn how to define the design structure and align objects within your artboard using Layout or Square grids.
To add layout or square grids, select one or more artboards. Navigate to the Grid section in the Property Inspector and choose either Layout or Square.
Once layout and square grids are added to artboards, you can personalize the display options for your grids by adjusting the preferences in the Grid section of the Property Inspector. Read on to learn how to change the grid size, number of columns, gutter properties, and margins for your grids.
With a layout grid applied to an artboard, you can set the number of columns, column width, gutter properties, and margin sizes from the Grid section of the Property Inspector.
Now that you've modified the number of columns, gutter width, and column width, learn how to adjust the margins of the artboard. Margins are the distance between the layout grid and the edge of the artboard. Read on to learn how to adjust margins on all sides.
Now that you know how to set preferences for your grids, read on to learn how to add grid colors and control their visibility.
Do you want to modify the appearance of grids? Use the color picker in the Property Inspector to add and change the grid color.
From the color picker, you can:
- Adjust the color using the color field and color slider.
- Use the Eyedropper tool to select a color from an artboard.
- Set the opacity of the fill by using the color slider or typing a value in percentage. If you set the value to 0, the layout grid switches to outline view.
You can control the visibility of layout and square grids using the Hide Layout/Square Grids or Show Layout/Square Grids option.
- To snap an object to a layout or square grid, drag an object toward the grid until one of the object’s edges is within the grid’s snap-to zone.
- Guides snap to selected objects or top-level objects drawn on the canvas. To disable the snapping behavior, press ⌘ (on macOS) or Ctrl (on Windows).
- To position the guide in increments of 10 px on the canvas, press Shift.
- To revert to the default square or layout grid appearance, click Use Default option on the Grid section of the Property Inspector.
We've got you started with how to position and align objects within artboards using guides, and grids. Take a step forward and learn how to use repeat grids to create objects with repeatable elements.