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

# Editorial Portfolio Widget

> Restrained, typographic selected work index and project archive

# Editorial Portfolio Widget (`controlplane-editorial`)

The Editorial Portfolio widget renders a classified, broadsheet-inspired typographic index of selected repositories with serial numbers, monospace language tags, and high-contrast headlines.

## Configuration Schema

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

***

## Real Code Example

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

const editorialWidget: WidgetInstance = {
  instanceId: 'editorial_01',
  widgetId: 'controlplane-editorial',
  name: 'Editorial Portfolio',
  position: { x: 0, y: 0 },
  size: { width: 800, height: 330 },
  config: {
    accentColor: '#c5ff4a',
  },
  locked: false,
  visible: true,
  zIndex: 1,
}

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