---
Title: Context Menu
Type: Document
---
import {Code} from "astro:components"
import {Zorn} from "@minpluto/zorn"
> Right-click in the demo above to see it action.
You can override the browser's default context menu by adding your own, this is done with the `ContextItems` variable being added with an array.
Example:
`}/>
If the `ContextItems` variable is not applied, Zorn will default to the browser's default context menu.
| Variable | Option |
|--------------------|---------------------------------------------------------------|
| Type | `Button`, `Link`, or `Separator` |
| Name | string |
| Action (Button) | `onclick` - Use JavaScript |
| Action (Link) | `href` - Use a link |