Prototyping interactions

Penpot allows you to prototype interactions by connecting artboards (which can act as screens). Learn how to build interactive prototypes to visualize how users navigate through your screens and mimic your product behaviour.

Once the prototype is prepared with interactions and/or flows it can be used at the View mode and shared through a shareable link.

Connecting artboards


The simplest and most usual way to prototype an interaction at Penpot is connecting artboards. Add interactions following this simple steps:

  1. Open a file with at least two artboards.
  2. Activate Prototype mode clicking at the tab at the right sidebar.
  3. Select a shape, artboard or group that will trigger the interaction.
  4. Drag a connection to the destination artboard.
  5. A flow start will be automatically created.
  6. Test the interactive prototype in action in the view mode (access by clicking the play button at the top right)

Anatomy of a prototype


1) Hotspot (origin connection) 2) Connector wire 3) Destination 4) Prototype mode tab 5) Add interaction button 6) Interaction action 7) Animation settings 8) View mode launcher

Interaction triggers


The trigger defines the user action that will start the interaction. Penpot currently provides the following triggers (more of them will come):

  • On click: when user clicks or tap the hotspot.
  • Mouse enter: when the mouse enter the hotspot area.
  • Mouse leave: when the mouse leaves the hotspot area.
  • After delay: when a certain time has passed after an artboard is shown. Note: this can only be set at artboards.

Interaction actions


The action defines what will happen when the interaction is triggered. Penpot currently provides the following actions (more of them will come):

  • Navigate to.
  • Open overlay.
  • Toggle overlay.
  • Close overlay.
  • Previous screen.
  • Open URL.

Navigate to

The classic, most usual of the prototyping actions. It takes the user to one artboard to the one that is being set in the interaction.

Open overlay

It opens an artboard right over the current artboard. This action is typically used to display tooltips, modal windows or notifications.


You have several presets for positioning the overlay (center, top left, top right...) but you can also do it manually. Just select the “Manual” option and drag the “ghost” (an area with the size of the destination artboard) to the place you want the overlay to show up.

There are also a couple of options that facilitates to mimic typical overlay behaviours:

  • Close when clicking outside: the overlay is closed if the user clicks outside its area.
  • Add background overlay: a black background with 20% opacity is added.

Toggle overlay

It opens an overlay if it is not already opened or closes it if it is already opened.

Close overlay

This action will close a targeted artboard that is opened as an overlay. It can be also set to “self” so the artboard can be closed from itself.

Previous screen


It takes back to the last artboard shown. This action is typically used for back buttons, when the same screen can be accessed from different origins.

Open URL

This action opens an URL in a new tab. This is useful to add external links outside of the prototype.

Interaction animations


The animation defines the transition between artboards when the interaction is triggered. Penpot currently provides the following actions (more of them will come):

  • Dissolve.
  • Slide.
  • Push.



Dissolve means that the destination artboard fades in while the origin artboard fades out.


  • Easing.
  • Duration.



Slide animation will move the destination frame in or out of the view.


  • IN / OUT.
  • Direction (right, down, left, top).
  • Easing.
  • Duration.
  • Offset effect.

Offset effect means that the origin artboard will slightly fade and move in the same direction of the destination artboard.



Push animations will move the destination artboard into view pushing out the origin artboard.

  • Direction (right, down, left, top).
  • Easing.
  • Duration.


Design projects usually need to define multiple casuistics for different devices and user journeys. Flows allow you to define one or multiple starting points within the same page so you can better organize and present your prototypes.

A flow is defined by a starting artboard for an interaction. Flows can be selected independently at the view mode. Each flow has its own shareable link at the View mode.

Starting points

A starting point is an artboard selected to be the first screen of a flow. You could set an artboard as a starting point just because you want this artboard to be the first one to be shown in the view mode, but you can also set more starting points to define different user journeys.

There are several ways to create starting points:

  • Automatically: when creating a connection from an artboard which is not connected yet (meaning that it does not belong to an existing flow), the origin artboard will be set as a flow start.


  • From the prototype sidebar: having an artboard selected, click on the “+” button to set it as a flow start.


  • From the artboard menu.


Multiple flows

You can add as many flows as you want. The complete list of flows is shown at the prototype sidebar when no shape is selected.


Flows at the view mode

At the view mode there’s a menu where you can access to all the flows set and easily switch between them.


Fix elements at scroll

You can fix the position of an object when scrolling at the presentation view. This is tipically useful for prototyping fixed headers, navbars and floating buttons.


Select an element and check the option "Fix when scrolling" that you can find inside the Constraints section at the Design sidebar (right side).


Launch the View Mode to see the elements with a fixed scroll position.

We are aware that this capability is still difficult to use whithout being able to restrict the screen size at the View Mode, something that we are already working on.