Skip to content

Interface: SidePanelProps

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

Props passed to a SidePanel component.

Properties

active

ts
active: boolean;

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

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


storage

ts
storage: ExtensionStorage;

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

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

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