Panels
Info Panel
Panel component displaying status, devices, and session information
The InfoPanel component provides a comprehensive information panel that displays connection status, device controls, and session information. It combines multiple components into a single organized panel.
import { InfoPanel } from "@pipecat-ai/voice-ui-kit";
<div className="h-96 w-full">
<InfoPanel />
</div>| Prop | Type | Default |
|---|---|---|
noSessionInfo? | boolean | false |
noStatusInfo? | boolean | false |
noUserAudio? | boolean | false |
noUserVideo? | boolean | false |
noScreenControl? | boolean | false |
participantId? | string | undefined |
sessionId? | string | undefined |
Usage
Hide Specific Sections
Hide sections you don't need.
import { InfoPanel } from "@pipecat-ai/voice-ui-kit";
<div className="h-96 w-full">
<InfoPanel
noSessionInfo={true}
noUserVideo={true}
/>
</div>Panel Sections
The panel is organized into three main sections:
Status Section
- Displays
ClientStatuscomponent - Shows client and agent connection states
- Can be hidden with
noStatusInfo
Devices Section
- Displays device controls:
UserAudioControl(can be hidden withnoUserAudio)UserVideoControl(can be hidden withnoUserVideo)UserScreenControl(can be hidden withnoScreenControl)
- Can hide entire section by hiding all device controls
Session Section
- Displays
SessionInfocomponent - Shows transport type, session ID, participant ID, and RTVI version
- Can be hidden with
noSessionInfo
Conditional Rendering
The panel automatically hides itself if all sections are disabled (noInfoPanel). Individual sections can be hidden independently.
Integration
The InfoPanel component uses:
ClientStatusfor status displaySessionInfofor session informationUserAudioControl,UserVideoControl,UserScreenControlfor device controlsusePipecatClientCamControlto check camera statePanelcomponent for consistent styling
It must be used within a PipecatClientProvider context to function properly.