Trick to Show/Hide Header on Scroll in Figma

Поделиться
HTML-код
  • Опубликовано: 2 июн 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.

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

  • @SylvainProov
    @SylvainProov 3 месяца назад +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  3 месяца назад +1

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

  • @ernestorodriguez4742
    @ernestorodriguez4742 2 года назад +1

    Excelent. This is very helpful to controll animations.

  • @Pratyushz
    @Pratyushz 11 дней назад +1

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

  • @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 🙌🏼 🤩

  • @natsyoutubingaway
    @natsyoutubingaway 2 года назад +8

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

  • @juliangnzz
    @juliangnzz 2 года назад +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 ✌🏼

  • @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 :)

  • @BigAppleRedd
    @BigAppleRedd 2 года назад +5

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

  • @suchitpoojari5752
    @suchitpoojari5752 2 года назад +1

    Great man!

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

    Thanks for the tips! 🎉

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

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

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

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

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

    That was awesome. Thanks, man.

  • @bimasaktinugeraha4580
    @bimasaktinugeraha4580 2 года назад +1

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

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

    Thanks for sharing this!

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

    Really helpful! Thank you

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

    very helpful! Thank you

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

      Glad you found it helpful! Cheers ✌🏼

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

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

  • @ludmilarodrigues1717
    @ludmilarodrigues1717 2 года назад +1

    Very nice!!! Thank you so much!

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

    Thank you for this!

  • @luchtaj
    @luchtaj 2 года назад

    This is so cool, bro!

  • @rifqinaufalfebriyan746
    @rifqinaufalfebriyan746 2 года назад +1

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

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

    Impressive, thx!

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

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

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

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

  • @OzbegimMarketing
    @OzbegimMarketing 2 года назад +1

    Thanks so much bro!

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

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

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

      Glad you found it useful.. Cheers! ✌🏼

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

    Nice Explain Thank you

  • @r6506-ls5rz
    @r6506-ls5rz 9 месяцев назад +1

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

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

      That's awesome! Cheers ✌🏼

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

    Very nice!!! thanks!!! bro

  • @davidvillavicencio998
    @davidvillavicencio998 6 месяцев назад +1

    thank you guru!

  • @mrajax_0101
    @mrajax_0101 2 года назад +2

    great !!!

  • @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!

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

    thanks so much! this helped me a ton

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

    yay, that's really smart, thx

  • @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 5 месяцев назад

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

  • @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.

  • @JoelleRijst
    @JoelleRijst 2 года назад +1

    Thanks!

  • @choongching
    @choongching 2 года назад +2

    nice hack there! love it

  • @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'.

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

    thanks amazing

  • @adroaras
    @adroaras 2 года назад +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  2 года назад

      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.

  • @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.

  • @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!

  • @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.

  • @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.

  • @devinalaila5719
    @devinalaila5719 8 месяцев назад +1

    thanks

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

    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  Год назад

      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.

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

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

  • @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

  • @dome_node
    @dome_node 2 года назад

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

    • @DesignXstream
      @DesignXstream  2 года назад

      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: ruclips.net/video/ST6DOO11zuA/видео.html

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

    does the stories also swipe in the design \

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

      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!

  • @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! 🙌🏼

  • @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!

  • @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!

  • @divaygupta7114
    @divaygupta7114 2 года назад +1

    ❤️

  • @matiascarena603
    @matiascarena603 2 года назад

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

    • @DesignXstream
      @DesignXstream  2 года назад +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.