How to create an overlay in a prototype in Figma

Learn how to create an overlay in a Figma prototype: set a Click interaction to Open overlay and let viewers close it by clicking outside.

Quick answer

To create an overlay in a Figma prototype, open the Prototype tab, select the frame that triggers it, and open its Click interaction. Set the Action to Open overlay, choose the frame to show as the overlay, then turn on Close when clicking outside so viewers can dismiss it.

Steps at a glance

  1. Open the Prototype tab in the right sidebar
  2. Select the frame that triggers the overlay
  3. Open the Click interaction
  4. Set the Action to Open overlay
  5. Turn on Close when clicking outside

Interactive demo

Loading demo…

Summary

An overlay is a frame that opens on top of another frame in a prototype, like a modal, menu or tooltip. Setting one up takes a single interaction, and it keeps the screen underneath visible so your prototype feels like a real app.

Step-by-step guide

  1. Step 1

    Open the Prototype tab

    In the right sidebar, click the Prototype tab next to Design. The sidebar switches to prototype settings, where you can add interactions between frames.

  2. Step 2

    Select the frame that triggers the overlay

    Click Frame 1 in the Layers panel, or the frame on the canvas that holds the button or area people will click. Its flow and Interactions section appear in the right sidebar.

  3. Step 3

    Open the interaction settings

    In the Interactions section, click the existing Click row to open the Interaction dialog. If the frame has no interaction yet, use the Add action button first.

  4. Step 4

    Choose Open overlay as the action

    In the dialog, open the Action dropdown and pick Open overlay. Use the Destination dropdown to choose the frame that should appear on top.

  5. Step 5

    Close the overlay when clicking outside

    Turn on Close when clicking outside so viewers can dismiss the overlay by clicking the screen behind it. The Position and Background options let you place the overlay and dim what is underneath.

Why this matters

You are prototyping a settings screen and need a confirmation modal to appear over it without building a second full screen. An overlay lets testers click, see the modal and dismiss it, so you can test the flow before development.

Frequently asked questions

  • Where do I set up an overlay in Figma?

    Select a frame on the Prototype tab, open its interaction in the Interactions section, and choose Open overlay from the Action dropdown.

  • Can people close the overlay by clicking outside it?

    Yes. Turn on Close when clicking outside in the Interaction dialog.

Create interactive demos like this one — free, no coding required.

Start for free →