Prediction Markets on Sonic Blockchain

Sonic Markets

Web3Prediction MarketsBlockchainDesign SystemStorybook
Produced bySonicMarkets
SonicMarkets Branding
Overview

Sonic Markets is a decentralized prediction markets platform similar to Polymarket, built on the Sonic blockchain. Users create, trade, and resolve markets on real-world outcomes such as politics, economics, sports, and crypto events. The design challenge was to make complex financial mechanics feel fast, legible, and trustworthy, while also building a scalable component system that engineers could extend without design debt.

Problem

Prediction markets combine multiple sources of complexity:

  • -Binary and multi-outcome markets
  • -Real-time pricing and liquidity
  • -Financial risk and payouts
  • -Trust, resolution rules, and edge cases
  • -Regulatory and UX sensitivity around 'betting'

From a product perspective, the core problems were:

1. Cognitive overload

Users must understand odds, outcomes, and risk within seconds

2. System scalability

Markets, outcomes, cards, and trading modules repeat across the product and must stay consistent

3. Design-engineering translation

Components had to map cleanly from Figma to React and remain maintainable as the platform evolves

Design Goals
01Make markets scannable in under 2 seconds
02Reduce friction between browsing and trading
03Treat markets as composable system objects, not static screens
04Ensure every Figma component maps directly to a coded component
05Design for future market types without redesigning the system
Markets Discovery

Markets Home

Category-based navigation with featured market cards. Each card displays the market question, multiple outcomes with probability percentages, and quick Yes/No trading buttons for immediate action.

Markets Home Page
Category Tabs
  • - All Markets
  • - Politics
  • - Economics
  • - Technology
  • - Sports
  • - Entertainment
  • - Art
  • - Music
  • - Celebrity
Featured Cards
  • - Category highlight with image
  • - Market question preview
  • - Go to Category / Markets CTA
Market Cards
  • - Multiple outcomes with %
  • - Yes/No quick trade buttons
  • - Total bet volume
  • - Comment count indicator
Trading Interface

Market Detail Page

Full market view with trading panel, outcome list, rules, comments, and suggested markets. The right sidebar contains the complete trading flow: outcome selection, amount input, share calculation, and payout preview.

Markets Home Page

Market Content

  • -Market Prompt with definition and event date
  • -Outcome list with probabilities (50%)
  • -Buy Yes / Buy No buttons per outcome
  • -Rules section with resolution criteria
  • -Comment section with Top Holders and Activities tabs

Trading Panel

Outcome
Yes 25cNo 75c
AmountMax | $0
Shares0
Payout if Yes wins$0.00 (0%)
Technical Specifications

Figma to Code Mapping

Every component in Figma maps 1:1 to a coded component. This ensures no hand-off ambiguity and allows engineers to extend safely.

OutcomeButton Code

OutcomeButton Component

Figma Properties:

  • - Variant: Yes / No
  • - State: Default / Hover / Disabled
  • - Emphasis: Primary / Secondary
  • - Price: Percent / Cents

This ensured:

  • - No 'visual-only' components
  • - No hand-off ambiguity
  • - Engineers could extend safely
Documentation

Design System Documentation

Component Documentation

Each component is documented with:

  • - Purpose
  • - When to use / not use
  • - Responsive behavior
  • - Accessibility notes
  • - Edge cases

Storybook Integration

All production components are mirrored in Storybook for:

  • - Visual regression testing
  • - QA access states and variants
  • - Design review without Figma access
  • - Onboarding new engineers
Responsive & Scalable by Default

Layouts were designed mobile-first with clear breakpoint rules:

  • - Market cards collapse outcomes on small screens
  • - Buy/Sell module becomes a sticky bottom sheet on mobile
  • - Probability indicators simplify under space constraints
Mobile Experience

Points & Leaderboard System

Dark-themed mobile experience for earning points and gems through platform participation. Top users leaderboard with wallet addresses and point balances creates competitive engagement.

Mobile Points System
How to Earn Points
PointsEarn points by deploying your whitelisted assets
GemsEarn further airdrop allocation from participating apps
Top 5 Users
010xbb43...27e8
8103549.36
020x5b89...d25b
7746991.81
030xa51b...de23
7367356.47
Trade-Offs & Limitations
  • -Some advanced trading features were intentionally deferred to avoid overwhelming new users
  • -Real-time updates required careful performance budgeting
  • -Regulatory copy and disclaimers constrained visual hierarchy in some areas

These constraints informed the system rather than fighting it.

Impact
  • +Faster time-to-trade for first-time users
  • +Reduced design debt through component reuse
  • +Clearer collaboration between design and engineering
  • +System flexible enough to support new market types without redesign
Visual System

Color Palette

Background
Surface
Text
Yes/Buy
No/Sell
Accent

Tools & Stack

FigmaStorybookTailwind CSSReactSonic Blockchain
Produced bySonicMarkets
sadra targhi — sonic markets case study