Welcome to the first article in our āProtoBitesā series, where we blend theory and practice to explore and create different concepts of app design using a range of design tools.
By Graeme Fulton.
This collection will explore the concept of microinteractions. Weāll not only see what they are, but also learn how to create our own unique microinteractions using the interaction design tool, ProtoPie. Weāll end up recreating this āDark Mode Toggleā:
Try it for yourself in the ProtoPie cloud āļø:
This article is free for all readers thanks to ProtoPie, who sponsored my time to produce it. ProtoPie is a leading interaction design tool, used and trusted by designers at Google, Microsoft, Alipay, and more.
Before diving into prototyping, this first bite will outline what a microinteraction is, and explore the ProtoPie interface both to get used to it, and also see how itās carefully crafted for creating these type of interactions.
Why microinteractions?
A microinteraction is a small moment that occurs when a user interacts with an interface. As NN Group put it:
āMicrointeractions are contained product moments that revolve around a single use case.ā
These are great for a userās experience, as they provide an extra layer of feedback to a user that that can:
- š Help guide a user
- š Direct a userās attention
- š¬ Communicate the success status of an interaction
- š Provide extra meaning to keep users informed
- š Add character and emotion to your interface
- š¤© Delight your users
Essentially, if done well, the extra feedback microinteractions provide can go a long way in improving the overall user experience of an app. In fact, it can be the difference between someone choosing to use your app or not.
āThe difference between a product you love and a product you tolerate is often the microinteractions you have with it.ā ā Dan Saffer
Popular microinteractions from well-known companies:
Letter
Elements of a Microinteraction in ProtoPie
When it comes to creating an effective microinteraction, itās useful to first break down, and understand what a microinteraction consist of. Dan Saffer, writer of Microinteractions, provides the perfect model to do this, outlining 4 core parts to every great microinteraction:
- ā Trigger: initiates the microinteraction (e.g. tapping the switch)
- āļø Rules: determine how the microinteraction works
- ā ļø Feedback: illuminates the rules (e.g. visual/audio/haptic feedback that respond in accordance with the rules)
- šLoops & Modes: meta rules that affect the microinteraction
The ProtoPie tool itself is designed with these at the forefront of its interface.
Letās look at each in 3 steps:
3 Steps to Microinteractions in ProtoPie
1. Creating the Trigger
As with Safferās model, everything in ProtoPie starts with a Trigger. Upon opening the tool, the first option we have is creating a trigger. Clicking āAdd Triggerā shows the wide range available, starting with common interactions such as touch, mouse events and keypresses:
Microinteractions arenāt only trigged by user actions though ā they can also be triggered by a system. For example, an application can start a microinteraction itself when a given set of conditions are met. When thatās the case, ProtoPieās trigger sensors are very useful, including things like:
- šµ Sound
- š Tilt
- š§ Compass
- š„ Receive
One example of a microinteraction triggered by a system is when the time of day changes. This is especially relevant to our demo, when dealing with light vs dark mode.
Moving on, once a trigger is added to an element, you can add your own rules, and also feedback in response to the trigger chosen. For instance, Iāve added a simple āTapā trigger to a sun icon. When the user taps the sun, something will happen. What happens in the microinteraction is determined by the rules and feedback applied that make it up:
2. Adding Rules and Feedback
Rules are the conditions necessary for an action to be triggered, dictating how the microinteraction will work. Feedback consists of the visual/audio/haptic response that works in accordance with those rules, highlighting them to the user. As stressed by Saffer, feedback may also contain itās own rules, which is why they are combined in this section.
In ProtoPie, rules and feedback options are shown in the dropdown menu after clicking the plus + icon under your selected Trigger:
To demonstrate a possible rule, letās look at our toggle example. A toggle is like a switch, so thereās a single clear rule that you might expect:
āIf light mode is active, switch to dark mode. If dark mode is active, switch to light mode.ā
However, another rule to this toggle could be the number of fingers the user gestures to initiate the trigger:
Feedback Rules
Rules for feedback in our toggle are are less binary. For a dark to light effect, we have to consider the following questions:
- How much should the colors change?
- How much should the icon rotate, and how fast?
- How far does the toggle in the switch move across?
These can all be selected and tweaked in the right panel of ProtoPie. The toggle animation we will create rotates the icons, so weāll start with this animation to demonstrate. Selecting the Rotate option as Feedback for the sun icon, weāre then presented with a range of specific options that can be configured for the rotation:
- š Degrees to rotate
- ā± The speed and timing of the rotation
- š Time delays before the animation
- āØ The animation style (e.g. Cubic Bezier creates the bounce effect)
You may also notice the āRepeatā option pointed out at the very bottom of ProtoPieās right panel. This is an example of the final part to microinteractions ā Loops and modes.
3. Considering Loops and Modes
If the Repeat option highlighted above is checked, the microinteraction will continue repeating forever, until stopped by a new rule or trigger. For our dark mode toggle, you might consider the use of loops/modes to answer the following questions:
- š Does dark mode stay active forever?
- š Does light mode activate automatically in the morning?
- Are there any system initiated triggers?
Whatās Next?
Weāve covered some main benefits of using microinteractions, and seen how the ProtoPie UI is a great environment to create them. In the next part of this series, weāll recreate the toggle interaction. In the meantime, you can download the demo file from the ProtoPie cloud and try it out.
If you want to go deeper into the theory, these are some great references:
- š Microinteractions in User Experience
- š What is a Microinteraction by Dan Saffer
- š How microinteractions improve your UX design
The new ProtoPie V3.11 is also available. š Check it out, and get ready for part 2 of this series!
Author: Graeme Fulton.