# CustomToolPanel

Canonical page: https://www.adaptabletools.com/docs/reference/customtoolpanel

Defines a Custom ToolPanel - provided by Users and contains custom content

```ts title="TypeScript"
export interface CustomToolPanel 
```

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [buttons](https://www.adaptabletools.com/docs/reference/customtoolpanel.md#buttons) | [`AdaptableButton`](https://www.adaptabletools.com/docs/reference/adaptablebutton.md)`<`[`CustomToolPanelButtonContext`](https://www.adaptabletools.com/docs/reference/customtoolpanelbuttoncontext.md)`>[]` | Optional set of buttons to show in the ToolPanel |
| [frameworkComponent](https://www.adaptabletools.com/docs/reference/customtoolpanel.md#frameworkcomponent) | [`AdaptableFrameworkComponent`](https://www.adaptabletools.com/docs/reference/adaptableframeworkcomponent.md) | Framework-specific (Angular, React or Vue) component to be rendered |
| [name](https://www.adaptabletools.com/docs/reference/customtoolpanel.md#name) | `string` | Name of Custom ToolPanel - should be unique |
| [render](https://www.adaptabletools.com/docs/reference/customtoolpanel.md#render) | `(customRenderContext: `[`CustomRenderContext`](https://www.adaptabletools.com/docs/reference/customrendercontext.md)`) => string \| null` | Function to provide bespoke content when using AdapTable Vanilla |
| [title](https://www.adaptabletools.com/docs/reference/customtoolpanel.md#title) | `string` | Title to display in Custom ToolPanel; if undefined, will default to `name` property |

## Property Details

### buttons

Optional set of buttons to show in the ToolPanel

```ts title="TypeScript"
buttons?: AdaptableButton<CustomToolPanelButtonContext>[];
```

###### Property Value

[`AdaptableButton`](https://www.adaptabletools.com/docs/reference/adaptablebutton.md)`<`[`CustomToolPanelButtonContext`](https://www.adaptabletools.com/docs/reference/customtoolpanelbuttoncontext.md)`>[]`

### frameworkComponent

Framework-specific (Angular, React or Vue) component to be rendered

```ts title="TypeScript"
frameworkComponent?: AdaptableFrameworkComponent;
```

###### Property Value

[`AdaptableFrameworkComponent`](https://www.adaptabletools.com/docs/reference/adaptableframeworkcomponent.md)

### name

Name of Custom ToolPanel - should be unique

```ts title="TypeScript"
name: string;
```

###### Property Value

`string`

### render

Function to provide bespoke content when using AdapTable Vanilla

```ts title="TypeScript"
render?: (customRenderContext: CustomRenderContext) => string | null;
```

###### Property Value

`(customRenderContext: `[`CustomRenderContext`](https://www.adaptabletools.com/docs/reference/customrendercontext.md)`) => string | null`

### title

Title to display in Custom ToolPanel; if undefined, will default to `name` property

```ts title="TypeScript"
title?: string;
```

###### Property Value

`string`
