Redwood’s Compose uses a custom tree which talks to the native UI toolkit on each platform. In order to create a multiplatform set of composables that can interface with each platform’s native UI toolkit we need a common definition of UI widgets. To drive the UI we write regular Compose code, only with these generated composables instead of Compose UI.