3.3 Working With Assets
Welcome back to this Adobe XD tutorial. In this lesson, you’ll learn how to work with assets in Adobe XD. Assets are reusable bits of your project and can be categorized as colors, character styles, and components. So let’s see how you can make the most of them and use them to your advantage.
1.Introduction1 lesson, 01:20
2.The Basics of Working With Adobe XD4 lessons, 56:12
3.The Advanced Functionality of Adobe XD8 lessons, 1:13:40
4.Prototyping With Adobe XD2 lessons, 15:57
3.3 Working With Assets
Welcome back to the course. In this lesson you're gonna learn how to work with assets in Adobe XD. These are reusable bits of your project, and they're categorized in colors, character styles and components. So, let's see how we can use them to your advantage. To find the assets in your current project, you need to go down here on the left side and switch between layers or plugins, it depends on what you have. To assets or you can press Shift Ctrl or Command Y. And here you will find colors, character styles, and components. So how do you create an asset? Well, let's create a rectangle for example. Let's set a color, something like this. Now, once I have this selected, notice that two of my assets became active, colors and components. That means, with this selected, I can create an asset in either of these two categories. So if I click on colors, it tells me add color from selection. So that took the fill color and the border color and it created two assets for me. I can also create a component. Click, and now this is named Component 1. Notice the transform controls have changed color. So this is how they look like on a normal layer. They're blue. But on a component they are green. Now if I were to add a bit of text, Let's make this a little bit bigger. I can also create a character style and a component. So, I'm gonna click this character style. And it tells me I have a new asset. It gives me the font family. It gives me the font size and also if I hover on it, it also tells me the character spacing and line spacing. Which is great. So now I have these assets. What can I do with them? Well, it's very simple. If I have for example, another art board. Okay and I want to use this Component 1 that I just created, what I can simply do is just drag and drop to my other art boards. And here's the cool part. If I change the color of this element, all the other instances of that component changes well. We'll talk more about components in the next lesson. For now, I just wanted to give you a quick demo of what you can do with assets. Now what about character styles? Same thing. Let's say I have another piece of text. And let's say I want to make it look exactly like this one here. I can select it, and I can click on the character style that I want to use. So now I can select this character style, and I can right click edit and I can change its properties. So let's say I want 40 pixels font size, maybe I want a different color. Okay? So any element that has that character style gets updated automatically. If I select these elements and I do changes individually, they only affect that element. It doesn't affect the actual character style. What about colors? Well with colors, it's the same thing. Let's say I have multiple elements not necessarily components, okay? That are using this color. And at some point I decide okay, I don't like this shade anymore. I want to change it. But I also want to change it on all the elements that are using it. That's really easy to do. Right click on this color, edit, And I can change it on all the places at once which is fantastic. Now, with assets you can do a couple of different things. First you can search for a specific asset for example component and it just highlights that particular assets. Very useful when you have a big big list of assets to work with. And you can also search by type. So you can choose between colors, character styles, and components. You can also rename these. So I can double click any of these. And in the case of colors, for example, instead of the hex code, I can say primary, I can say gray. Character styles instead of this default text that it gives me I can say, Heading 1. I can select this one, create a new style and I can call it Heading 2. I can also rearrange these assets by simply click, drag, and drop in its new position, it's very easy. And of course renaming works the same for components. One very particular feature is called highlighting assets. So for example, I can right click on a color, and I can say highlight on canvas. And that's gonna highlight every single element that's using that color. I can also highlight this one. Pretty cool. What about character styles? Same thing, highlight on canvas, and it tells me okay, this element is using this character style and you can see this is highlighted and this is highlighted. Same goes for our components. What components or what elements on my canvas are using this component, this, this and this. Very cool, really easy to find specific elements like this. Now there is another view mode here. There's a grid view, or you can switch back to a list view. Personally, I like this a lot more. But it depends on your preference. Right here you can find access to the CC libraries I showed you previously. And here you have the option to link assets. So what is this thing? Well, it's actually very cool. You see, you can link assets from another document. So let's say that I have this document. It's called Doc 1, it's saved in the cloud. Now let's go ahead and create the new, A new document here in XD. And I'm gonna link assets and I'm gonna select Doc 1. So by doing that I now have access to all of the assets that were saved in Doc 1, right. I can always go back to this and see my original assets. And this is my new document. So I can, for example, grab the square, and notice that we have a different icon here on this asset. And we have a different icon here as well, it's a kind of a link icon. This tells me that, these assets are linked to another document. If we go back to our original document, you can see that none of these have that linked icon. So how does this help me? Well, it's very useful. For example, if you're changing the original assets. And you give it a save and then you jump back to your new document. It tells me, okay, linked asset, update is available. You'll also see a little icon here highlighted telling you that hey, you have an update available. And if you hover over it, you'll see the new version. This is the old version. This is the new version. So you can click here to update it. Or if you have multiple updates let's for example change the font families on these two elements, save. And now when I go back, it tells me that I have two updates. And again, it shows me here, which assets I need to update. So I can click this button. And now I have the updated styles applied. With linked assets you can basically create your own pattern libraries. Keep them in the cloud and you can reference them anytime in new documents, and when you wanna change something, you basically change the original file. In my case, it's this one, and then all of the changes that you make here will be propagated to all the documents that used these linked assets. And that's how you can create and work with assets in Adobe XD. Now, one of these assets is represented by components. I briefly mentioned components in this lesson. But they are a bit more complex. So let's talk more about them in the next lesson. See you there.