Skip to main content
Rixx UI separates what a model may request from what React may render. defineCatalog creates data-only contracts and generation instructions. defineRegistry binds those contracts to trusted React components.
Although defineCatalog is re-exported from the React package, the resulting definition is framework-neutral data. defineRegistry is the React-specific step. defineRUI rejects mismatched catalog and registry objects.

Contract rules

  • Catalog IDs use namespace.name@major.minor or namespace.name@major.minor.patch.
  • Component names start with an uppercase letter.
  • Component prop schemas must be valid, closed object schemas with additionalProperties: false.
  • Core components are included unless includeCore: false is explicit.
  • Descriptions and keywords drive compact relevance retrieval.
Call rui.instructions(userPrompt) to obtain catalog-aware generation instructions for your host’s model request. The returned string contains no provider configuration and does not perform a network request.