ContextMenu
Right-click context menu.
import { ContextMenu } from '@ybouhjira/hyperkit';Static examples
This component depends on app-level context (providers, services, or interactive setup) that does not fit the inline playground yet, so its examples are shown as static code.
#Props
| Prop | Type | Default | Description |
|---|---|---|---|
items * | ContextMenuItem[] | — | — |
class | string | — | — |
children * | JSX.Element | — | — |
* required prop.
#Design Tokens
This component reads the following CSS custom properties. Override them globally or per-instance to restyle it — see the CSS Variables guide.
--sk-bg-active--sk-bg-hover--sk-bg-primary--sk-border--sk-context-menu-min-w--sk-error--sk-font-sm--sk-font-xs--sk-icon-sm--sk-radius-md--sk-radius-sm--sk-shadow-lg--sk-space-lg--sk-space-md--sk-space-sm--sk-space-xs--sk-text-muted--sk-text-primary--sk-transition-fast--sk-z-popover