Skip to main content

Interface: UsagePanelRegistration

Defined in: types/frontend.ts:265

Registration for a usage panel component.

Properties​

aiMode​

aiMode: string

Defined in: types/frontend.ts:270

AI mode this usage panel applies to


component​

component: PluginComponentType<UsagePanelProps>

Defined in: types/frontend.ts:273

Component that renders the usage information


icon?​

optional icon?: PluginComponentType<{ className?: string; size?: number; }>

Defined in: types/frontend.ts:279

Icon component for tab headers in multi-provider mode


id​

id: string

Defined in: types/frontend.ts:267

Unique panel identifier


label?​

optional label?: string

Defined in: types/frontend.ts:276

Display label for tab headers in multi-provider mode (defaults to aiMode capitalized)


order?​

optional order?: number

Defined in: types/frontend.ts:282

Sort order when multiple panels match (lower = higher priority)