UX Collective

We believe designers are thinkers as much as they are makers. https://linktr.ee/uxc

Follow publication

Figma Techniques

How to prototype long press in Figma

Adding in a “long press” or “press and hold” trigger to an interactive component, without losing the regular tap functionality.

Chuck Rice
UX Collective
Published in
8 min readSep 5, 2022

--

Animated gif of a button being held down, navigating to a screen saying “long press!”. A “restart” button takes us back to the same button. A short click takes us to a screen saying “short press!”.
Demonstrating both interactions working on the same component.

edit: here’s my community file you can browse, duplicate, and remix:
https://www.figma.com/community/file/1263203969185334872

Thanks Ameer Hamza Tariq for the suggestion 🎉

Long press, also known as press-and-hold, is where a user spends a little bit longer tapping on something, to trigger an action. It seems trivial to prototype since we’ve had multiple interactions since late 2020, but I’ve found it can be finicky to retain other interactions at the same time.

Whilst it’s more of a mobile interaction, I think there could be some great use cases for this “click and hold” behaviour on a desktop. Even if you’re not predominantly designing for mobile, it’s worth having in your repertoire just in case—hold on, and I’ll show you how to make one.

You might benefit from reviewing Figma’s prototype triggers.

Where to find long press in the wild

A great example from the past is a stopwatch. In its classic form there’s only a single button, and each press will start or stop the timer. Holding down that same button, resets the clock. It’s a beautifully simplistic and timeless design. Nowadays, you’ll find this interaction mostly resides on mobile.

Here’s a few examples you might find on your own phone:

Given these examples I could find, you’ll either provide convenience or delight to your users when using this interaction.

A worked example

Let’s put a worked example together, so you can start using them too.

--

--

Written by Chuck Rice

Sr. Product Designer, DevX and Design Systems @ Moonpig 🌙🐷 • Figma Community Advocate • 🎓 Educator: chk.fyi/LearnFigma • 400k+ Medium views

Responses (2)

Write a response