Mirai is a Server-Driven UI (SDUI) framework for Flutter that enables real-time, dynamic user interfaces using JSON. It allows developers to define and update UI components on the server, which are then rendered in Flutter apps without requiring app updates. This approach supports rapid iteration, A/B testing, and content personalization across platforms. Mirai simplifies cross-platform development by centralizing UI logic and design decisions on the server side.
Use cases
- Dynamic UI updates without app releases
- A/B testing and feature toggles
- Personalized content delivery
- Rapid prototyping and iteration
- Cross-platform UI consistency
Key features
- JSON-driven UI definitions
- Real-time UI updates from server
- Server-side UI logic management
- Cross-platform rendering
- Hot-reload-like behavior for UI changes
Suitable for
- Teams needing frequent UI updates
- Apps with personalized content
- Development teams focused on speed and agility
- Projects requiring A/B testing
- Server-driven application architectures
Considerations
- Requires a backend to serve JSON UI definitions
- Limited to UI components supported by the framework
- Depends on stable network connectivity for real-time updates
- Learning curve for JSON-based UI modeling