Ambient UI

Command Palette

Search for a command to run...

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 { ContextMenu } from "@smartacteam/ambient-web/context-menu";
<ContextMenu.Root>
  <ContextMenu.Trigger>Right click</ContextMenu.Trigger>
  <ContextMenu.Content>
    <ContextMenu.Item>Profile</ContextMenu.Item>
    <ContextMenu.Item>Billing</ContextMenu.Item>
    <ContextMenu.Item>Team</ContextMenu.Item>
    <ContextMenu.Item>Subscription</ContextMenu.Item>
  </ContextMenu.Content>
</ContextMenu.Root>