+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "ContextMenuItem"
keywords = ["grafana","documentation","sdk","@grafana/ui"]
type = "docs"
+++
## ContextMenuItem interface
Signature
```typescript
export interface ContextMenuItem
```
Import
```typescript
import { ContextMenuItem } from '@grafana/ui';
```
Properties
| Property | Type | Description |
| --- | --- | --- |
| [group](#group-property) | string
| |
| [icon](#icon-property) | string
| |
| [label](#label-property) | string
| |
| [onClick](#onclick-property) | (event?: React.SyntheticEvent<HTMLElement>) => void
| |
| [target](#target-property) | LinkTarget
| |
| [url](#url-property) | string
| |
### group property
Signature
```typescript
group?: string;
```
### icon property
Signature
```typescript
icon?: string;
```
### label property
Signature
```typescript
label: string;
```
### onClick property
Signature
```typescript
onClick?: (event?: React.SyntheticEvent) => void;
```
### target property
Signature
```typescript
target?: LinkTarget;
```
### url property
Signature
```typescript
url?: string;
```