Skip to content

Interface: SidePanel

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

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:462

Unique id, conventionally namespaced.


location

ts
location: "left" | "right";

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

Which side column to mount in.


title

ts
title: string;

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

Title shown in the column's panel switcher.


component

ts
component: ComponentType<SidePanelProps>;

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

The React component; receives SidePanelProps.


order?

ts
optional order?: number;

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

Sort order within the side column. Defaults to 0.


lazyMount?

ts
optional lazyMount?: boolean;

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

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).