Figma is an entirely browser-based interface design tool, and one that we’re increasingly recommending to Designlab students.
Not only is the platform free—Figma also allows you to collaborate on a file in real time with others.
With the release of Figma 3.0, you now have access to a raft of powerful prototyping tools within Figma itself. You can learn about the basics of prototyping in our popular Figma 101 free email course—and in this post we’ve got four tips to help you experiment with more advanced prototyping functionality.
Work through these steps to create a functioning sticky nav bar in your Figma prototype, as well as an iOS-style modal, floating action button, and slide-in hamburger menu! These interactions can all help you to rapidly create higher fidelity, more realistic prototypes that you can then deploy in user testing for your project.
These techniques are great for students and professionals alike!
Create a sticky nav bar
Want your users to have full control over how they navigate your website? With a “sticky” nav bar, the element follows the user as they scroll! To create one in Figma, just follow these steps:
1. Create your main page. For this example, we created a 1440 x 1890 frame for a fictional travel company’s website. We added a landing section with a tagline and search bar above the fold, then some trip items arranged in two columns below the fold. Make sure to create enough vertical content to scroll through.
2. Create your nav bar. We added a 1440 x 96 rectangle on top of the main page, including a quick logo on the left, and some nav items on the right. We then grouped all these elements together, and labeled them “Header” in our Figma file.
3. Make your nav bar sticky. First, make sure your header group is selected. On the right-hand side of the Figma interface, you’ll see three tabs: Design, Prototype, Code. In the Design tab, under the section called “Constraints”, check the box that says “Fix position when scrolling.” You’ll notice a small change in your layer list on the left: Your header group will now have a “Fixed” label above it, while all other content in your frame will be nested below a “Scrolls” label.
Last, see it in action! Click the Play/Present icon in the top-right of the Figma interface (it’s just to the right of the blue “Share” button). This will open your file as a prototype in a new tab. Try scrolling, and watch as your nav bar… goes nowhere!
Make an iOS-style modal
When creating ”high-fidelity” prototypes, it can be important to give users a realistic experience of how your app or website will behave, particularly at crucial points like setup and onboarding. Follow these instructions to make the kind of iOS-style modal that might popup when opening an app for the first time.
1. Create your first screen. For this example, we created a 375 x 812 frame for an app’s login screen. Since our main focus will be the modal that pops up on the next screen, all we want to show here is the user clicking the login button to take them to that next screen. For this reason, we made it look like the email and password fields are already filled out.
2. Create your second screen. In our case, this is the app’s home screen, again for a fictional travel company showing a list of trips.
3. Create your third screen! ...which is really just a duplicate of the second screen, with an modal overlaid on top of it. After duplicating our second screen, we added a partially transparent (40% opacity) black rectangle on top, and then added an iOS-style alert on top of that.
4. Add your first screen transition. First, click the “Prototype” tab on the right sidebar in Figma, then select the frame for your first screen.
- For the Interaction, select “On Click” from the dropdown.
- For the Destination, select the name of your second frame from the dropdown menu.
- For the Transition, select “Push” from the Behavior dropdown.
The default selections for Duration, Direction, and Easing should work fine, but feel free to play around with these to see what looks best for your project.
5. Add your second screen transition. First, select your second frame.
- For the Interaction, select “On Click” from the dropdown.
- For the Destination, select the name of your third screen/frame in the dropdown.
- For the Transition, select “Dissolve” from the Behavior dropdown.
Last, see it in action! Click the Play/Present icon in the top-right of the Figma interface (it’s just to the right of the blue “Share” button). This will open your file as a prototype in a new tab. Click through each screen to see those transitions.