Skip to content

Interface: SidePanel ​

Defined in: packages/sdk/src/types.ts:616

A panel mounted in the left or right side column (e.g. file explorer, git).

Properties ​

id ​

ts
id: string;

Defined in: packages/sdk/src/types.ts:618

Unique id, conventionally namespaced.


location ​

ts
location: "left" | "right";

Defined in: packages/sdk/src/types.ts:620

Which side column to mount in.


title ​

ts
title: string;

Defined in: packages/sdk/src/types.ts:622

Title shown in the column's panel switcher.


component ​

ts
component: ComponentType<SidePanelProps>;

Defined in: packages/sdk/src/types.ts:624

The React component; receives SidePanelProps.


order? ​

ts
optional order?: number;

Defined in: packages/sdk/src/types.ts:626

Sort order within the side column. Defaults to 0.


lazyMount? ​

ts
optional lazyMount?: boolean;

Defined in: packages/sdk/src/types.ts:632

If true, defer mounting the component until the first time this panel becomes active. Once mounted, stays mounted (panel can use active to pause expensive work when hidden).