Docs
Context Menu

Context Menu

Displays a menu to the user — such as a set of actions or functions — triggered by a button.

Right click here

Usage

import shadcn.ui.components.ContextMenu
import shadcn.ui.components.ContextMenuContent
import shadcn.ui.components.ContextMenuItem
import shadcn.ui.components.ContextMenuTrigger
ContextMenu {
    ContextMenuTrigger { + "Right click" }
    ContextMenuContent {
        ContextMenuItem { + "Profile" }
        ContextMenuItem { + "Billing" }
        ContextMenuItem { + "Team" }
        ContextMenuItem { + "Subscription" }
    }
}