EngineVersion 1uiClasses

ui:Component

A named component export from a UI bundle.

Extends: matrix:Resource

References a specific export from a ui:Bundle.

Typically auto-generated from index.ts exports during build.

:PersonCardComponent
        a ui:Component ;
        ui:bundle :components ;
        ui:exportName "PersonCard" .

Properties

ui:bundle (required, max 1)

Reference to the UI bundle containing this component.

Component must reference exactly one bundle (ui:Bundle).

The bundle's artifact:path is resolved to load the compiled JavaScript.

ui:exportName (required, max 1)

The named export from the bundle to render.

Component must have exactly one exportName.

Must match an export name in the bundle's index.ts.

On this page