BindJS native A2UI renderer for SwiftUI, Jetpack Compose and React #2638
djfumberger
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi all 👋
We’ve just open-sourced a2ui-bindjs, an A2UI renderer that lets you define a catalog once and use it across SwiftUI, Jetpack Compose, and React rendered as native UI.
The video below shows the same A2UI surface running side by side on iOS and Android. Both apps are using the same shared component definitions, with no separate catalog implementation for each platform.
A2UI.BindJS.mp4
Links
@metabindai/a2ui-bindjsHow it works
The catalog is written in BindJS. Components produce a platform-independent view tree, which each host renders using its native UI framework.
That gives us:
Picker, for example, becomes the appropriate native control on each platform rather than a styled approximation.Ratingcomponent once and use the same implementation on web, iOS, and Android.A2UI support
It supports both A2UI v1.0 and v0.9.1, including all 18 Basic Catalog components and the standard function set.
Try it
React
SwiftUI
Jetpack Compose
Would be great to hear any thoughts, feedback, or questions.
All reactions