Designing Forms in Figma - UI/UX Challenge — Transcript
Full transcript
- 0:00forms forms are one of those things that
- 0:02you absolutely have to get right they're
- 0:04present in almost every UI design every
- 0:07website or app and so today I'm going to
- 0:09be showing you form Basics and form
- 0:13fundamentals and we'll be designing one
- 0:15for this layout that we've been working
- 0:17on throughout this course and then
- 0:18afterwards you have a challenge where
- 0:20you need to design a signup registration
- 0:22form for this layout which we've also
- 0:24been working on throughout this series
- 0:27so buckle up let's get ready make sure
- 0:29to subscribe here if you haven't yet
- 0:31check out designc course.com and let's
- 0:33get
- 0:35started all right everybody so as you
- 0:38can see um definitely want to go to
- 0:40lesson six form design right here and
- 0:43you will see this so this is one of the
- 0:46um early layouts that we've created
- 0:48before we worked on a couple times and
- 0:50now we're going to assume that we're
- 0:51working on a contact page which
- 0:53obviously will have a form so I already
- 0:56designed kind of like a sub page could
- 0:58possibly look like um and I've already
- 1:00designed parts of this I don't want to
- 1:02focus on anything other than form
- 1:04elements in this video just to make it
- 1:06go quicker so um a contacts page is
- 1:09really one of the most simplistic forms
- 1:12that you can have outside of like a
- 1:13login form or something like that um and
- 1:17we want to have a few Fields um I would
- 1:20say at minimum two for a contact form
- 1:22obviously for the email and then the
- 1:24message if you count the call to action
- 1:26this the input button that would be
- 1:28three um but we're going to do
- 1:30I basically two different text Fields a
- 1:33name email and then a text area as well
- 1:36and a in a submit button so the first
- 1:38thing that we want to do and by the way
- 1:40this big white thing up here this is for
- 1:42us to hold our components because For
- 1:43the First Time in this uiux course we're
- 1:45actually going to work with components
- 1:47and that's really to demonstrate the
- 1:49different states that an input element
- 1:51could be in so in this context this
- 1:55layout and this design right here um we
- 1:58have to ask ourself okay well what color
- 2:01is the background of our I elements
- 2:04being like like a text field for the
- 2:06name right um and you have a couple
- 2:09options here so for me what I would do
- 2:12let's hit the frame tool to create the
- 2:14actual uh text field element so we can
- 2:18left click and just drag somewhere
- 2:20roughly around here because remember we
- 2:22want to fill out this space this
- 2:25basically is a two column layout where
- 2:27this stuff on the right is the second
- 2:29column and then this stuff is the First
- 2:31Column um and so I'll probably make it
- 2:33go you know right around where we have
- 2:35the center point marker and when we do
- 2:37that we don't have a fill so let's add a
- 2:39fill and by default we could see that
- 2:41it's white and I do want to give it a
- 2:42little bit of rounded Corners because we
- 2:43already do have rounded Corners in this
- 2:45button up here so you want to keep
- 2:46things consistent so this is roughly the
- 2:50size of the text field that you would
- 2:53want but one thing that's a problematic
- 2:56about this particular text field even
- 2:58though we have it has a background color
- 3:00is the fact that it's sitting on a very
- 3:02light gray so there's not a lot of
- 3:04contrast to see visually where this text
- 3:08field actually is and one of the things
- 3:10that you could do to make it more
- 3:11accessible is to add a stroke around it
- 3:14so when you add a stroke um we don't
- 3:16have to go all the way black we can come
- 3:19down like to like a more like a a mid
- 3:20gray but this will make it a lot easier
- 3:23to see all right and that's real
- 3:25important a lot of people for some
- 3:28reason they like text fields that you
- 3:29could barely see I don't know what's up
- 3:31with that but you want to make sure you
- 3:33can see it you can also make the Border
- 3:34thicker and all that good stuff so right
- 3:37here is probably a good size for a text
- 3:40field and your text Fields this is one
- 3:42of the real things that you have to pay
- 3:44attention to and this is going back to
- 3:45UI design fundamentals you want to make
- 3:47sure that you have a good amount of
- 3:49white space or padding on the inside of
- 3:52the text field itself I that is very
- 3:55important and you'll see we're going to
- 3:57demonstrate what that looks like here in
- 3:59a bit um but also we're we're going to
- 4:02design these um with explicit labels so
- 4:07clearly we need to inform the user about
- 4:10what this text field is about so I'm
- 4:11going to hit the type tool and going
- 4:13left click and I'm just going to tape
- 4:16name very simple so this is size 24
- 4:20which is actually a pretty good size I'm
- 4:22going to make it bold as
- 4:23well I may make this a little little bit
- 4:26larger
- 4:27even so we're up to like 35 or so so
- 4:31here's our name
- 4:32field and you don't have to necessarily
- 4:35make it
- 4:36bold this works as well now let's also
- 4:39demonstrate I would honestly I'm
- 4:41probably going to make it bold because
- 4:42that would establish some visual
- 4:44hierarchy um for the element inside of
- 4:46it which is which would actually be the
- 4:48value so you know this might be you know
- 4:52John Doe and in order to establish that
- 4:55visual hierarchy we could do two things
- 4:57we could take the boldness down to
- 4:59regular and then we could also make this
- 5:01a little bit smaller although you don't
- 5:04have to it's just a treatment I'm
- 5:05applying um and there we go so here's
- 5:08what a pretty good text field would look
- 5:11like notice the good amount of white
- 5:13space around the inside so if we hit our
- 5:16Auto layout button and then we shift
- 5:19this if I zoom up right here to left the
- 5:23line Center we can now drag this back
- 5:26out to roughly around where it was
- 5:29before
- 5:30now you can kind of see it's not quite
- 5:32centered vertically here so one of the
- 5:36things that you could do to combat that
- 5:38is actually you can offset that based on
- 5:41these padding values right here so you
- 5:44can select one specifically to make
- 5:46adjustments to either push it down or
- 5:48bring this up so that it's more centered
- 5:52vertically okay so that's good now
- 5:54another thing that we also have to worry
- 5:56about is um basically Ally identifying
- 6:01or notifying the user of when there's an
- 6:03error so for instance when they submit
- 6:05and nothing and and they didn't fill it
- 6:07out for instance or they put characters
- 6:09that aren't allowed um you want to
- 6:11provide an explicit message identifying
- 6:14what the issue was and preferably around
- 6:17that specific UI element not just
- 6:19somewhere else by the like the submit I
- 6:22button or whatever so to do that I'm
- 6:24just going to take another uh piece of
- 6:26type and right here I'm just going to
- 6:28put a generic kind of error message like
- 6:31something like
- 6:37I sorry this field is required now I'm
- 6:40going to go ahead and make this a bit
- 6:42smaller so we're at size 18 which is
- 6:45okay and then I'm also going to make it
- 6:48kind of like a reddish color not quite
- 6:50100% full blast red like that but I'm
- 6:53going to come out more like probably
- 6:55somewhere like right around here like
- 6:57that okay
- 7:01I actually might make that a little bit
- 7:06larger we can make it bold as
- 7:10well and we don't have to keep on using
- 7:13this particular font um because we are
- 7:15using two different fonts enter and the
- 7:18other one is consolas so I'll probably
- 7:20take these two and uh transition those
- 7:23to
- 7:24enter there we go and then we can make
- 7:27the value be this consol La uh the
- 7:29actual placeholder value which I kind of
- 7:32like okay so let me reduce this white
- 7:37space just a bit there we go all right
- 7:40so what I've done here is designed kind
- 7:42of like a full experience of what a
- 7:44potential uh text field could look like
- 7:47and I I did all this stuff explicitly
- 7:49and filled it all in for a very specific
- 7:52reason because now that we have this
- 7:54whole kind of scaffolding for a uh text
- 7:57field what we can now do
- 8:00is we can place this into um first an
- 8:04auto
- 8:05layout all right and then if we want to
- 8:07we can find you know adjust the
- 8:09different uh the white space between
- 8:11these values so if I want to adjust this
- 8:13down or something like that I can but
- 8:15now we can also add a component so when
- 8:18we click it it's going to give it a
- 8:20yellow outline but we want multiple
- 8:21component States so or a variants um so
- 8:24we're going to click add variant now
- 8:26when we do this it it kind of screws up
- 8:28the layout right and what we want to do
- 8:31is just drag it up here this is not a
- 8:34layout or anything this is just to hold
- 8:35our component and our component variants
- 8:38or our different states so by default
- 8:41this is going to be the default State
- 8:43and what I want to do is grab the
- 8:45overall container right here and come
- 8:47over where it says properties where it
- 8:49says property one double click that
- 8:50we're going to call this state all right
- 8:52so we're going to have different states
- 8:55for our uh text field and typically
- 8:58those states are are uh three different
- 9:00states you have your default State you
- 9:02know where it's just there and then you
- 9:04have a focus state where the user has
- 9:07actually uh take taken their cursor or
- 9:09their finger if they're on mobile and
- 9:11they tapped onto it and you want to
- 9:12signify visually that that is the active
- 9:15element um and then there's the error
- 9:17State as well so these are things that
- 9:19you know you want to design for if you
- 9:20want to be as comprehensive as possible
- 9:23so the first state down here we don't
- 9:26need this sorry this field is required
- 9:29for the default State that's only going
- 9:31to be visible on the um error state so
- 9:34I'm going to take it with it selected
- 9:36and I'm just going to hide the
- 9:38visibility right down here on the uh on
- 9:41the fill actually no we're going to hide
- 9:45the the layer visibility there we go so
- 9:47we hide that and we'll want to do it for
- 9:49this one as well so we'll hide that and
- 9:53essentially this as well this filled in
- 9:56State uh this element I don't want to
- 9:57see that for the default state so I'm
- 9:59going to hide that now this is going to
- 10:02be the focus state right here so if we
- 10:05go back to the the first state the
- 10:06default State you can see it's called
- 10:08default which is fine this one we want
- 10:10to change it from variant two to
- 10:13focus all right now for Focus I do want
- 10:16to leave in the value of what it looks
- 10:19like when somebody actually types in
- 10:21because a front end developer needs to
- 10:22know what that looks like because it's
- 10:23all stylable in CSS um and there are
- 10:27ways more advanced ways and prototyping
- 10:30with inigma to actually signif allow you
- 10:33when you're playing the prototype to
- 10:34type in these fields these text Fields
- 10:37um but we're not going to mess with that
- 10:38because that's a little bit more
- 10:39advanced but if we just want to show
- 10:42real quickly what a value looks like
- 10:45inside of a text field then you can just
- 10:46have it you know John do something like
- 10:49that that's fine um another thing that
- 10:52we we need to focus on like I said is
- 10:53when you're on the focus State we have
- 10:55to signify visually that this is the
- 10:58currently active
- 10:59uh element that you're typing into and
- 11:01one of the ways that you could do that
- 11:02is to take the actual frame the text
- 11:06filled container and you can make the uh
- 11:09stroke bold so if you come down here you
- 11:12can see it's at size one we can bump
- 11:15this up to around three and now it's
- 11:17going to give us a nice visual indicator
- 11:18this is the currently active element
- 11:21okay so now that that's good we're going
- 11:23to take this state right here and we're
- 11:26going to add another one by clicking
- 11:27plus this is going to be called instead
- 11:30of state three we're going to call this
- 11:32one uh
- 11:34error all right and this is going to be
- 11:36our error State and oh wait did I not I
- 11:39want to make sure that I
- 11:41actually oh okay yeah we want to bring
- 11:44the visibility of this back so we bring
- 11:46that
- 11:47back and we're not seeing it right now
- 11:50we have to pull this down there we go
- 11:52and also when you're when a a field is
- 11:55errored or in an error State you also
- 11:58want to have a visual indicator for that
- 12:00so what I would do is just take this
- 12:01same green or green red color um that we
- 12:05used on the type beneath it and we will
- 12:06outline this in red you could also
- 12:09change this to be that red as well and I
- 12:13think that would be a good idea um that
- 12:15way they understand fully the label the
- 12:19form element and all this tells them
- 12:21that this is an error okay so now we
- 12:24have our three different states and what
- 12:26we can do is we can now graph them if we
- 12:29go to
- 12:30assets we can see right sorry we can see
- 12:34right there we can just drag it right
- 12:37on isn't that fun okay so
- 12:42now what I can do is we can duplicate
- 12:47this and for this one I can double click
- 12:50here and change this to email so now we
- 12:53have our name and email filled and now
- 12:55that we have two of them let's select
- 12:57both and add an auto layout so click
- 13:00plus right here so now we can control
- 13:03the white space between these elements
- 13:04if we
- 13:06wish all right and we also need to have
- 13:11a text area for the message now a text
- 13:14field is typically just one line like
- 13:17this a text area is exactly like a text
- 13:20field where you type in but it's it's
- 13:22usually multi-line it's going to to have
- 13:25more height to it um and so when you do
- 13:28that you you would want to
- 13:30recreate this whole structure except in
- 13:33the context of a text area you would
- 13:35also want to recreate all the different
- 13:36states for all the other elements that
- 13:38might be present in your UI so that
- 13:40would include things like check check
- 13:42boxes radio buttons I input submit
- 13:46buttons drop- down select menus there's
- 13:50a lot there's a lot of things that you
- 13:51can style so what we going do is
- 13:54duplicate this and I'm going to
- 13:56rightclick and choose detach instance so
- 14:00let me show you that again detach
- 14:02instance right there when you right
- 14:03click and then it takes it outside of
- 14:06being just a instance of that component
- 14:09it's no longer a component and I can
- 14:11double click here and change this to
- 14:12like message for instance and I can also
- 14:16take this and and give ourselves a nice
- 14:19height for the text field or the text
- 14:20area rather so now we can double click
- 14:23into this and this time we can create a
- 14:25new component by selecting it and I'm
- 14:28going to take it and rip it up all the
- 14:31way up there and just drag it and then
- 14:33click on this add variant button and we
- 14:36can do the same thing so now we can add
- 14:38our thicker stroke for um the focus
- 14:41State and then you could duplicate this
- 14:43you know add another variant and just
- 14:45Rec recreate this stuff over here as
- 14:47well if you wish to save time I'm not
- 14:49going to bother with that um and then
- 14:51another thing that we want to do is we
- 14:53want to switch to prototype mode to get
- 14:56all this stuff working um and I already
- 14:59did that because actually full
- 15:02disclosure I did this whole tutorial
- 15:04already but my camera ran out of space
- 15:07so I have to redo it so sorry this
- 15:09stuff's already hooked up but let me
- 15:11detach all this
- 15:13stuff frustrating okay so basically what
- 15:16you want to do is switch to the
- 15:18Prototype tab up here and we're going to
- 15:21double click
- 15:22this and I don't know why that's hiding
- 15:24there we go and we want to drag this
- 15:26little plus button the blue plus button
- 15:28in the middle to this bottom one and so
- 15:31on click it's going to change to this
- 15:33state to show what the focus State and
- 15:35what Tye text looks inside of it you'll
- 15:37see how this all works in a second um
- 15:40and then we're going to do the same
- 15:41thing here so when somebody clicks on
- 15:43this state it'll show what the error
- 15:46State supposed to look like and then
- 15:47vice versa if somebody clicks on the
- 15:48error State it'll go back to the very
- 15:51default State up top and then we could
- 15:53do the same thing right here just
- 15:55between these two different states we'll
- 15:58click I and add that there we
- 16:01go okay so now if we go back to assets
- 16:06we can see we have one called text field
- 16:08one called frame 14 you would really
- 16:10want to go back here and find that frame
- 16:1214 double click and change that to a
- 16:14suitable name like text area or
- 16:17something like that so now if we go back
- 16:19to assets we could drag our text area we
- 16:22want to make sure our text area is
- 16:23inside of this element here so we can
- 16:25just drag it in and then drag this back
- 16:27up and now we we have our states if we
- 16:30click if we h i take our frame select it
- 16:33and hit play up
- 16:35here this is what it should look like
- 16:38now oh that's not
- 16:40working okay so that's those two are
- 16:42okay so this the those two states are
- 16:44not working properly so let's because
- 16:46it's not showing the error State ah I I
- 16:49see why it says on drag now what can
- 16:51happen is if you look up here for this
- 16:54particular uh State we have a click
- 16:57which is you know I this isn't correct
- 17:00we want to get rid of this change this
- 17:03to click now it should be going to error
- 17:06so
- 17:08now if we go back here and click this
- 17:11there you go now it's showing the full
- 17:15State um from default to focus to error
- 17:18here as
- 17:20well awesome okay so finally what's the
- 17:24other thing that you need the last thing
- 17:25that you need here as a part of a
- 17:27contact form at least would be the call
- 17:29to action so look at the existing design
- 17:32that you're working with because in your
- 17:34challenge coming up here in a second
- 17:36which we'll take a look at you have an
- 17:37existing layout already so there's
- 17:39already a button up here that we can
- 17:41draw inspiration from right so I can
- 17:43just copy
- 17:45this by hold an alt and left clicking
- 17:47and dragging make sure it's a part of
- 17:50our Auto layout right
- 17:52here just uh oh no things are getting
- 17:55all discombobulated let's uh name email
- 17:58message there we go and what I'll do is
- 18:00just change this to um send
- 18:04message I didn't set this up
- 18:06correctly so let's adjust that and then
- 18:09just manually adjust this maybe make it
- 18:12a little bit
- 18:21bigger send message okay that's fine um
- 18:25and so this would be a suitable contact
- 18:27form uh in this case I might reduce the
- 18:30white space between the elements just a
- 18:32bit but notice the grouping name or
- 18:35label rather and element and then more
- 18:38white space here so that's typically
- 18:40what you want to follow in terms of your
- 18:42groupings and your white space
- 18:43vertically speaking so now we're going
- 18:45to switch things up and focus on our
- 18:47form design Challenge and so some of you
- 18:51may recognize this one we already worked
- 18:53on this a couple different times
- 18:54throughout this 30-day series um and now
- 18:57we're going to simulate what happens
- 18:58when somebody clicks on join up to a
- 19:00join up form uh a signup form basically
- 19:03and so this one has rules and it's going
- 19:07to tell you all the forms that we need
- 19:08so first we're going to have a first
- 19:10name an email address field and that's
- 19:12text field these are all text Fields um
- 19:14a password and confirm password
- 19:16technically isn't a text field it's a
- 19:18it's a password field um because when
- 19:20somebody types in it'll automatically
- 19:22change to ASIS you can simulate that if
- 19:24you wish um checkbox I agree to the
- 19:27terms and conditions I'll show you how
- 19:28to design a real quick Tech checkbox and
- 19:30then an input or called a action button
- 19:33uh for join now so it's a little bit
- 19:36more of an elaborate form now for those
- 19:38of you who are brand new to uiux and um
- 19:40that type of stuff I'll show you real
- 19:42quickly quickly like what a checkbox
- 19:44actually looks like so if I hit my frame
- 19:46F key tool we want a
- 19:49square and for a checkbox and we want to
- 19:52give it a background um a stroke We'll
- 19:56add a little bit of corner board radius
- 19:59maybe make the stroke thicker and this
- 20:02would be do the default state of a
- 20:03checkbox it's very simple um you can
- 20:06also have I also want you to demonstrate
- 20:08what it looks like when somebody clicks
- 20:10on it which means there would be a
- 20:11checkbox you can do it you can create
- 20:14that checkbox on your own with the pen
- 20:17tool by hitting p holding shift and then
- 20:20creating like a little checkbox like
- 20:22this get that centered
- 20:25up that's like a pretty good checkbox
- 20:28right here or check mark wh space all
- 20:30around you don't want checkboxes that
- 20:33look like this that's terrible white
- 20:36space let it breathe okay and if you
- 20:38don't like your own checkbox you could
- 20:40right click and go to eify if you've
- 20:42installed it already as a plugin it's
- 20:44free and just type in check and guess
- 20:46what you have check box check marks is
- 20:48right here that you could just left
- 20:50click and drag into and be done with
- 20:53essentially okay um and then of course
- 20:55also the the value um I agree
- 20:59to the terms and
- 21:02conditions you would put this right here
- 21:04you could put these in Auto layout as
- 21:05well and then also you need to signify
- 21:08what the uh the link looks like for them
- 21:10to read the terms and conditions and you
- 21:12could do that by selecting the text like
- 21:13terms clicking right here and then
- 21:17clicking underline for the tech text
- 21:19decoration all right so that's enough of
- 21:22uh the hints that you get oopsie this is
- 21:25up to you in terms of um how you want to
- 21:26structure this I would definitely say
- 21:29you don't want to have text fields that
- 21:31are this large that span all the way
- 21:33across you don't want that um if you
- 21:35only want to have one column and that's
- 21:37it then take this and make your own
- 21:40little uh column that's centered in here
- 21:44um so for instance it might look like
- 21:46your text Fields might look like
- 21:49this or you could have what indu did
- 21:52over here with a two column approach so
- 21:55you could have on the left column your
- 21:57form and then some information that
- 21:59could be relevant on a sign up form in
- 22:02the second column and it doesn't have to
- 22:03be 50/50 it could be uh like 60% of this
- 22:07could be the form and then the 30% width
- 22:09of the column next of it or 40 rather um
- 22:12could be U your your other content of
- 22:14some sort and that's up to you and so
- 22:17you can have this extend up here or here
- 22:20I'm letting a lot of creative creative
- 22:22control over this one just make sure
- 22:25everything is legible h a lot of good
- 22:27white space nothing too close together
- 22:29or too far apart all right now also
- 22:32obviously to to submit this so that I
- 22:34can review this in tomorrow's video
- 22:36check out uh the description here for
- 22:38submissions instructions and I will I'm
- 22:42looking forward to seeing all of your
- 22:43designs here and I will do as many as I
- 22:46can I get too many so don't get mad if I
- 22:47don't review yours it's just that's what
- 22:50you have to deal with because I can't I
- 22:53can't do reviews for like 25 of these
- 22:56it's ridiculous so anyhow hopefully
- 22:58enjoyed that and I'll see you tomorrow
- 23:00goodbye
- 23:07[Music]
About this transcript
This page contains the full transcript of Designing Forms in Figma - UI/UX Challenge by DesignCourse, generated from the public captions YouTube serves with the video. The transcript has 4,271 words across 573 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.