Tutorials

Beginner’s Guide to Microinteractions

Make your first realistic microinteractions with these 12 bite-sized videos.

Fredo Tan
Fredo Tan, Head of Customer SuccessJune 9, 2021
Prototypr beginners guide to microinteractions tutorial thumbnail

This article was originally written by Graeme Fulton and Prilly for Prototypr.io.

These 12 short videos will take you through the creation of a dark mode toggle switch using ProtoPie with a few of ProtoPie's basic features.

Download the Dark Mode Toggle prototype and try it out yourself.

dark mode toggle gif

Video 1: Sun Toggle

The first step will just be to move the sun from left to right. This is our first interaction which will provide the "framework" for the rest of the events that will occur once the toggle is tapped.

Video 2: Rotating the Sun

In this part, we'll show you how to rotate the sun. This will be a microinteraction that adds some character to our interface.

Video 3: Scaling Shapes

Let's make use of the responses Scale and Opacity. One of the effects we want to give to our toggle interaction is the sun spinning into the moon, and vice versa. In order to do this, we will need to change the scale of the sun.

Video 4: Making the Sun Disappear & Reappear

Here, we'll show you how to make the sun disappear and reappear. We'll be using the Opacity responses with the two Conditions we already have.

Video 5: Rotating the Moon

Similar to what we did for the sun, we have to make the interactions for the moon. It's almost like swapping the responses that we have in the two Conditions.

Video 6: Scaling the Moon

In this step, we will make the moon scale as we did with the sun. This is the first time that you will see the moon at full scale!

Video 7: Scaling with Opacity

Before we move on to the other parts, we are going to change the opacity of the moon and complete the morphing illusions.

Moving onto our next part of making the toggle go from light to dark, and vice-versa, we will look at creating some color transactions. We’ll see how adding small details can add make our toggle a unique one.

Video 8: Color Transitions

Adding a color transition to our background provides the user with more feedback in the toggle. Since we have the sun turning into the moon, it only seems fitting that we see our background change from light to dark and the other way around as well.

Video 9: More Color Transitions

Since we added the background color transitions, it is only fitting that the stationary rectangle changes its color as well.

Video 10: Oval Color

To complete our color transitions, we are going to follow similar steps as done before.

Let's make this toggle button truly unique by giving its finishing touches.

Video 11: Spring Animations

Each cloud will be referred to by a number (i.e., cloud 1, cloud 2, and cloud 3). We will implement the same interactions for each cloud.

Video 12: Combining Spring Animations

To top it off, we will make the stars move! The interactions here are pretty similar to moving the clouds in the previous video.

Enjoyed these tutorial videos? Check out some other beginner tutorials listed below:

Want to join a live workshop instead? Check out our workshops to find one that best suits your schedule.