> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gitascii.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Patch Bay Channels Widget

> Modular audio patch panel cable routing strip layout

# Patch Bay Channels Widget (`controlplane-patchbay`)

The Patch Bay Channels widget simulates an analog studio audio rack with 1/4" TRS patch jacks, routing cables, signal attenuation meters, and repository channel strips.

## Configuration Schema

```typescript theme={null}
export interface PatchbayConfig {
  selectedRepos?: string[]
  maxRepos?: number
  accentColor?: string
}
```

***

## Real Code Example

```typescript theme={null}
import { renderWidgetSvg, WidgetInstance } from '@/engine'

const patchbayWidget: WidgetInstance = {
  instanceId: 'patchbay_01',
  widgetId: 'controlplane-patchbay',
  name: 'Patch Bay Channels',
  position: { x: 0, y: 0 },
  size: { width: 800, height: 330 },
  config: {
    accentColor: '#ffa657',
  },
  locked: false,
  visible: true,
  zIndex: 1,
}

const svgOutput = renderWidgetSvg(patchbayWidget, profileData, globalStyles)
```
