Skip to content

Interface: SidePanelProps ​

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

Props passed to a SidePanel component.

Properties ​

active ​

ts
active: boolean;

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

True when this side panel is currently visible / selected in its column.


storage ​

ts
storage: ExtensionStorage;

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

Namespaced, persisted key/value storage scoped to this panel id (the workspace scope of ExtensionStorageScopes, keyed by panel rather than extension). Use for panel-local UI state — scroll positions, selections, expanded sections, etc. — which is kept per workspace. For extension-level settings shared across surfaces and workspaces, use ExtensionContext.storage.global instead.


hydrated ​

ts
hydrated: boolean;

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

True once the persisted app state has finished loading from disk. Panels should defer restoring values from storage until this is true (or subscribe to storage and re-read when it flips).