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
- Open the Prototype tab in the right sidebar
- Select the frame that triggers the overlay
- Open the Click interaction
- Set the Action to Open overlay
- Turn on Close when clicking outside
Interactive 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
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.
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.
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.
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.
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.
Related guides
Continue with more step-by-step guides for getting work done.
How to add a prototype link in FigmaLink a button to another frame in Figma. Open the Prototype tab, drag a connection to your destination frame, and set up a click interaction.
How to present a prototype in FigmaLearn how to present a prototype in Figma: open the Prototype tab, click Present, step through your frames, and close the preview when you finish.
How to use Smart Animate in FigmaLearn how to use Smart Animate in Figma: connect two frames in the Prototype tab, then pick Smart animate as the animation for the connection.
How to create component variants in FigmaLearn how to turn a shape into a component, add a variant, name its property value, and pick between variants in the Layers panel in Figma.
How to create prototype flows in FigmaLearn how to create prototype flows in Figma: connect two frames with a click interaction, then present the prototype and click through each screen.
How to crop an image in FigmaLearn how to crop an image in Figma: select the image, open Crop, drag a handle inward, and apply the crop to trim away unwanted edges.
Create interactive demos like this one — free, no coding required.
Start for free →