In this tutorial we’re going to explore some new features in Adobe XD, namely “responsive resize and constraints”. These features, added in September 2018, allow real scaling of designs within Adobe XD, giving us genuinely responsive web design capabilities.
To demonstrate these new features I’ll be using the Bones iOS wireframe kit available on Envato Elements:
Watch the Video
Resizing Before the XD Update
Before Adobe XD introduced its new resize features, resizing a design meant manually repositioning all the required elements. For example, you’d make your artboard bigger, then reposition, realign, and resize the top bar elements and all other objects accordingly. Not ideal.
Responsive Resize Now
Responsive resize takes all of that manual labor and fixes things for you automatically. Open a document in Adobe XD and you’ll notice a Responsive Resize toggle in the properties pane:
Now when I resize the same artboard, you’ll see that centrally-aligned object remain in the center, right-aligned objects stick to the right, and left-aligned objects remain on the left. Equally, when I stretch the artboard vertically, the positioning of the UI elements is retained perfectly.
The alignment and spacing of objects can be tailored to your needs. For example, if you look at the four elements at the bottom of our demo screen, you’ll see that when resized the email and password inputs are spaced a bit too far away from one another (as we know, proximity is an important factor in designing visual relationships).
By first grouping the inputs we can inform Adobe XD that we want them to be visually connected, so they’ll be held closer together upon resize (note the pink line around the group):
Manual constraints take things a step further by allowing us to be even more specific with how Adobe XD deals with responsive resizing.
Underneath the Responsive Resize toggle there’s a switch to make the process Manual, instead of Automatic. The controls we’re given allow us to specify, for each object, which edges of the artboard we want it to stick to, and whether we want to keep its height or width fixed.
For example, here’s an interface where the objects are responsively resized automatically. It’s not bad at all, but it could be better:
With one or two of the elements manually constrained, we can ensure the follow button sticks to the top edge, the tabs do the same, and the post content all stays aligned to the left:
Download the latest Adobe XD update and play around with the new responsive resize settings–I guarantee you’ll like what you find! With this update Adobe have made what was a very tedious process extremely intuitive and quick–and combined with functionality such as Repeat Grid you’ll find responsive design in Adobe XD especially powerful for complex UI design.
Learn More About Adobe XD
If you liked this tutorial, you'll love our free course on Adobe XD auto-animate, a simple yet powerful feature that allows you to link artboards in a prototype with beautiful, authentic animation. Or check out the following tutorials and courses:
- Adobe XDThis Is Adobe XDDaniel White
- Adobe XDLanding Page Design With Adobe XDDaniel White
- SketchHow to Create One-Sided Borders in Sketch and Adobe XDAdi Purdila
- Adobe XDSketch vs. Adobe XD: Which One Should You Use?Adi Purdila
Envato Tuts+ tutorials are translated into other languages by our community members—you can be involved too!Translate this post