Create a TEXT FIELD Component With an ANIMATED Label (Figma Tutorial)

Поделиться
HTML-код
  • Опубликовано: 31 май 2024
  • Get the SOURCE FILES for this project ($1.99): payhip.com/b/w2AhL
    Visit my STORE: bit.ly/mavi-design-store
    Explore Mavi Design COURSES : bit.ly/mavi-design-courses
    Get FIGMA for FREE: bit.ly/get-started-with-figma
    Take FULL advantage of ALL FIGMA's features: bit.ly/figma-professional-plan
    In today's Figma interactive component / prototyping tutorial, we're going to take a look at a material design type text input form field with a moving label (click-activated) with a blinking cursor & hover state. You'll be able to easily change the label by setting up component properties and also change color of the field & generally do any changes you need. This text input form field is animated - when you hover over the inactive instance, it will react to your hovering by changing its border color and then when you click it, it's going to move the label to the uppermost side with smart animate. You'll then be able to click again to deactivate the form field.
    How to create / design build an interactive / animated material design text input form field component with a moving label, hover state and a blinking cursor in Figma (step-by-step explanation tutorial)
    Topics: Figma prototyping, figma interactive components, Figma animation, form fields, design system in figma
    --------
    © 2022 Mavi Design
  • ХоббиХобби

Комментарии • 112

  • @Phsiris01
    @Phsiris01 10 месяцев назад +10

    Absolutely amazing. I was looking around for how to create the auto adjusting border based on text length. This tutorial was perfect.

  • @pixelleitergames7792
    @pixelleitergames7792 2 месяца назад +1

    Thank you, I am still in school and we are learning about Figma. We haven't learned about this yet and that means i can show it to my teacher and get bonus points. Thank you so much!

  • @rawan9018
    @rawan9018 2 месяца назад +1

    I swear this is the best FIGMA TUTORIAL on youTube please go ahead 🍇

  • @FathirZakiHehe
    @FathirZakiHehe 4 месяца назад +6

    14:09 mine didn't adjust, you know why?

  • @stitchbybloodystitch
    @stitchbybloodystitch 11 месяцев назад

    Thank you for making such clear, easy to understand videos.

  • @emmanuelnwakasi8244
    @emmanuelnwakasi8244 Год назад +7

    I am so glad I found your videos. Its been amazing. Thank you so much for all the amazing things you teach

    • @mavidesign
      @mavidesign  Год назад

      It’s great to have you here Emmanuel! Welcome!

    • @ob5804
      @ob5804 8 месяцев назад

      @@mavidesign Please help. When I turn on the animation and when I click on the input(first and second click), very narrow spaces appear on both sides of the bottom line and top line and immediately disappear, although I made those lines back to back, there are no spaces there, and why does this happen during animation - I don't understand (
      And also only for some reason on the 2nd example (with a long label) during animation and I don’t know how many% of the scale is increased, the bottom line seems to separate downwards from the main parts and then everything is ok again, it’s seconds and with clicks.

  • @ODigitalPPlumber
    @ODigitalPPlumber Год назад

    This is awesome. I had fun playing with this😁

  • @justhomeimprovement
    @justhomeimprovement Год назад

    Its Amazing tutorial and Easy to Learn floating labels without interrupted Thanks you so Much 👏

  • @typesister6984
    @typesister6984 Год назад +2

    Wow, this is mind blowing. Thanks for video!

  • @aduloju95
    @aduloju95 11 месяцев назад +6

    Thanks for the video. After adding auto layout to the small label autolayout and the top line, my frame one had a misaligned top line, it didn't balance with the right bracket anymore. Please what did I do wrong?

  • @beryl.pretorius
    @beryl.pretorius Год назад +1

    The video is really nice. I like how you're crisp and to the point, no filler information or anything that distracts from the content.
    However, the subscibe alert in the lower left corner is highly distracting and spammy.

  • @BrahimBrahim-pw2te
    @BrahimBrahim-pw2te 3 месяца назад

    This is awesome, was easy and i loved it

  • @j_ryan_n
    @j_ryan_n 10 месяцев назад

    Loved this. Thank you!

  • @Muhammed.Yaseen
    @Muhammed.Yaseen 11 месяцев назад

    This is awesome! Thank you so much!

  • @ajakayejoshua9886
    @ajakayejoshua9886 Год назад

    Thanks alot, was easy and i loved it

  • @harjotkaursaini
    @harjotkaursaini 7 месяцев назад +3

    amazing tutorial but very complicated process for me as a beginner!

  • @hassaanahmedkhan7324
    @hassaanahmedkhan7324 11 месяцев назад +1

    At 4:31 how did you adjust the height of larger frame. I am trying to do this but it's contracting with the top part frame.

  • @rafaelbueno7567
    @rafaelbueno7567 6 месяцев назад

    thanks, I could do it, it was well-explained

  • @OliverBerlinTokyo
    @OliverBerlinTokyo 9 месяцев назад +1

    Extreme good guide! Also for beginners very worthfully! Thank you!

  • @PlayLive-gx5si
    @PlayLive-gx5si 6 месяцев назад

    love this tutorial

  • @LCJ15
    @LCJ15 9 месяцев назад

    Nice, thanks for sharing!

  • @MusicArenaAfrica
    @MusicArenaAfrica 10 месяцев назад

    This is great work.

  • @tomashudolin7197
    @tomashudolin7197 3 месяца назад

    And what if I would like to have right icon (eye for example for password field)? Thanks.

  • @abdulrahmanhashem3426
    @abdulrahmanhashem3426 6 месяцев назад

    amazing tutorial

  • @Ed8wedish
    @Ed8wedish 9 месяцев назад +2

    Looks nice! Now I'm curious how bad of a headache this would be for front-end devs :D

  • @user-yx2if7xo8k
    @user-yx2if7xo8k Год назад

    11:01 Why cursor can't change property from Invisible to Visible at Design Mode? Only change at Play Mode. If I setup "defaul is Visible" is same your demo.

  • @alysonnaagas3477
    @alysonnaagas3477 Год назад

    Thank you so much!

  • @erifrei6983
    @erifrei6983 9 месяцев назад +1

    i think i'm missing something, the lenght of top part can't adjust by the lenght of the label, while i try to make a new one, it always the line didn't fit with the left rectangle

  • @user-pn1mo4tr7p
    @user-pn1mo4tr7p 8 месяцев назад

    awesome! thanks a million

  • @crownbgm
    @crownbgm Год назад

    Very Useful 🔥

  • @darmellahabdellatif7360
    @darmellahabdellatif7360 Год назад

    thank you so much brother

  • @dvarata
    @dvarata Год назад +5

    Amazing tutorial. I learned so much! Is there a way to create a floating label so that the input field is not transparent? My form background has some slight color, and I would like for the input field fill to be white. I am not sure if it is possible but thought I'd ask.

    • @zagorskikh
      @zagorskikh 11 месяцев назад

      You can make the parent (main) frame colored. Hope it helps!

  • @user-dp3vr7ip8w
    @user-dp3vr7ip8w Год назад +9

    When I add auto layout to the small label and the line…the line moves from the alignment😭 why is this so hard

    • @fridoper124
      @fridoper124 Год назад

      Keep fighting

    • @izzy_frog
      @izzy_frog 8 месяцев назад

      Someone knows how to fix It? 🤔 im haver The same problem...

    • @ainejohnna4945
      @ainejohnna4945 7 месяцев назад

      i was having the same problem too but what seemed to work for me is to add .5px padding to either the top or bottom padding of the top vector itself
      hope this helps

  • @DM-DesignsInMyUniverse
    @DM-DesignsInMyUniverse 2 месяца назад

    I have made some mistake, the length of top line can't adjust by the length of the long label. Could you please help for this concern?

  • @kousik2920
    @kousik2920 Год назад

    finally a good form design found.....😊

  • @sarathchandraroy5557
    @sarathchandraroy5557 Месяц назад

    Great🔥

  • @katiethornton4479
    @katiethornton4479 10 месяцев назад +6

    I may be being dumb.. but when I draw the line to make the ends meet, i cannot make the line aligned with the end sections, its about half a pixel off - any tips?

    • @rawan9018
      @rawan9018 2 месяца назад +1

      You have to make the hight of the small label auto layout an even number for example if the hight was fifteen turn it to sixteen and it should work and make the line only two pixels as mentioned in the video

  • @viceralman8450
    @viceralman8450 Год назад +1

    And the text box, inside the text field?

  • @michaelsunday2946
    @michaelsunday2946 3 месяца назад

    Please can someone tell me what i am doing wrong? When i try to put the label text and the top bar in an autolayout it doesn’t align with the right bracket.

  • @andrewkim1422
    @andrewkim1422 Год назад

    Thank you! Do you also know how to set bottom navigation bar disappear when scroll down and re-appear when scroll up as well?

    • @mavidesign
      @mavidesign  Год назад

      You're welcome! 😊 By "bottom navigation bar" do you mean something like this?
      ruclips.net/video/5XZ-X5ewo9c/видео.html

    • @andrewkim1422
      @andrewkim1422 Год назад

      @@mavidesign No, it's about hiding bottom navigation bar when user scrolls down the screen, and the bar re-appear when scroll up the screen.

  • @doctorocasio
    @doctorocasio 3 месяца назад

    content menu is not there when selecting the text boxes.

  • @user-yx2if7xo8k
    @user-yx2if7xo8k Год назад

    Noted
    4:31 Shift + Enter

  • @stefanialaspalmas9773
    @stefanialaspalmas9773 Год назад +6

    6:59 I have a issue here... the text "Default Lebel" it's goes beyond the lines on the left after I add "create component property"... how to fix this? help

  • @DogmaTendo
    @DogmaTendo Год назад +2

    At 3:15 how did you combine the top line and the small label auto layout into that split frame?

    • @Muhammad-Zaydan
      @Muhammad-Zaydan Год назад

      Select both of that and press Shift A ( for Add Auto Layout ). It will be like what he said

  • @tomaszgens
    @tomaszgens Год назад

    I have a technical question. Which software do you use to display pressed keys in the lower left corner of the video?

  • @maude-np3do
    @maude-np3do Год назад +4

    thanks for this! when I made the autolayout that includes the small label autolayout and the top line of the box, the line moves up by half a pixel or something and i can't seem to align it back. any idea how to troubleshoot?

    • @sulthanhuawei2037
      @sulthanhuawei2037 Год назад

      yes do that once again, first, u draw a line pen tool change inside or outside to the center in the stroke, and make sure the stroke is centered that s it got it ?

    • @n.a.nnotanumb3r686
      @n.a.nnotanumb3r686 Год назад +2

      I change the size of the small label font to 13 px and it works to align it

    • @haheather696
      @haheather696 9 месяцев назад +1

      need to adjust the text. vertical trim - choose standard

  • @prashantrastogi8778
    @prashantrastogi8778 5 месяцев назад

    Hi, it awesome...bt I want full interactive form field using variables

  • @joshuasmith2486
    @joshuasmith2486 Год назад

    Hi, thank you for this. Is it possible to make a text box that you can type into?

    • @mavidesign
      @mavidesign  Год назад +1

      I'm afraid that's beyond Figma's capabilities

    • @prashantrastogi8778
      @prashantrastogi8778 5 месяцев назад

      Now it is possible using variables....can you please make a video about it

  • @syed-lk3ux
    @syed-lk3ux 16 дней назад

    will it use keyboard???????
    resolve my problem

  • @sulthanhuawei2037
    @sulthanhuawei2037 Год назад

    on prototype its not workout in mobile why

  • @Narendra_Kumar_24
    @Narendra_Kumar_24 10 месяцев назад +1

    15:37 Why is the blinking getting enabled on both the fields? Can someone kindly tell how do we avoid this mistake when it comes to creating two or more interactive inputs field components.

  • @syrine3935
    @syrine3935 3 месяца назад +2

    at 8:29 when I try to resize the frame of the small label, the text moves to the left and doesn't stay at the same place, do you know how can I fix that?

    • @FathirZakiHehe
      @FathirZakiHehe 3 месяца назад +1

      same for me, is yours fix now?

  • @user-op2cr5ns7r
    @user-op2cr5ns7r Год назад +3

    6:45 you say to click content. that isnt there for me. any solutions?

  • @fatimatolaide3769
    @fatimatolaide3769 4 месяца назад +1

    at 8:27, how did the top line overlap on the top/small default label?
    the one i tried creating, the text keeps shifting to the left hand side
    I've edited it twice and it's still the same issue I'm encountering.

    • @ryanmaas_
      @ryanmaas_ 4 месяца назад

      I'm encountering the same issue with this step. Maybe Figma has changed the way the components interact since this video was created. I can't find a workaround.

    • @ryanmaas_
      @ryanmaas_ 4 месяца назад

      Update: when he does that, he forgets to mention that on the right side of the screen, the auto layout box has to have the top left selected. For me, I had the middle selected, which produced your same issue. Once I changed that, it worked the same way as he demonstrates in the video.

    • @fatimatolaide3769
      @fatimatolaide3769 4 месяца назад

      @@ryanmaas_ thank you. I’d try it out

  • @amishasethi47
    @amishasethi47 10 месяцев назад

    Why I do not have property 1 when i am clicking on change to in interactive option for the blinking cursor?
    Please help

    • @user-bc4zz8pe5r
      @user-bc4zz8pe5r 3 месяца назад

      I made this mistake too (took me 2h to figure out why). When you renamed the line variant to "invisible" and "visible" you probably deleted "Property 1=". So I suggest you add it again. It should look like: "Property 1=Visible" and "Property 1=Invisible".

  • @hedii7761
    @hedii7761 6 месяцев назад

    One problem that took me almost half an hour solving is the state of the cursor component. It wouldn't show when I create an instance of it. I felt so dumb after realizing that I only need to change the state to visible😭

  • @rudolfaerofare2683
    @rudolfaerofare2683 3 месяца назад

    Unfortunately this doesn't appear to work anymore (February 2024). For instance, when I try to create a secondary autolayout as demonstrated at 3:19, I have no 'fill to container' option, only 'Hug and 'Fixed width', and I expect a legion of other problems will follow after that as well. 😕
    Man, really was looking forward to replicating this, and there are no other tutorials on YT for it that I found so far.

    • @mikeknight5031
      @mikeknight5031 3 месяца назад

      Still working. If there's no fill to container option your line probably isn't in a frame with auto-layout applied.

  • @caslan1000
    @caslan1000 Год назад +1

    at 4'30" - when you adjust the height, the whole frame moves down...

    • @caslan1000
      @caslan1000 Год назад

      okay - I missed that part that the contents of Frame 1 need to be constrained to the bottom.

  • @sgt.verdian1945
    @sgt.verdian1945 Год назад

    I have a question, can you ACTUALLY put text on the final result ?

  • @olumideaanu5403
    @olumideaanu5403 Год назад

    Thank you

  • @TazBo-wd2ig
    @TazBo-wd2ig Год назад

    Is this hard to code for developers?

    • @darmellahabdellatif7360
      @darmellahabdellatif7360 Год назад +2

      if you are a mobile developer it's not that hard cause there's presets for that

  • @user-ny4fb9is3v
    @user-ny4fb9is3v 9 месяцев назад

    Unable to create a frame after creating one label for constraints 😭😭😭😭😭

  • @dwiseptia4728
    @dwiseptia4728 8 месяцев назад

    WOOOWWWWW

  • @phoenixgaming586
    @phoenixgaming586 Год назад

    why didnt you just use a normal rectangle and thn use a text with the same background colour and put that text on the top of the rectangles top line?

    • @mavidesign
      @mavidesign  Год назад +2

      Because that wouldn’t be transparent :)

  • @TheEdward39
    @TheEdward39 9 месяцев назад +1

    Watch me get beaten up by my dev in the parking lot when I try this in a project 😂

  • @xenonoah
    @xenonoah 2 месяца назад

    Why is this so hard to do compared to XD . They really need to simplify the text field process because, its not like every single designer and website does this.

  • @richatj7138
    @richatj7138 10 месяцев назад +5

    it is kind of confusing :/

    • @dailyquotes-
      @dailyquotes- 4 месяца назад

      Right I also thought ...he just told many thing like do this and that and didn't told why he did that

  • @eugeniabrini
    @eugeniabrini 3 месяца назад

    Unfortunately the file doesn't open in any way...I'll follow the tutorial, I was hoping to save some time.

    • @mavidesign
      @mavidesign  3 месяца назад

      Search Google “how to open a .fig file”. I’m sure it’ll help :)

    • @eugeniabrini
      @eugeniabrini 3 месяца назад

      But it should open it directly having figma (also the paid version). Now I'm looking for tutorials, but I'll first follow yours to create a label. Thank you@@mavidesign

    • @mavidesign
      @mavidesign  3 месяца назад

      @@eugeniabrini not the case unfortunately. You need to import that using the import feature

  • @psh.pamela
    @psh.pamela Год назад

    Your file won't download.

    • @mavidesign
      @mavidesign  Год назад

      Hi, please reach out to my email or use the contact form on my store to sort this out. Thank you.

  • @brendadesigner1506
    @brendadesigner1506 Год назад

    Seriously? And autolayout?

  • @martinui4892
    @martinui4892 2 часа назад

    Porque hiciste todo esto de esta manera 😅, te complicaste más de la cuenta, el video debió durar tan solo 5 minutos. Hay formas mucho pero mucho más fácil de hacerlo.

  • @vivianmeliani2055
    @vivianmeliani2055 10 месяцев назад

    too fast and many errors

  • @krupakshitij7286
    @krupakshitij7286 Год назад

    The source file is paid 🥺

    • @mavidesign
      @mavidesign  Год назад

      Yes it is! Fortunately following the tutorial to create it is absolutely free and achieves the same result so that my designs are accessible for absolutely everyone. The paid source file is here for those who want to save time and support the channel 😊

  • @danielvictor7325
    @danielvictor7325 2 месяца назад

    I can't see the fill container option when I click on the vector line🥹😔. What might be the problem?