In this video, Emmanuel Henri introduces the component tools and how to quickly add a component to the prototype and leverage in your design.
- [Instructor] So let's continue our exploration of the layout tools by doing a component. So just a quick note, we're not going to go into too much details of the components, we're simply going to create one so we can replicate a component across our list view here. So let's go ahead and create another frame. So let's go into our tools, frame, and this time let's draw one like so, and while we're here let's make sure that I have specific size, I'm going to do 300 by 150, so something that's fix like that, perfect. So now I got a frame in here, so let's call this one item. Within that frame, let's create another frame. So let's go ahead and create another frame inside of this guy, so like so, and this guy I want to make sure that is 300 large, and let's make sure that this guy is about, oh let's say, about 90, perfect. Let's reposition it inside of our frame like so, and now let's add some colors and stuff inside of this guy. So, the first frame is basically a background. So this is going to be a list item that we're going to have polls in here. So our list view is going to contain a list of polls. So let's go and change the main view here, and this time we're going to use an image, so in the exercise files you're going to have four image here. So click on resources you're going to have four images like so. So we're going to use these images to actually create the poll, so let's add number one. Alright so let's go back to Framer, and let's maximize this guy, and in the background here, click on this guy, and click on image. Choose, and then go into the exercise files, resources, let's select the first one, and then click open, and there you go, you have the first image. For the frame here, let's rename this one, so title area, we're going to do a black color and then our opacity, we're going to bring it down to 75. So you can do this with the scroller here or you can enter the value directly here like so. This looks perfect, maybe a little bit grayish, so let's go and select the gray instead and do the 75 on this guy, so sometimes you have to play a little bit with different colors and this is much better. Perfect. Now we're going to add two titles inside of this particular guy here, so let's go ahead and click on plus, or you can use the shortcut T if you don't want to leave the layers area, so you can basically do T, enter title, best blogs poll, and then resize this guy to approximately 20, make it bold, or medium. Let's, like so, and then you can move him, and then option click, create a brand new text in here. In this poll, we ask about your best blogs. And then let's make sure that we resize this guy as well. In terms of the font, let's put him at 18. Let's bring light, like so. Perfect, so now we got our first item here. So we want to create a component out of this guy, and then leverage this guy to create a few more. So the first thing you need to do is to make sure that you have the component selected, so the item you want to create a component out of, you want to make sure it's selected, so let's click on list view, and click on item like so, and let's also make sure that we have all the items inside. So, everything seems to be okay. So click on item, so make sure you have this guy selected, then click on the component area, click on new, click on item, so you need to name your component from design, and then click create. And now if we go here, we have an item or a new component selected. So whenever we change the main item, so this guy here, so if you go back to the layers, you're going to see that now we have a master component. So if we change this guy it's going to change the instances. So let's add a few more, so let's go ahead and click on component, and one more, add another one like so, and then you can position them like so and you have guides again to help you. And then you have instances of this particular component. So we have the master, we have the instances. So if you change the master, its changes are going to be replicated across the instances. If you make changes in the instances they're going to be only on that instance of the component. So this is how you create a component and leverage it to create more items. So, we'll continue working on this in the following videos and explore other tools.
- What is Framer X?
- Navigating the user interface
- Designing with Framer X
- Working with the layout and drawing tools
- Building interactions
- Creating simple and complex components
- Implementing overrides
- Exporting your prototype