Component declarations (Components v2)


A component declaration describes what a component can do, the capabilities it uses and exposes, its children, and other information needed to run the component.

Every component has a declaration. For components that are distributed in packages, the declaration typically takes the form of a component manifest file that is located using a component URL.

Components can also be distributed in other forms such as web applications with the help of a resolver to retrieve the component declaration and a runner to run the component.

For example, the declaration for a calculator component might specify the following information: