From a design system to a SwiftUI kit,
built for markets that never sleep.
Context
My vision was to build the most intuitive and fun prediction market experience. But I quickly realized how intimidating the sheer volume of data, charts, and market mechanics could be. Even as a designer and builder, there was a steep learning curve just to understand the fundamentals.
So I created LiveWish, a SwiftUI kit for live event interfaces. The examples use Kalshi’s API, but the kit isn’t tied to it. The chart accepts timestamped prices, and the ticker accepts trades, so any data source can drive it.
The goal is simple: to break down my design process and build tools that lower the barrier to prediction markets, both for the people using them and the people building them.
So I created LiveWish, a SwiftUI kit for live event interfaces. The examples use Kalshi’s API, but the kit isn’t tied to it. The chart accepts timestamped prices, and the ticker accepts trades, so any data source can drive it.
The goal is simple: to break down my design process and build tools that lower the barrier to prediction markets, both for the people using them and the people building them.
Build a data-driven UI system
I started experimenting with different APIs, using Opus 5.5 to build several SwiftUI components from scratch. This allowed me to explore ideas and iterate much faster. My goal was to create a highly modular and scalable UI system — a reusable template that could adapt to different sports, live events, and prediction markets without redesigning the experience each time.
I started experimenting with different APIs, using Opus 5.5 to build several SwiftUI components from scratch. This allowed me to explore ideas and iterate much faster. My goal was to create a highly modular and scalable UI system — a reusable template that could adapt to different sports, live events, and prediction markets without redesigning the experience each time.
Instead of relying on SwiftUI's built-in animations, I designed the chart's motion from scratch, with everything driven by one clock that updates every frame. Every line, label, and number has its own interaction, carefully synchronized to create a seamless visual experience. Then I put it through endless stress tests to make sure it holds up in any game.
Drag anywhere on the chart to revisit any moment in the game. Probabilities update as users move through the timeline, and the chart smoothly returns to live when released.
Next to the chart, every trade shows up the moment it happens, in its team's colour, with the total volume rolling underneath. Instead of the usual drift-up-and-fade, I gave each trade its own custom motion: it springs in from the bottom with a little overshoot, nudges the stack up, then jumps away as newer trades crowd in.
Want to try it out? Install it as a Swift package. In Xcode, choose File › Add Package Dependencies and paste:
1https://github.com/rockyyuan-code/LiveWishBuilt for every market
This component is built to be super dynamic, with a set of variables that cover any type of market.
This component is built to be super dynamic, with a set of variables that cover any type of market.
Fully automated color selection for every team
Every team gets its button colors automatically. The system reads each team's logo and league color data, picks the colors that best represent the team, and makes sure the two buttons in a matchup never look alike and both labels stay readable.
Every team gets its button colors automatically. The system reads each team's logo and league color data, picks the colors that best represent the team, and makes sure the two buttons in a matchup never look alike and both labels stay readable.
From top to bottom: Default Light, Default Dark, Increased Contrast Light, and Increased Contrast Dark.
Bringing markets to life with live media
Real-time streaming brings a level of excitement that data visualization alone cannot capture. Integrating live media from major sports streaming platforms creates a more immersive and engaging prediction market experience.
Real-time streaming brings a level of excitement that data visualization alone cannot capture. Integrating live media from major sports streaming platforms creates a more immersive and engaging prediction market experience.
Highlights as an alternative to live streaming
If live streaming isn't an option, we can always bring in highlight videos. I experimented with a new highlight format that lets users catch up on exciting moments without leaving the trading experience.
FYI, custom skins are always supported, like this GTA VI-inspired Miami colorway, bringing that Vice City vibe to game day for all the crazy fans out there.
FYI, custom skins are always supported, like this GTA VI-inspired Miami colorway, bringing that Vice City vibe to game day for all the crazy fans out there.
🚫 Not a typical info sheet
Sometimes you gotta do what you gotta do...🤣🚨👀
Sometimes you gotta do what you gotta do...🤣🚨👀
Trading on the go with Live Activities
I often bike home after work, which inspired me to explore a custom Live Activities experience. Users can keep up with their favorite teams in real time and place trades whenever they have a moment, without having to navigate back into the app.
I often bike home after work, which inspired me to explore a custom Live Activities experience. Users can keep up with their favorite teams in real time and place trades whenever they have a moment, without having to navigate back into the app.
What's next
This is just the beginning. There's still a lot to explore, learn, and improve through iteration. Throughout my design process, I keep reminding myself to put users' needs first and remember that good design isn't just about how it looks and feels, but how it works.
This is just the beginning. There's still a lot to explore, learn, and improve through iteration. Throughout my design process, I keep reminding myself to put users' needs first and remember that good design isn't just about how it looks and feels, but how it works.
c
Acknowledgements
Special thanks to Emily Duan💖, who introduced me to the world of prediction markets during the 2026 World Cup.
Made in nyc/dc.
Acknowledgements
Special thanks to Emily Duan💖, who introduced me to the world of prediction markets during the 2026 World Cup.
Made in nyc/dc.
Made in nyc/dc.