--- title: Context Menu description: Displays a menu to the user — such as a set of actions or functions — triggered by a button. lastUpdated: 09 Sep, 2025 links: source: https://github.com/logging-studio/RetroUI/blob/main/components/retroui/ContextMenu.tsx ---

#### 1. Install dependencies: ```sh npm install class-variance-authority ```
#### 2. Copy the code 👇 into your project: