Search

Back

Copy Link

Library

/

Free

/

17

Share on LinkedIn

17

Share on LinkedIn

Not loading? Preview

Made by

@frameroverrides

override

click

Override

Share on LinkedIn

Copy

Override

Copied to Clipboard!

Instructions

  1. Go to the override section and click "edit code"

  2. Navigate to line 3 and edit the URL. LinkedIn only supports URLs.

  3. CTRL + S/ CMD + S to Save

Code Preview

import { Override } from "framer"

const shareURL = "https://www.framer.com" // Replace with your URL

// LinkedIn Share Override
export function shareOnLinkedIn(): Override {
    const handleClick = (e) => {
        e.preventDefault()
        const url = `https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent(
            shareURL
        )}`
        window.open(url, "_blank")
    }

    return {
        onClick: handleClick,
    }
}

Terms of Use for Free Assets

By accessing and using this Framer Override Library, you agree to the following terms:

All code snippets provided are available for your personal and professional use. This includes personal websites, client projects, and other website projects in Framer. You are strictly prohibited from sharing, redistributing, selling these code snippets, or creating derivative works for resale or distribution. Unauthorized sharing, distribution, or selling of these code snippets is a breach of these terms and may result in termination of your access to this library, along with potential legal action.