Description
Jist is a cross-platform library that renders JSON templates into native user interfaces on the web, iOS and Android. A template describes the structure of a view as a tree of components, the data supplies the content, and a theme controls colors, fonts, spacing and borders. The same three inputs produce the same view on each platform: a web custom element, a SwiftUI view on iOS delivered as a Swift package, and a Jetpack Compose view on Android. Templates carry a version tag, and a renderer that does not support a version skips that template, while unknown components and properties are ignored, so older renderers degrade gracefully. The components include containers such as layout, action and dynamicLayout, which repeats a node for each item in a data array, and leaf nodes such as heading, text, date, button, image and template references. Dark mode is handled with sparse overrides in the theme, so only the colors that change need to be listed. The project is on GitHub, with installation steps for each platform and a worked example of a card with a heading, image, body text and a button.…
Highlights
- One JSON template for web, iOS and Android
- Native SwiftUI and Jetpack Compose views
- Versioned templates with graceful fallback
- Repeating layouts from data arrays
- Sparse dark mode overrides in the theme
Ratings & Reviews
No ratings yet
Be the first to rate @customerio/jist.
People also visit
@customerio/jist FAQ
What is Jist?
A library that renders JSON templates into native views on the web, iOS and Android.
Which platforms are supported?
The web as a custom element, iOS through a SwiftUI JistView in a Swift package, and Android through a Jetpack Compose JistView.
What does a template contain?
A tree of components that defines structure and layout, separate from the data and the theme.
How does it handle unknown components?
Unknown components and properties are ignored, and renderers that do not support a template version skip it.
How does dark mode work?
Only the theme values that change in dark mode are listed under modes.dark, and everything else is inherited from the base theme.
Which package names are used?
@customerio/jist for web, the Jist Swift package for iOS, and io.customer:jist for Android.
What are the best @customerio/jist alternatives?
Popular alternatives to @customerio/jist include @json-render/shadcn, React Native Elements and react-json-pretty. See all @customerio/jist alternatives










