The Bottom Panel Tabs API allows extensions to add custom tabs to the bottom panel of the ComfyUI interface. This is useful for adding features like logs, debugging tools, or custom panels.
Each tab requires an id, title, and type, along with a render function:
Copy
Ask AI
{ id: string, // Unique identifier for the tab title: string, // Display title shown on the tab type: string, // Tab type (usually "custom") icon?: string, // Icon class (optional) render: (element) => void // Function that populates the tab content}
The render function receives a DOM element where you should insert your tab’s content.