Adobe Xd Basics Tutorial #14 - Components

Net Ninja · Beginner ·🛠️ AI Tools & Apps ·4y ago

Key Takeaways

Adobe Xd Basics Tutorial covering components, including creating, editing, and using states for UI design and prototyping.

Full Transcript

components are amazing feature of adobe xd and they are really going to help you expand your workflow they're really going to help you organize your workflow and they're really going to help expand your creativity even more because inside of a single component you can have multiple states you can have multiple options multiple looks and fields for your particular component so if you go back to adobe xd here we have the button which we created in the previous video and what i can do is hit ctrl or command k and i'm going to create a component and it's going to show up right here what you can also do is if i go back you can click right here you can click here to create a component same like we did for the character styles and for the colors and finally when you select it you can also click right here to add a component so basically here here or you can always use control or command k on your keyboard to create a component what we have right here if i zoom in just a little bit closer is this green diamond at the corner that green diamond indicates that this is the default state so default state is basically a starting state for your component let's say that this button is going to just sit like this on your website perhaps you're going to have inactive state which means that you cannot click on that button maybe you're going to have the hover state which means that user actually hovered their mouse over that button and then you're going to have clicked state to indicate that the user actually selected that button you can do all of that in a single component you just have to add those states and then activate them later when you start with prototyping so in this default state this is just basically a random button just sitting there and it's going to show you this green diamond if you have instance of your component so if i hold my alt key and change it like this if i select this you can see this is the filled in diamond and if i select this you can see it's hollowed out diamond so what that means is instances of your main component are basically like parents and children that's how they called it actually so this top component is actually a parent component it's created first so it's kept all of the original settings it's kept the size it kept the font style inside it kept the colors it kept the rounded corners all of these things it kept inside while this bottom component and child component actually it has all of these settings but if i click right here and actually let's change this to learn more now you can see it updates in real time as you can see productivity tip you can create components that resize automatically with padding and i'm going to show you that in just a second but this is the parent component this is the child component so basically whatever change you are doing in the pattern component is going to show up in a child component but it's not going to show the other way around so for example if you change the color inside of a child component and then try to update it to the parent component it's not going to work it's just going to work from parent to child so if i double click right here to access it like so so if i show you that in just a second so if i go into my parent component double click right here and if i for example go back to here for some reason it won't allow me yeah here we go so if i round my corners you can see how it looks but if i do the same thing in a child component as you can see it's not going to show up in a parent component because once again this is the child component same thing about changing colors same thing about changing the text but just remember when you're creating these components parent and child components whatever change you make in your child component is going to stay fixed inside of that child component and it's not going to apply to the parent component what that means is if i did this for example and now i go back to here if i try to resize it it's not going to work because i already resized it right here but if i want to move it it's going to move if i want to scale it in size it's going to work so any change that you didn't make in your child component it's going to work in parent components but any change that you did make like in this case we change that uh we change the corner radius to this bitcoin radius it's not going to work inside of a parent component so these are just things that you need to know finally let me show you states so as i said this is our parent component and this is our default state what you can do is click on this plus to add a state it's going to show you new state so depending on what you want to do we have new state we have hover state which obviously is for our state and we have a toggle state which is great if you're creating these toggles inside of your ui design so in the new state what i can do in this case is create this inactive active clicked deleted so all of these states for example for this particular button and inside of a hover state i can always create a higher state you cannot have multiple horrors you can just have one but you can have multiple states so if i click on the new state what i can do is call it for example clicked and inside of a click state what i can do is change this color to this color for example so now if i switch between my default state and my click state you can see how they look like so if i now add a hover state call it hover and inside of my power state for example i just want to include some ridiculous drop shadows so 20 20 and 20 like this this is the default state this is the click state this is the hover state so what you need to do now is hit prototype and i'm not going to show you that right now i'm going to show you that in a later lesson but for now you can always hit preview right here this is your desktop preview and when you hover you can see how that works so this is your hover state and you can obviously change even more by going into settings inside of your prototype and then changing the duration of these hover effects the duration of these transitions and all of these things and basically that's it for your components as you can see it's quite simple when you get your hands around it when you get the grips just remember whenever you are duplicating your component and creating parent and child components just remember whatever change you're making in your parent component is going to update throughout your child components so if once again i hold alt and create i don't know four different components for example and i click right here and i change it to plain gray you can see it's going to update through all of them but if i click on this one for example change the playgrade it's just going to update on that one and if i for example make these round it's just going to update on that particular one but if i for example change this learn more today it's going to update everywhere because even in this channel component i didn't change the color so basically that's it for the components in the next video we're going to talk about 3d in adobe xd it's not massive it's not going to give you these massive possibilities but it's going to allow you to do some interesting things here and there so i'll see you there

Original Description

🐱‍👤 Subscribe to the Alex On Design YouTube channel: https://bit.ly/3hB6rsz 🐱‍👤 Alex On Design Website: https://bit.ly/3xE14yi 🐱‍👤 Envato Elements: https://bit.ly/3AYYepp -------------- Net Ninja Links: 🐱‍💻 My Social Links: Facebook - https://www.facebook.com/thenetninjauk Twitter - https://twitter.com/thenetninjauk Instagram - https://www.instagram.com/thenetninja/ 🐱‍👤 Get access premium courses on Net Ninja Pro: https://netninja.dev/
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Net Ninja · Net Ninja · 0 of 60

← Previous Next →
1 Regular Expressions (RegEx) Tutorial #14 - Matching a Username
Regular Expressions (RegEx) Tutorial #14 - Matching a Username
Net Ninja
2 Regular Expressions (RegEx) Tutorial #15 - Email RegEx Pattern
Regular Expressions (RegEx) Tutorial #15 - Email RegEx Pattern
Net Ninja
3 Regular Expressions (RegEx) Tutorial #16 - Finishing Touches
Regular Expressions (RegEx) Tutorial #16 - Finishing Touches
Net Ninja
4 GraphQL Tutorial #1 - Introduction to GraphQL
GraphQL Tutorial #1 - Introduction to GraphQL
Net Ninja
5 GraphQL Tutorial #2 - A Birdseye View of GraphQL
GraphQL Tutorial #2 - A Birdseye View of GraphQL
Net Ninja
6 GraphQL Tutorial #3 - Project (stack) Overview
GraphQL Tutorial #3 - Project (stack) Overview
Net Ninja
7 GraphQL Tutorial #4 - Making Queries (front-end preview)
GraphQL Tutorial #4 - Making Queries (front-end preview)
Net Ninja
8 GraphQL Tutorial #5 - Express App Setup
GraphQL Tutorial #5 - Express App Setup
Net Ninja
9 GraphQL Tutorial #6 - Setting up GraphQL
GraphQL Tutorial #6 - Setting up GraphQL
Net Ninja
10 GraphQL Tutorial #7 - GraphQL Schema
GraphQL Tutorial #7 - GraphQL Schema
Net Ninja
11 GraphQL Tutorial #8 - Root Query
GraphQL Tutorial #8 - Root Query
Net Ninja
12 GraphQL Tutorial #9 - The Resolve Function
GraphQL Tutorial #9 - The Resolve Function
Net Ninja
13 GraphQL Tutorial #10 - Testing Queries in Graphiql
GraphQL Tutorial #10 - Testing Queries in Graphiql
Net Ninja
14 GraphQL Tutorial #11 - GraphQL ID Type
GraphQL Tutorial #11 - GraphQL ID Type
Net Ninja
15 GraphQL Tutorial #12 - Author Type
GraphQL Tutorial #12 - Author Type
Net Ninja
16 GraphQL Tutorial #13 - Type Relations
GraphQL Tutorial #13 - Type Relations
Net Ninja
17 GraphQL Tutorial #14 - GraphQL Lists
GraphQL Tutorial #14 - GraphQL Lists
Net Ninja
18 GraphQL Tutorial #15 - More on Root Queries
GraphQL Tutorial #15 - More on Root Queries
Net Ninja
19 GraphQL Tutorial #16 - Connecting to mLab
GraphQL Tutorial #16 - Connecting to mLab
Net Ninja
20 GraphQL Tutorial #17 - Mongoose Models
GraphQL Tutorial #17 - Mongoose Models
Net Ninja
21 GraphQL Tutorial #18 - Mutations
GraphQL Tutorial #18 - Mutations
Net Ninja
22 GraphQL Tutorial #19 - More on Mutations
GraphQL Tutorial #19 - More on Mutations
Net Ninja
23 GraphQL Tutorial #20 - Updating the Resolve Functions
GraphQL Tutorial #20 - Updating the Resolve Functions
Net Ninja
24 GraphQL Tutorial #21 - GraphQL NonNull
GraphQL Tutorial #21 - GraphQL NonNull
Net Ninja
25 GraphQL Tutorial #22 - Adding a Front-end
GraphQL Tutorial #22 - Adding a Front-end
Net Ninja
26 GraphQL Tutorial #23 - Create React App
GraphQL Tutorial #23 - Create React App
Net Ninja
27 GraphQL Tutorial #24 - Book List Component
GraphQL Tutorial #24 - Book List Component
Net Ninja
28 GraphQL Tutorial #25 - Apollo Client Setup
GraphQL Tutorial #25 - Apollo Client Setup
Net Ninja
29 GraphQL Tutorial #26 - Making Queries from React
GraphQL Tutorial #26 - Making Queries from React
Net Ninja
30 GraphQL Tutorial #27 - Rendering Data in a Component
GraphQL Tutorial #27 - Rendering Data in a Component
Net Ninja
31 GraphQL Tutorial #28 - Add Book Component
GraphQL Tutorial #28 - Add Book Component
Net Ninja
32 GraphQL Tutorial #29 - External Query File
GraphQL Tutorial #29 - External Query File
Net Ninja
33 GraphQL Tutorial #30 - Updating Component State
GraphQL Tutorial #30 - Updating Component State
Net Ninja
34 GraphQL Tutorial #31 - Composing Queries
GraphQL Tutorial #31 - Composing Queries
Net Ninja
35 GraphQL Tutorial #32 - query variables
GraphQL Tutorial #32 - query variables
Net Ninja
36 GraphQL Tutorial #33 - Re-fetching Queries
GraphQL Tutorial #33 - Re-fetching Queries
Net Ninja
37 GraphQL Tutorial #34 - Book Details Component
GraphQL Tutorial #34 - Book Details Component
Net Ninja
38 GraphQL Tutorial #36 - Styling the App
GraphQL Tutorial #36 - Styling the App
Net Ninja
39 GraphQL Tutorial #35 - Making a Single Query
GraphQL Tutorial #35 - Making a Single Query
Net Ninja
40 Build Apps with Vue & Firebase - Udemy Course
Build Apps with Vue & Firebase - Udemy Course
Net Ninja
41 Updated Vue & Firebase Course (Udemy)
Updated Vue & Firebase Course (Udemy)
Net Ninja
42 Vue & Firebase Real-time Chat (Preview) #1 - Intro
Vue & Firebase Real-time Chat (Preview) #1 - Intro
Net Ninja
43 Vue & Firebase Real-time Chat (Preview) #2 - Project Structure
Vue & Firebase Real-time Chat (Preview) #2 - Project Structure
Net Ninja
44 Vue & Firebase Real-time Chat (Preview) #3 - Firestore Setup
Vue & Firebase Real-time Chat (Preview) #3 - Firestore Setup
Net Ninja
45 Vue & Firebase Real-time Chat (Preview) #4 - Welcome Screen
Vue & Firebase Real-time Chat (Preview) #4 - Welcome Screen
Net Ninja
46 Vue & Firebase Real-time Chat (Preview) #5 - Props in Routes
Vue & Firebase Real-time Chat (Preview) #5 - Props in Routes
Net Ninja
47 Vue & Firebase Real-time Chat (Preview) #6 - Route Guards
Vue & Firebase Real-time Chat (Preview) #6 - Route Guards
Net Ninja
48 Vue & Firebase Real-time Chat (Preview) #7 - Chat Window
Vue & Firebase Real-time Chat (Preview) #7 - Chat Window
Net Ninja
49 Vue & Firebase Real-time Chat (Preview) #8 - New Message Component
Vue & Firebase Real-time Chat (Preview) #8 - New Message Component
Net Ninja
50 Object Oriented JavaScript Tutorial #1 - Introduction
Object Oriented JavaScript Tutorial #1 - Introduction
Net Ninja
51 Object Oriented JavaScript Tutorial #2 - Object Literals
Object Oriented JavaScript Tutorial #2 - Object Literals
Net Ninja
52 Object Oriented JavaScript Tutorial #3 - Updating Properties
Object Oriented JavaScript Tutorial #3 - Updating Properties
Net Ninja
53 Object Oriented JavaScript Tutorial #4 - Classes
Object Oriented JavaScript Tutorial #4 - Classes
Net Ninja
54 Object Oriented JavaScript Tutorial #5  - Class Constructors
Object Oriented JavaScript Tutorial #5 - Class Constructors
Net Ninja
55 Object Oriented JavaScript Tutorial #6 - Class Methods
Object Oriented JavaScript Tutorial #6 - Class Methods
Net Ninja
56 Object Oriented JavaScript Tutorial #7 - Method Chaining
Object Oriented JavaScript Tutorial #7 - Method Chaining
Net Ninja
57 Object Oriented JavaScript Tutorial #8 - Class Inheritance
Object Oriented JavaScript Tutorial #8 - Class Inheritance
Net Ninja
58 Object Oriented JavaScript Tutorial #9 - Constructors (under the hood)
Object Oriented JavaScript Tutorial #9 - Constructors (under the hood)
Net Ninja
59 Object Oriented JavaScript Tutorial #10 - Prototype
Object Oriented JavaScript Tutorial #10 - Prototype
Net Ninja
60 Object Oriented JavaScript Tutorial #11 - Prototype Inheritance
Object Oriented JavaScript Tutorial #11 - Prototype Inheritance
Net Ninja

Learn how to create and use components in Adobe Xd, including creating parent and child components, using states for different interactions, and designing reusable UI elements.

Key Takeaways
  1. Create a new component by hitting Ctrl or Command K
  2. Add states to a component, such as hover, clicked, or inactive
  3. Edit the design of each state
  4. Use the parent component to update all child components
  5. Create multiple instances of a component and update them individually
💡 Components in Adobe Xd allow for efficient and flexible design, enabling the creation of reusable UI elements and interactive prototypes.

Related AI Lessons

Up next
Salesforce Flow New Features (Summer '26) | Open Record, URL & Show Toast Messages
AITECHONE
Watch →