Design the base element that you want to repeat - for example, a combination of image thumbnails and text.
- Adobe XD User Guide
- Introduction
- Design
- Artboards, guides, and layers
- Shapes, objects, and path
- Text and fonts
- Components and states
- Masking and effects
- Layout
- Videos and Lottie animations
- Prototype
- Create interactive prototypes
- Animate prototypes
- Object properties supported for auto-animate
- Create prototypes with keyboard and gamepad
- Create prototypes using voice commands and playback
- Create timed transitions
- Add overlays
- Design voice prototypes
- Create anchor links
- Create hyperlinks
- Preview designs and prototypes
- Share, export, and review
- Share selected artboards
- Share designs and prototypes
- Set access permissions for links
- Work with prototypes
- Review prototypes
- Work with design specs
- Share design specs
- Inspect design specs
- Navigate design specs
- Review and comment design specs
- Export design assets
- Export and download assets from design specs
- Group sharing for enterprise
- Back up or transfer XD assets
- Design systems
- Cloud documents
- Integrations and plugins
- Work with external assets
- Work with design assets from Photoshop
- Copy and paste assets from Photoshop
- Import or open Photoshop designs
- Work with Illustrator assets in Adobe XD
- Open or import Illustrator designs
- Copy vectors from Illustrator to XD
- Plugins for Adobe XD
- Create and manage plugins
- Jira integration for XD
- Slack plugin for XD
- Zoom plug-in for XD
- Publish design from XD to Behance
- XD for iOS and Android
- Troubleshooting
- Known and fixed issues
- Installation and updates
- Launch and crash
- Cloud documents and Creative Cloud Libraries
- Prototype, publish, and review
- Import, export, and working with other apps
Learn how to create repeating elements in Adobe XD using Repeat Grid.
While designing for web or mobile apps, there is often a need to define repeating elements or content lists. However, it can be time consuming to create these elements or update when there are design changes.
The Repeat Grid feature changes a group of elements to a repeating element. You can simply pull the element in any direction and the grid repeats. When you modify any style of an element, the change is replicated in all the elements of the grid. For example, if you change the image size in one of the elements, all images in the grid are resized automatically.
If you have a text element in the grid, only the style of the text element is replicated and not the content. So, you can style text elements quickly while keeping the content different in the grid elements.
You can replace placeholder text in a repeat grid by dragging a text file onto the grid.
Create a repeat grid
At its core, a Repeat Grid is a special type of group. You can create a Repeat Grid by selecting an object or a group of objects and convert them to a Repeat Grid.
-
-
Select the elements you want to repeat.
-
Convert the selection to a Repeat Grid by clicking the button in the Property Inspector or by using the keyboard shortcut Cmd + R (Mac), or Ctrl + R (Windows).
Large handles appear on the boundary of the element.
-
To repeat the element in a vertical grid, drag the handle at the bottom of the element. To repeat the element in a horizontal grid, drag the handle at the right of the element.
-
To select elements in a grid to edit, double-click the grid.
To ungroup the grid elements and work on them separately, select the grid and click Ungroup Grid in the Property Inspector.
You can access the Repeat Grid’s component elements by double clicking inside the group.
After you make your changes, exit the edit context by pressing the Escape key.
You can also access the component elements by drilling down into the element in the Layer panel or by directly selecting it.
Adjust the padding between two elements in a repeat grid
To adjust the padding between two elements in the grid, hover over the gap between the elements. When the cursor changes to double arrows, drag to increase or decrease the padding.
Work with text in a repeat grid
You can use text in multiple ways in a Repeat Grid. You can either update each individual instance of a text object in a Repeat Grid, or you can choose to drag a pre-filled .txt document to a Repeat Grid and have the contents of the text file automatically populate the text objects in a Repeat Grid.
Update individual text elements in a Repeat Grid
-
Cmd + Click (Mac) or Ctrl + Click (Windows) a text object in your Repeat Grid to select it.
-
To edit the text element, double-click it and change the text.
Changes to the content are not applied to other text objects in a Repeat Grid. However, any style applied to the text object applies to all text objects.
Drag a return-separated text file to your text object in a Repeat Grid
You can replace the placeholder text in a repeat grid by dragging a text file onto the grid.
-
Create a text file with the extension .txt. You can create this using Mac’s TextEdit or Windows’ Notepad (save as .txt), or any other text editor. Ensure the encoding is set to UTF-8. Separate each line of data with a return.
-
Drag the text file on to the repeat grid.
The repeat grid is populated in the same sequence of the text as in the text file. If there are more grids than the lines of text in the file, the sequence repeats.
Work with images in a repeat grid
With images, you can build repeated patterns of objects, where the image fill of an object is repeated in a pattern that you define.
You can choose to create an image fill pattern by dragging images one-by-one into an object, or select multiple images and then drag them to an object on the repeat grid.
Replace images in a repeat grid
To replace the images in the grid, open Finder or File Explorer, and navigate to the location where you have stored the images for your project. Select all the images that you want to appear in the grid, and drag-and-drop them onto the target object within the repeat grid.
The older images are replaced with the new images, which are resized automatically.
Create interactions from a repeat grid
You can wire a repeat grid to other artboards in Prototype mode in the following different ways:
Wire the entire Repeat Grid for a single interaction
-
In Design mode, create a second artboard in your file using the Artboard tool (A).
-
Switch to Prototype mode by clicking the Prototype tab or by using the Ctrl + Tab keyboard shortcut.
-
Select the Repeat Grid in your first artboard. A connector with an arrow appears on the right side of the object at its midpoint.
-
Drag the connector to the next artboard. Select your transition options in the pop-up, then press Escape or click outside the pop-up to dismiss it.
-
Preview by either pressing the Play button in the upper right corner of the application frame or by using the keyboard shortcut Cmd + Enter (Mac) or Ctrl + Enter (Windows). Click anywhere over the Repeat Grid to play the interaction.
Wire a single element of a Repeat Grid for an interaction
-
Select an object within the Repeat Grid.
-
Drag the connector on the right of the rectangle and drag it to the artboard you want to link. Select your transition options in the pop-up, then press Escape, or click outside the pop-up to dismiss it.
-
Preview by either pressing the Play button in the upper right corner of the application frame or by using the keyboard shortcut Cmd + Enter (on Mac) or Ctrl + Enter (on Windows). Click the object to verify the interaction.
Create a group of elements within the Repeat Grid and create an interaction from the group
You can also create a group of objects within your Repeat Grid, and then create interactions from that group.
-
Select an object in your Repeat Grid and then Shift-click other objects to add it to your selection.
-
After selecting the objects, right-click, and select Group from the context menu. You can also use the keyboard shortcut Cmd + G (Mac) or Ctrl + G (Windows) to group the objects.
-
Switch to Prototype mode. Drag the connector from the group to the artboard you want to link.
-
Preview by either pressing the Play button in the upper right corner of the application frame or by using the keyboard shortcut Cmd + Enter (on Mac) or Ctrl + Enter (on Windows). Click the group to verify the interaction.
Import content with repeat grid
Here is a sample video to get you started with repeat grids.