--- title: 11· Prototyping ---
Learn how to build interactive prototypes to visualize how users navigate through your screens and mimic your product behaviour.
Penpot allows you to prototype interactions by connecting boards, which can act as screens. Once the prototype is prepared with interactions and/or flows, it can be used at the View mode and shared through a link.
The simplest and most usual way to prototype an interaction at Penpot is connecting boards. Add interactions following this simple steps:
1) Hotspot (origin connection) 2) Connector wire 3) Destination 4) Prototype mode tab 5) View mode launcher 6) Add new interaction 7) Interaction trigger 8) Interaction action 9) Interaction animation 10) Flow indicator and launcher
A trigger defines the user action that will start the interaction. Penpot currently provides the following triggers (more of them will come):
The action defines what will happen when the interaction is triggered. Penpot currently provides the following actions (more of them will come):
The classic, most usual of the prototyping actions. It takes the user from one board to the destination set in the interaction.
It opens a board right over the current board. 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 board) to the place you want the overlay to show up.
There are also a couple of options that facilitates to mimic typical overlay behaviours:
TIP: You can select to open the overlay relative to the element that triggers it using the field "relative to". This is extremely useful for hover effects.
It opens an overlay if it is not already opened or closes it if it is already opened.
This action will close a targeted board that is opened as an overlay. It can be also set to “self” so the board can be closed from itself.
It takes back to the last board shown. This action is typically used for back buttons, when the same screen can be accessed from different origins.
This action opens an URL in a new tab. This is useful to add external links outside of the prototype.
The animation defines the transition between boards when the interaction is triggered. Penpot currently provides the following actions (more of them will come):
Dissolve means that the destination board fades in while the origin board fades out.
Options:
Slide animation will move the destination frame in or out of the view.
Options:
Offset effect means that the origin board will slightly fade and move in the same direction of the destination board.
Push animations will move the destination board into view pushing out the origin board.
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 board for an interaction. Flows can be selected independently at the view mode. Each flow has its own shareable link at the View mode.
A starting point is a board selected to be the first screen of a flow. You could set a board as a starting point just because you want this board 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:
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.
At the view mode there’s a menu where you can access to all the flows set and easily switch between them.
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.