Skip to main content

API

Core functions and utilities for building and displaying UI.

Functions

Advanced

  • Custom Native Components — register your own native component type that the runtime serializes and your resource pack's JSON UI decodes. Requires JSON UI and serialization knowledge.

Screen Descriptors

  • Screen.Scroll — Default scrolling form layout; scrolls when content overflows and shows no scrollbar when it fits. (Currently the only built-in screen type; the descriptor system is kept for future types.)

Next Steps

  • Components - Built-in components that you can use in your JSX
  • Hooks - Add state and effects to your components