📖 Step 3: Design - UI Components & Patterns#411 / 498

Context Menu

Context Menu

📖One-line summary

A menu of item-specific actions shown on right-click or long-press.

✨Example

🧩

컨텍스트 메뉴

Context Menu

⚡Vibe coding prompt examples

>_

Build a React context menu for a file list with rename, duplicate, and delete on right-click, opening on long-press on mobile.

>_

Structure the code so each card's ⋯ overflow menu and the right-click context menu share the same action list.

>_

Explain the discoverability problem with hiding features only in context menus, and how to solve it.

Try these prompts in your AI coding assistant!