Skip to main content

ComponentView

interface
interface ComponentView

Import

import { ComponentView } from '@modular/sdk';

Members9

component
ViewComponentReference
iconoptional
string

The view's nav icon — shown on its activity-bar / panel entry. A design system icon name (the icon's export name), e.g. `'IconSparkle2Outline24'`, `'IconStarOutline24'`, or a codicon like `'CodiconAccount'`. Rendered monochrome, tinted to the active foreground — distinct from the mod's full-color `metadata.icon`. Omit and the view falls back to a placeholder.

id
string
kind
'component'
persistent
boolean
presentation
DeskPresentation
title
string
whenoptional
Condition
windowoptional
ViewWindowOptions