# RightClickLogo
> RightClickLogo adds an elegant brand-asset menu to a website's logo. Right-click
> (or long-press) the logo to copy its SVG, download assets, grab the brand palette,
> or open brand links. It's one hosted script (~5 KB gzipped), zero dependencies,
> and invisible until used.
If you are an AI coding agent and your user asked you to "integrate rightclicklogo.com"
(or add a right-click logo menu) into their site, the canonical, ready-to-run brief is
below. Follow it exactly - it is the same prompt the site's "Copy agent prompt" button
provides.
- Homepage: https://rightclicklogo.com
- Hosted script: https://cdn.rightclicklogo.com/v1/rcl.js
---
# Task: integrate RightClickLogo into this site
You already have the site source open. Find the real primary logo in the codebase and integrate RightClickLogo with the smallest safe change.
This prompt is written for any coding agent. Follow the repo's existing patterns, keep the diff minimal, and do not improvise beyond the rules below.
## Goal
Attach a RightClickLogo menu to the site's primary logo only.
The integration must be:
- Lightweight
- Performant
- Zero-dependency
- Easy to remove
- Visually invisible until used
- Respectful of the site's existing design and behavior
## Non-negotiables
- Do not redesign, restyle, resize, reposition, or wrap the logo.
- Do not attach the menu globally or to broad selectors like `document`, `body`, `header`, or `nav`.
- Do not add packages, plugins, helper abstractions, wrapper components, or build tooling for this.
- Do not bundle or import the script through the app build. Load it as a plain async external script - the framework's own script tag/primitive (e.g. a Next.js `
```
The menu items, in order:
- **Copy mark (SVG)** - copies its inline SVG to the clipboard
- **Copy logo (SVG)** - fetches `/assets/rcl-logo.svg` and copies the SVG
- **Download mark (SVG)** - downloads `/assets/rcl-mark.svg`
- **Download logo (SVG)** - downloads `/assets/rcl-logo.svg`
- **Download all (.zip)** - downloads `/assets/presskit.zip`
- (separator)
- **Brand palette** - color swatches (each copies its hex) plus "Copy palette (CSS)": Ink #0C0C0D, Olive Dark #4D4830, Olive #625C3B, Cream #F8F3EB
## Allowed adjustments
The default instruction is: install the config exactly as given.
Only these adjustments are allowed if genuinely needed:
1. Add `data-rcl-logo` to the real primary logo element or its `` wrapper.
2. If the site already has a stable, unique, clearly better logo selector, you may use that instead and update `logo.selector`.
3. If the site has a strict CSP that blocks inline config, switch to the JSON config form and make the smallest necessary CSP change.
4. Update the asset URLs. The `/assets/*` paths in this config are temporary placeholders pointing at RightClickLogo's demo assets - replace each with the site's real asset URL, and ask the owner for the updated URLs if you do not have them. Never fabricate an asset to fill a path.
5. If the site owner has already specified extra menu items that are clearly brand-appropriate, those may be included - but only if explicitly requested or already defined in the project. Do not invent extra items yourself.
## Not allowed to change
Unless explicitly requested by the site owner, do not change:
- Item labels
- Item order
- Colors
- Theme
- Triggers
- Script URL
- File paths (other than the temporary demo `/assets/*` placeholders - see Asset rules)
- Scope
## Logo targeting rules
Target the site's primary logo only.
Preferred approach:
- Add `data-rcl-logo` to the existing logo element or its existing link wrapper.
Acceptable targets:
- Header logo `
`
- Header logo inline `