Contract reference
Contract version: 1.14.0 (@taggor/contract).
The contract is what a component declares and what the platform checks. These pages list every field of each contract document with its type, limits and description. They are generated from the JSON Schemas of the contract version shown at the top of each page. The build also applies rules that a schema cannot state; they are in the component contract and in the build diagnostics.
| Page | What it covers |
|---|---|
| Manifest | The top-level fields of a component manifest, size hints, permissions, locales, assets and the named types |
| Props | The nine prop types, how an attribute becomes a value, and the schema of a prop |
| Events, slots and theming | Events, slots, parts and CSS variables |
| Data | Collections and tracked events, and the payloads between a component and the data API |
| Other documents | The library manifest, the source package config and a build diagnostic |
Each document is also published as a JSON Schema under /schema/<name>/v1.json
(component-manifest, library-manifest, data-api, build-diagnostic, taggor-config).
For the prose guide, read the component contract.