Disable Right Click

Show Preview
Disable Right Click
Disable Right Click

About Disable Right Click

Remix the Project for Free

This component disables the right-click context menu on the specific page where you add it, preventing users from accessing browser options like "Inspect Element" or "Save Image As" when they right-click anywhere on that page.

Start with the free remix to see the component set up in a Framer project. Copy it into your site and adjust the settings to fit your design.

Ready to publish your site? Get 3 months free on Framer Pro annual hosting with code partner25proyearly at checkout. Claim offer.

Instructions

  1. Drag the component onto any frame on the page where you want to disable right-click (it can be placed anywhere since it's invisible when published)

  2. To protect your entire site, add the component to a template or repeating component like a navbar that appears on all pages

  3. Preview or publish your site to test the right-click protection—the context menu will be disabled on pages where the component is present

How It Works

This is a code component that works invisibly in the background. Once added to a page, it automatically prevents right-clicking on that specific page when published. You'll see a placeholder indicator in the canvas that shows the component is active, but this indicator disappears completely when you preview or publish your site. There are no property controls to configure—it works immediately after being added. If you want this protection across your entire website, add it to a template or a repeating component like a navbar.

From Nabeel

Custom Right Click
Table of Contents
Number CMS Paginate
Advance Link Display

Related Components

Reveal Navigations
Liquid Pill Navbar
Island Navbar
Sidebar Navigation