Context menu preview
A native-trigger context menu with bounded portal content, keyboard navigation, typeahead, action items and real link items.
pro · Navigation · composite
When to use
- Use it when a page needs a native-trigger context menu with bounded portal content, keyboard navigation, typeahead, action items and real link items.
- Choose it as the nav region when composing a page from independently reusable TidalUI sections.
Alternatives
- Choose navigation-bar instead when responsive saas navigation with native links, actions and an in-flow mobile disclosure is the actual interface need, rather than context menu.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/context-menuImport components/ui/tidal.css, components/ui/context-menu.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/context-menu.css";
import{TidalContextMenu}from"./components/ui/context-menu";
export default()=><div className="tidal-scope"><TidalContextMenu/></div>;API and props
TidalContextMenu.themeMenuTheme | undefinedOptional theme value accepted by this exported component.
TidalContextMenuContent.portalContainerHTMLElement | null | undefinedOptional portal container value accepted by this exported component.
TidalContextMenuItem.destructiveboolean | undefinedOptional destructive value accepted by this exported component.
TidalContextMenuLinkItem.anchorProps (required)Omit<Omit<DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref">, "children"> & { href: string; }Required anchor props value accepted by this exported component.
TidalContextMenuLinkItem.children (required)ReactNodeRequired children value accepted by this exported component.
TidalContextMenuLinkItem.destructiveboolean | undefinedOptional destructive value accepted by this exported component.
Complete usage
Full example, stylesheet imports, API and accessibility documentation
Gotchas
- The host application owns data, validation, persistence, navigation, and service side effects described by this API.