Trick to Show/Hide Header on Scroll in Figma

Поділитися
Вставка
  • Опубліковано 27 лип 2024
  • 🔥 Start using Figma for FREE → bit.ly/TryFigma
    🔗 Join our design community here → bit.ly/DX-Community
    How to Show/Hide App Header on Scroll in Figma. Here is a simple trick that you can use to hide and unhide the app header on scrolling down. This trick can be used in web and mobile app prototyping, as the user scrolls down the header will be hidden and as the user scrolls back to the top the header will be shown.
    #ShowHideHeader #Figma #FigmaTutorialSeries
    ⏱️Timestamps:
    0:00 - Intro
    0:48 - Demo
    1:11 - Getting Started
    1:45 - Explaining the Trick
    3:44 - Final Output
    📄Resources:
    Code used in the demo: www.figma.com/community/file/...
    🔴 Don't forget to Subscribe. Trust me it's absolutely FREE - bit.ly/SubToDesignXstream 😅
    🎉 Join our Whatsapp Community now, it's FREE: bit.ly/DX-Community
    You have got some ideas or topics in mind? Please do comment below we will make sure to check it out and do it if possible 🥳
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    🌍 Social Media:
    ↪︎ LinkedIn - / designxstream
    ↪︎ Instagram - / designxstream
    ↪︎ Facebook - / designxstream
    ↪︎ Twitter - / designxstream
    ↪︎ Website - DesignXstream.com
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    🏷 Tags: Trick to Show/Hide Header on Scroll in Figma, show header on scroll, hide header on scroll down, show header on scroll up, show hide app header on scroll in figma, figma prototype to hide show header, how to hide header on scrolling down in figma, how to show header on scrolling up in figma.

КОМЕНТАРІ • 136

  • @ernestorodriguez4742
    @ernestorodriguez4742 2 роки тому +1

    Excelent. This is very helpful to controll animations.

  • @SylvainProov
    @SylvainProov 5 місяців тому +5

    Clever trick ! Thanks man ! I improved your technique with "while hovering" on an empty frame which trigger "open overlay" (with "move in" from top & ease out 200ms). It almost behave the same as a real app

    • @DesignXstream
      @DesignXstream  5 місяців тому +1

      That's awesome. Thanks for sharing your solution with everyone here 🙌🏼

    • @goncalodias4901
      @goncalodias4901 Місяць тому

      Hey! Could you explain this technique in more detail? I wasn't able to understand it

  • @natsyoutubingaway
    @natsyoutubingaway 3 роки тому +8

    Thanks so much! This really helped with showing the team how a collapsable navigation on scroll works! Legend!

  • @adventuresoftrip1136
    @adventuresoftrip1136 2 роки тому +1

    Awesome thanks man! I didn't think it would be possible in Figma, this was a great help.

    • @DesignXstream
      @DesignXstream  2 роки тому +1

      Cheers! ✌🏼 Glad you found it helpful :)

  • @juliangnzz
    @juliangnzz 3 роки тому +3

    Excelent yo!!! I've been strugglin' with this interaction and worked arround it with "on drag" trigger, but it only worked for short scroll distances. THANK YOU SO MUCH.

  • @hungryhippoZz
    @hungryhippoZz Рік тому +2

    Exactly what I was looking for. Easy to follow. You've earned a subscriber in me. Thank you so much.

    • @DesignXstream
      @DesignXstream  Рік тому

      Thanks buddy! Glad you found it useful ✌🏼

  • @shyamsharma7233
    @shyamsharma7233 Рік тому +3

    Its 3:55 AM, I've been working on a particular type of website showcasing. Got stuck trying to achieve something similar and have been trying multiple ways.
    This video is so 'to the point' and informative that I couldn't help but switch to normal from incognito and like n subscribe right away.
    Amazing work man, keep up the good work.

    • @DesignXstream
      @DesignXstream  Рік тому

      Thanks man! Your comment made my day 🙌🏼 🤩

  • @BigAppleRedd
    @BigAppleRedd 2 роки тому +5

    i was looking for a tutorial like this one for DAYYYYS ! it's so helpful ! thank you so much

  • @andrewharlow84
    @andrewharlow84 Рік тому +1

    This was very helpful and exactly what I was looking for. Thanks for making it :)

    • @DesignXstream
      @DesignXstream  Рік тому +1

      Hey Andrew, I'm glad you found this helpful! Cheers ✌🏼 :)

  • @bimasaktinugeraha4580
    @bimasaktinugeraha4580 2 роки тому +1

    i looking for many times and ive find this, thank you.

  • @suchitpoojari5752
    @suchitpoojari5752 3 роки тому +1

    Great man!

  • @MarkNDelaSanta
    @MarkNDelaSanta 2 роки тому +2

    Thank you for this :) I needed this in my work - youre my savior

  • @rifqinaufalfebriyan746
    @rifqinaufalfebriyan746 2 роки тому +1

    Whoa, thank you! You're a life saver!

  • @amruthesh
    @amruthesh 2 роки тому +1

    That was awesome. Thanks, man.

  • @ludmilarodrigues1717
    @ludmilarodrigues1717 2 роки тому +1

    Very nice!!! Thank you so much!

  • @chrissyjaio1015
    @chrissyjaio1015 11 місяців тому +2

    Thanks so much. I was wracking my brain on how to do something with an On Scroll action.

    • @DesignXstream
      @DesignXstream  11 місяців тому

      Just a hack! 😉 Glad you enjoyed the video ✌🏼

  • @tristancollera8668
    @tristancollera8668 Рік тому +1

    Thanks for sharing this!

  • @gmarc5
    @gmarc5 Рік тому +1

    Thanks for the tips! 🎉

  • @Pratyushz
    @Pratyushz 2 місяці тому +1

    Thanks. I was able to show the team my design idea.

  • @raiha7398
    @raiha7398 2 роки тому +1

    very helpful! Thank you

    • @DesignXstream
      @DesignXstream  2 роки тому

      Glad you found it helpful! Cheers ✌🏼

  • @Prz9474
    @Prz9474 Рік тому +6

    2:23 It's important to make the grouping BEFORE duplicating. If you duplicate and then making the grouping in the first and second frames then it will make the animation flicker back and forth between the two states. Edit: This may not be true. I'm stuck with the same flickering problem. What seems to work is making another group above the original "Mouse Trigger" grouping, and not simply making the one and then connecting it to the sister frame like what is seen in the video. So you will need two mouse triggering groups per frame.

    • @DesignXstream
      @DesignXstream  Рік тому +1

      Flickering issue will come if you don't mark Preserve scroll position as true. You can duplicate the community file and try it.

    • @Prz9474
      @Prz9474 Рік тому

      @@DesignXstream Right, my navi bar in my second frame some how was grouped with another unfixed asset and the "fix position when scrolling" function was broken.

    • @jakehanson8873
      @jakehanson8873 7 місяців тому

      flickers for me regardless and I have both instances set to reset scroll position :(

  • @mrajax_0101
    @mrajax_0101 3 роки тому +2

    great !!!

  • @georgeception
    @georgeception Рік тому +1

    Really helpful! Thank you

  • @hanamiller
    @hanamiller Рік тому +1

    Thank you for this!

  • @luchtaj
    @luchtaj 2 роки тому

    This is so cool, bro!

  • @OzbegimMarketing
    @OzbegimMarketing 2 роки тому +1

    Thanks so much bro!

  • @davidvillavicencio998
    @davidvillavicencio998 8 місяців тому +1

    thank you guru!

  • @r6506-ls5rz
    @r6506-ls5rz 11 місяців тому +1

    Thanks a lot, that's what i want !!! NICE TUTs

  • @TheLastReview
    @TheLastReview Рік тому +1

    what a useful video bro... and so easy... thanks

    • @DesignXstream
      @DesignXstream  Рік тому

      Glad you found it useful.. Cheers! ✌🏼

  • @prakashanuvadia8870
    @prakashanuvadia8870 2 роки тому +1

    Nice Explain Thank you

  • @lukewu9232
    @lukewu9232 2 роки тому +1

    Very nice!!! thanks!!! bro

  • @RckDtar
    @RckDtar Рік тому +1

    thanks amazing

  • @JoelleRijst
    @JoelleRijst 2 роки тому +1

    Thanks!

  • @kaelmolo1432
    @kaelmolo1432 Рік тому +1

    thanks so much! this helped me a ton

  • @harrammohammadsingh9609
    @harrammohammadsingh9609 Місяць тому +1

    This really helped

    • @DesignXstream
      @DesignXstream  Місяць тому

      Glad you found it helpful! Cheers buddy ✌️

  • @wrx95pro
    @wrx95pro Рік тому +1

    yay, that's really smart, thx

  • @cbrown940
    @cbrown940 Рік тому +1

    Impressive, thx!

  • @yajie5887
    @yajie5887 2 роки тому

    appreciate the video:)) also have a question, on the layer panel, under the frame of iphone 11 pro, how you made the FIXED and SCROLLS section?i can't find it anywhere.

    • @DesignXstream
      @DesignXstream  2 роки тому +1

      you can select any layer and on the right you have to enable 'Fix on position on scrolling' this will add a new section in layers Fixed & Scrolls!

  • @choongching
    @choongching 3 роки тому +2

    nice hack there! love it

  • @devinalaila5719
    @devinalaila5719 10 місяців тому +1

    thanks

  • @ernestorodriguez4742
    @ernestorodriguez4742 2 роки тому +3

    How would you do something like the unfolding of these 5 "homepod minni" at the apple "apple homepod-mini" page (Please google it because I can't paste the link here) ???? It seems that with every scroll it progresses one frame. Is there a possibility to do the trick you teaches using the "scroll or windows position in Y axis" instead of the mouse position? So it depends on the position of the screen and not the position of the mouse?
    Thank you for the tutorial. And, any thoughts about my question are welcome.

    • @DesignXstream
      @DesignXstream  2 роки тому

      Hey Ernesto, I get your question. But unfortunately this is not possible on Figma at this point as Figma doesn't yet have the feature to get onScrolling Offset data. This is possible only on advanced prototyping tools like Protopie, framerX, etc.

  • @adroaras
    @adroaras 3 роки тому +2

    is there anyway in figma to create a secondary nav that is sticky? so if you scroll down on mobile, the nav bar at the top scrolls, but the secondary nav gets sticky to the top of the mobile screen. Any guidance on how to do that would be greatly appreciated!

    • @DesignXstream
      @DesignXstream  3 роки тому

      At the moment there is no workaround for that. Figma doesn't have any on scroll events/triggers so such type of interactions are not yet possible.

  • @JennyA
    @JennyA 2 роки тому

    What did you use to get the carrier, cell bars, wifi and battery icons up at the top? They look to be in their own frame the same width as the notch in the new iPhones. Did you have to lock it in place?

    • @DesignXstream
      @DesignXstream  2 роки тому

      Just select the frame or group and enable 'Fix position on scrolling'.

  • @smallbetterbydulki9273
    @smallbetterbydulki9273 Рік тому +1

    2:50 Thanks for the tutorial! I need to hide both top and bottom navigation when I scroll. But I think the mouse trigger only makes one navigation move. Could you please recommend how I can make both top and bottom navigation bar disapear when I scroll? I am new to Figma and no where to ask 😢😢 thank you, appreciate your video!!

    • @DesignXstream
      @DesignXstream  Рік тому +1

      Firstly this trick only works on Desktop... it doesn't work in mobile preview!
      And for hiding both also you can use the same try...in the second state frame just hide both top and bottom when mouse enter a certain region. Ping me @designxstream on Insta if you still need help.

  • @michellema6541
    @michellema6541 2 роки тому +2

    Thank you so much for sharing. Does the 'mouse enter' trigger also works when testing the prototype on a mobile device?

    • @DesignXstream
      @DesignXstream  2 роки тому

      Hey Michelle, Unfortunately no this trick doesn't work on a mobile device. It works only on desktop!

    • @bisiyahaya350
      @bisiyahaya350 2 роки тому

      @@DesignXstream that means for mobile it is "fixed to scroll position" that will work right?

    • @rayes.s2024
      @rayes.s2024 Рік тому

      @@DesignXstream Is there a way to hide/show buttons when scrolling on a mobile device?

    • @DesignXstream
      @DesignXstream  Рік тому

      @@rayes.s2024 No! On a mobile, there is no workaround to achieve this interaction.

  • @bradleymatthews9685
    @bradleymatthews9685 Рік тому

    Is there a way to do this but instead of having the mouse as the trigger, have a static invisible point or object at a certain point on the screen as the trigger. For example if said trigger object was in the middle of the screen then when the second post in your example moves underneath the middle of the screen, the prototype navigates to the second page without the header? If this is possible it would work on mobile preview!

    • @DesignXstream
      @DesignXstream  Рік тому +1

      Currently, there is no way to trigger an interaction based on scroll actions. This is the only work around and it doesn't work in mobile preview!

  • @camilleqi5504
    @camilleqi5504 Рік тому

    Just wondering can headers also smart animation to a different form while scrolling in Figma?

    • @DesignXstream
      @DesignXstream  Рік тому

      Using this same work around you can trigger the header to smart animate to a different variant.

  • @dome_node
    @dome_node 3 роки тому

    How would you have a scrolleable list like instagram but also have a side scrolling thing like stories?

    • @DesignXstream
      @DesignXstream  3 роки тому

      Hey Kevin, you can use multiple overflow behaviour in a single frame. So you just have to set Horizontal flow for the stories group and vertical flow for the posts.
      You can check this video by Figma: ua-cam.com/video/ST6DOO11zuA/v-deo.html

  • @TyranVz
    @TyranVz Рік тому +1

    THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU!

  • @aurelliusbhat6773
    @aurelliusbhat6773 10 місяців тому

    does the stories also swipe in the design \

    • @DesignXstream
      @DesignXstream  10 місяців тому

      We have place a container at the bottom so the stories can be make scrollable.

  • @coffeeecatsss
    @coffeeecatsss 2 роки тому

    How about if i want show different top nav bar while i scrolling down?

    • @DesignXstream
      @DesignXstream  2 роки тому

      Just replace it with the different top nav in the second frame. There might be a slight jerk but it must work!

  • @madhumitabarik7450
    @madhumitabarik7450 2 роки тому

    Hi,
    I am a designer in training, I was wondering whether we can scroll an up and when it reaches the it gets pinned at the top.
    Is that possible?
    I saw a lot of video but was not able to find answers

    • @DesignXstream
      @DesignXstream  2 роки тому

      I showed a similar behaviour of showing a shadow in the end of this video, you can use the same trick.
      If you still have queries ping me @designxstream on Insta.

  • @marcosansalone
    @marcosansalone Рік тому

    This example is very useful, however I'm wondering how this approach works if you have many pages like in a design system

    • @DesignXstream
      @DesignXstream  Рік тому +1

      Hey Marco, figma has come up with a new feature of sticky header. You can explore this.

    • @marcosansalone
      @marcosansalone Рік тому

      @@DesignXstream Thank you for the answer. yes but what is missing is a behaviour when scrolling. That's the issue so far.

    • @DesignXstream
      @DesignXstream  Рік тому +1

      Yes, for that we only have this hack. We can make this as an interactive component and place it on multiple screens but wouldn't recommend it. This hack is just good for quick presentations.

    • @marcosansalone
      @marcosansalone Рік тому

      @@DesignXstream I see, thank you

  • @niachito
    @niachito Рік тому

    Do yoy know an option for mobile prototypes? Because he have not mouse on mobile and it does not work

    • @DesignXstream
      @DesignXstream  Рік тому +1

      There is no hack for mobile prototypes.

    • @niachito
      @niachito Рік тому

      @@DesignXstream thanks

  • @shankardeniro
    @shankardeniro Рік тому

    Is there a way we can do this trick at any part of the page ? when i scroll up the header shows and it hides when i scroll down. ?

    • @DesignXstream
      @DesignXstream  Рік тому

      No, there isn't any trick possible for that behaviour.

    • @shankardeniro
      @shankardeniro Рік тому

      @@DesignXstream Thanks for responding. BTW, loved the video !

    • @DesignXstream
      @DesignXstream  Рік тому

      @@shankardeniro Thanks buddy! 🙌🏼

  • @No0bT4rD
    @No0bT4rD Рік тому +1

    Nice trick, but not perfect. I played a bit with placing frames on top of each other and having them both be scrollable. The issue I had is that it selects the secondary frame first. It might still be possible but very difficult and counterintuitive.

    • @DesignXstream
      @DesignXstream  Рік тому +2

      Yah this is not perfect it is just a workaround! Hope Figma (aka Adobe) comes up with some scroll interaction triggers!

  • @abhishekrathor7102
    @abhishekrathor7102 2 роки тому

    I'm making a Social Media App, May I use this or it's working ? 😢

    • @DesignXstream
      @DesignXstream  2 роки тому

      This is a hack you can use it anywhere!

  • @divaygupta7114
    @divaygupta7114 3 роки тому +1

    ❤️

  • @matiascarena603
    @matiascarena603 3 роки тому

    Hi! It doesn't work on Figma Morror on iPhone

    • @DesignXstream
      @DesignXstream  3 роки тому +1

      Yes! I've already mentioned this in the start of the video that it will not work on a mobile device as hover feature works only on desktop!
      This is useful when you demo it to user on your desktop.

  • @samuelramaputra4170
    @samuelramaputra4170 Рік тому

    his sound so familiar

  • @LorettaBangBang
    @LorettaBangBang Рік тому +1

    Its way too complicated, XD does is better.

    • @DesignXstream
      @DesignXstream  Рік тому

      Yes... even the new sticky header feature is not useful for this scenario!

  • @beriadan77
    @beriadan77 Рік тому

    Facebook rolled a feature some months ago, where the NAV BAR (bottom) hides when you start scrolling down, and it shows up again when you scroll up a bit. I need this same feature for my current project... I wish it was possible to do this in Figma!!! Apparently I will have to move to Protopie instead, just for this feature 😕

    • @DesignXstream
      @DesignXstream  Рік тому

      Yes unfortunately there is no way we can detect scroll in Figma. So this is the only workaround possible.