Skip to content

r.screen(...)

r.screen(definition) — registers a screen under the feature-local short id (qualified to <feature>:screen:<id>). Boot-validation checks that entity-bound screens reference a registered entity and that column/form field refs name real fields. Closure-valued props (visibility conditions, row-action payloads, custom renderers) stay opaque — see opaqueProps.

Carries definition.description transitively (no dedicated field here): that prose feeds the AI-agent manifest output. A type: "custom" screen without it renders a renderer closure the agent has no way to explain.


From packages/framework/src/engine/feature-ast/patterns.ts -> ScreenPattern