Match card
Two teams, scores or start time, with optional game details and a reminder.
View OpenUI program
root = Screen([pick1])
d = Query("sports_dataset", {run: "MatchCard/full"}, {})
pick1 = MatchCard(d.answers.q1.record)
Every component rendered from its OpenUI program, with the samples the iOS app and the parity tests share.
Real clubs and players with sample figures.
Two teams, scores or start time, with optional game details and a reminder.
root = Screen([pick1])
d = Query("sports_dataset", {run: "MatchCard/full"}, {})
pick1 = MatchCard(d.answers.q1.record)
A player or team header, an optional rating, and a scrollable row of stats.
root = Screen([pick1])
d = Query("sports_dataset", {run: "StatsCard/full"}, {})
pick1 = StatsCard(d.answers.q1.record)
Season points with a home and away breakdown.
root = Screen([pick1])
d = Query("sports_dataset", {run: "TeamPoints/full"}, {})
pick1 = TeamPoints(d.answers.q1.record)
A team's place in the standings, nearby teams and optional home and away context.
root = Screen([pick1])
d = Query("sports_dataset", {run: "LeagueStanding/full"}, {})
pick1 = LeagueStanding(d.answers.q1.record)
The top three clubs in a completed season, arranged by finishing place.
root = Screen([pick1])
d = Query("sports_dataset", {run: "SeasonPodium/full"}, {})
pick1 = SeasonPodium(d.answers.q1.record)
An injured player with a band-aid on the photo, an optional league status, the expected return and its source.
root = Screen([pick1])
d = Query("sports_dataset", {run: "InjuryReport/noted"}, {})
pick1 = InjuryReport(d.answers.q1.record)
A stepped market value chart with club spells and a scrubbable value readout.
root = Screen([pick1])
d = Query("sports_dataset", {run: "PlayerValue/full"}, {})
pick1 = PlayerValue(d.answers.q1.record)
A compact season view with distinct marks for each result and upcoming games.
root = Screen([pick1])
d = Query("sports_dataset", {run: "FixturesHeatmap/full"}, {})
pick1 = FixturesHeatmap(d.answers.q1.record)
One player's metrics over a season as stepped lines: a total for one metric, a legend grid for up to four.
root = Screen([pick1])
d = Query("sports_dataset", {run: "PlayerMetrics/full"}, {})
pick1 = PlayerMetrics(d.answers.q1.record)
Compare one statistic across two teams, with values and proportional bars.
root = Screen([pick1])
d = Query("sports_dataset", {run: "StatBar/full"}, {})
pick1 = StatBar(d.answers.q1.record)
Ranked players or teams with optional positions, photos and a trailing value.
root = Screen([pick1])
d = Query("sports_dataset", {run: "Leaderboard/full"}, {})
pick1 = Leaderboard(d.answers.q1.record)
A table whose columns come from the data: box scores, standings and game logs.
root = Screen([pick1])
d = Query("sports_dataset", {run: "RecordTable/full"}, {})
pick1 = RecordTable(d.answers.q1.record)
The leading players from both sides of a game, aligned by rating or another metric.
root = Screen([pick1])
d = Query("sports_dataset", {run: "MatchTopPlayers/full"}, {})
pick1 = MatchTopPlayers(d.answers.q1.record)
A team crest and name with optional nickname or secondary context.
root = Screen([pick1])
d = Query("sports_dataset", {run: "TeamDetail/full"}, {})
pick1 = TeamDetail(d.answers.q1.record)
Swipe between club spells or select a year. Loans have a marker; up to three stats are optional.
root = Screen([pick1])
d = Query("sports_dataset", {run: "ClubTimeline/full"}, {})
pick1 = ClubTimeline(d.answers.q1.record)
Real teams, players and figures from recorded ESPN responses.
Two teams, scores or start time, with optional game details and a reminder.
root = Screen([pick1])
d = Query("sports_dataset", {run: "MatchCard/nba"}, {})
pick1 = MatchCard(d.answers.q1.record)
A player or team header, an optional rating, and a scrollable row of stats.
root = Screen([pick1])
d = Query("sports_dataset", {run: "StatsCard/nba"}, {})
pick1 = StatsCard(d.answers.q1.record)
A team's place in the standings, nearby teams and optional home and away context.
root = Screen([pick1])
d = Query("sports_dataset", {run: "LeagueStanding/nba"}, {})
pick1 = LeagueStanding(d.answers.q1.record)
An injured player with a band-aid on the photo, an optional league status, the expected return and its source.
root = Screen([pick1])
d = Query("sports_dataset", {run: "InjuryReport/tomorrow"}, {})
pick1 = InjuryReport(d.answers.q1.record)
A compact season view with distinct marks for each result and upcoming games.
root = Screen([pick1])
d = Query("sports_dataset", {run: "FixturesHeatmap/nba"}, {})
pick1 = FixturesHeatmap(d.answers.q1.record)
One metric across players, seasons or clubs as value pills at their height, paged sideways past five.
root = Screen([pick1])
d = Query("sports_dataset", {run: "MetricBars/full"}, {})
pick1 = MetricBars(d.answers.q1.record)
Compare one statistic across two teams, with values and proportional bars.
root = Screen([pick1])
d = Query("sports_dataset", {run: "StatBar/nba"}, {})
pick1 = StatBar(d.answers.q1.record)
Ranked players or teams with optional positions, photos and a trailing value.
root = Screen([pick1])
d = Query("sports_dataset", {run: "Leaderboard/nba"}, {})
pick1 = Leaderboard(d.answers.q1.record)
A table whose columns come from the data: box scores, standings and game logs.
root = Screen([pick1])
d = Query("sports_dataset", {run: "RecordTable/nba"}, {})
pick1 = RecordTable(d.answers.q1.record)
The leading players from both sides of a game, aligned by rating or another metric.
root = Screen([pick1])
d = Query("sports_dataset", {run: "MatchTopPlayers/nba"}, {})
pick1 = MatchTopPlayers(d.answers.q1.record)
A team crest and name with optional nickname or secondary context.
root = Screen([pick1])
d = Query("sports_dataset", {run: "TeamDetail/nba"}, {})
pick1 = TeamDetail(d.answers.q1.record)
Swipe between club spells or select a year. Loans have a marker; up to three stats are optional.
root = Screen([pick1])
d = Query("sports_dataset", {run: "ClubTimeline/nba"}, {})
pick1 = ClubTimeline(d.answers.q1.record)
Real teams, players and figures from recorded ESPN responses.
Two teams, scores or start time, with optional game details and a reminder.
root = Screen([pick1])
d = Query("sports_dataset", {run: "MatchCard/nfl"}, {})
pick1 = MatchCard(d.answers.q1.record)
A player or team header, an optional rating, and a scrollable row of stats.
root = Screen([pick1])
d = Query("sports_dataset", {run: "StatsCard/nfl"}, {})
pick1 = StatsCard(d.answers.q1.record)
A team's place in the standings, nearby teams and optional home and away context.
root = Screen([pick1])
d = Query("sports_dataset", {run: "LeagueStanding/nfl"}, {})
pick1 = LeagueStanding(d.answers.q1.record)
An injured player with a band-aid on the photo, an optional league status, the expected return and its source.
root = Screen([pick1])
d = Query("sports_dataset", {run: "InjuryReport/full"}, {})
pick1 = InjuryReport(d.answers.q1.record)
A compact season view with distinct marks for each result and upcoming games.
root = Screen([pick1])
d = Query("sports_dataset", {run: "FixturesHeatmap/nfl"}, {})
pick1 = FixturesHeatmap(d.answers.q1.record)
Up to four players on one metric over a season, sorted at the scrub, each line in its club colour.
root = Screen([pick1])
d = Query("sports_dataset", {run: "PlayersMetric/full"}, {})
pick1 = PlayersMetric(d.answers.q1.record)
Compare one statistic across two teams, with values and proportional bars.
root = Screen([pick1])
d = Query("sports_dataset", {run: "StatBar/nfl"}, {})
pick1 = StatBar(d.answers.q1.record)
Ranked players or teams with optional positions, photos and a trailing value.
root = Screen([pick1])
d = Query("sports_dataset", {run: "Leaderboard/nfl"}, {})
pick1 = Leaderboard(d.answers.q1.record)
A table whose columns come from the data: box scores, standings and game logs.
root = Screen([pick1])
d = Query("sports_dataset", {run: "RecordTable/nfl"}, {})
pick1 = RecordTable(d.answers.q1.record)
The leading players from both sides of a game, aligned by rating or another metric.
root = Screen([pick1])
d = Query("sports_dataset", {run: "MatchTopPlayers/nfl"}, {})
pick1 = MatchTopPlayers(d.answers.q1.record)
A team's reported injuries, one row per player with status and expected return.
root = Screen([pick1])
d = Query("sports_dataset", {run: "InjuryList/full"}, {})
pick1 = InjuryList(d.answers.q1.record)
A team crest and name with optional nickname or secondary context.
root = Screen([pick1])
d = Query("sports_dataset", {run: "TeamDetail/nfl"}, {})
pick1 = TeamDetail(d.answers.q1.record)
Swipe between club spells or select a year. Loans have a marker; up to three stats are optional.
root = Screen([pick1])
d = Query("sports_dataset", {run: "ClubTimeline/nfl"}, {})
pick1 = ClubTimeline(d.answers.q1.record)
Components composed on request from OpenUI primitives.
Custom component built from primitives upon request.
root = Screen([pick1, pick2])
d = Query("sports_dataset", {run: "3ca2646f-4aad-443b-a6e1-3b9a28686dc6"}, {})
pick1 = Stack("v", 8, [pick1_title, pick1_leagues, pick1_meta])
pick1_title = Text("US streaming guide", "title2", "semibold", null, 0)
pick1_leagues = Text("Premier League, Serie A, LaLiga and Bundesliga, 2026/27", "body", null, "secondary", 0)
pick1_meta = Stack("wrap", 8, [Badge("United States", "neutral", "globe.americas.fill"), Stack("h", 4, [Text("As of", "footnote", null, "secondary"), Text(d.answers.q1.asOf, "footnote", "semibold")], "center")], "center")
pick2 = SegmentedControl(["Premier", "Serie A", "LaLiga", "Bundesliga"], 0, [pick2_premier, pick2_serieA, pick2_laLiga, pick2_bundesliga])
pick2_premier = Card([Text(d.answers.q1.title, "headline", "semibold", null, 0), Text(d.answers.q1.summary, "footnote", null, "secondary"), pick2_premierRows, pick2_premierDetails, Text(d.answers.q1.source, "footnote", null, "tertiary")], "card", "container", 16, false, 12)
pick2_serieA = Card([Text(d.answers.q2.title, "headline", "semibold", null, 0), Text(d.answers.q2.summary, "footnote", null, "secondary"), pick2_serieARows, pick2_serieADetails, Text(d.answers.q2.source, "footnote", null, "tertiary")], "card", "container", 16, false, 12)
pick2_laLiga = Card([Text(d.answers.q3.title, "headline", "semibold", null, 0), Text(d.answers.q3.summary, "footnote", null, "secondary"), pick2_laLigaRows, pick2_laLigaDetails, Text(d.answers.q3.source, "footnote", null, "tertiary")], "card", "container", 16, false, 12)
pick2_bundesliga = Card([Text(d.answers.q4.title, "headline", "semibold", null, 0), Text(d.answers.q4.summary, "footnote", null, "secondary"), pick2_bundesligaRows, pick2_bundesligaDetails, Text(d.answers.q4.source, "footnote", null, "tertiary")], "card", "container", 16, false, 12)
pick2_premierRows = Stack("v", 8, @Each(d.answers.q1.rows, "r", Stack("v", 4, [Stack("h", 8, [Text(r.label, "body", "medium"), Badge(r.cells[0], "neutral", null, "small")], "start", "between"), Text(r.cells[1], "footnote", null, "secondary")])), null, null, null, true)
pick2_premierDetails = Disclosure("Coverage details", [Stack("v", 12, [Stack("v", 4, [Text(d.answers.q1.facts[0].label, "footnote", null, "secondary", 0), Text(d.answers.q1.facts[0].value, "body", "semibold", null, 0), Text(d.answers.q1.facts[0].detail, "footnote", null, "secondary")]), Stack("v", 4, [Text(d.answers.q1.facts[1].label, "footnote", null, "secondary", 0), Text(d.answers.q1.facts[1].value, "body", "semibold", null, 0), Text(d.answers.q1.facts[1].detail, "footnote", null, "secondary")]), Stack("v", 4, [Text(d.answers.q1.facts[2].label, "footnote", null, "secondary", 0), Text(d.answers.q1.facts[2].value, "body", "semibold", null, 0), Text(d.answers.q1.facts[2].detail, "footnote", null, "secondary")]), Stack("v", 4, [Text(d.answers.q1.facts[3].label, "footnote", null, "secondary", 0), Text(d.answers.q1.facts[3].value, "body", "semibold", null, 0), Text(d.answers.q1.facts[3].detail, "footnote", null, "secondary")]), Stack("v", 4, [Text(d.answers.q1.facts[4].label, "footnote", null, "secondary", 0), Text(d.answers.q1.facts[4].value, "body", "semibold", null, 0), Text(d.answers.q1.facts[4].detail, "footnote", null, "secondary")]), Stack("v", 4, [Text(d.answers.q1.facts[5].label, "footnote", null, "secondary", 0), Text(d.answers.q1.facts[5].value, "body", "semibold", null, 0), Text(d.answers.q1.facts[5].detail, "footnote", null, "secondary")]), Stack("v", 4, [Text(d.answers.q1.facts[6].label, "footnote", null, "secondary", 0), Text(d.answers.q1.facts[6].value, "body", "semibold", null, 0), Text(d.answers.q1.facts[6].detail, "footnote", null, "secondary")])], null, null, null, true)], false)
pick2_serieARows = Stack("v", 12, @Each(d.answers.q2.rows, "r", Stack("v", 4, [Stack("h", 8, [Text(r.label, "body", "semibold", null, 0), Badge(r.cells[0], "neutral", null, "small")], "start", "between"), Text(r.cells[1], "footnote", "medium", null, 0), Text(r.cells[2], "footnote", null, "secondary")])), null, null, null, true)
pick2_serieADetails = Disclosure("Coverage details", [Stack("v", 12, @Each(d.answers.q2.facts, "f", Stack("v", 4, [Text(f.label, "footnote", null, "secondary", 0), Text(f.value, "body", "semibold", null, 0), Text(f.detail, "footnote", null, "secondary")])), null, null, null, true)], false)
pick2_laLigaRows = Stack("v", 8, [Stack("v", 4, [Stack("h", 8, [Text(d.answers.q3.rows[0].label, "body", "medium"), Badge(d.answers.q3.rows[0].cells[1], "neutral", null, "small")], "start", "between"), Text(d.answers.q3.rows[0].cells[0], "footnote", null, "secondary")]), Stack("v", 4, [Stack("h", 8, [Text(d.answers.q3.rows[1].label, "body", "medium")], "start", "between"), Text(d.answers.q3.rows[1].cells[0], "footnote", null, "secondary")]), Stack("v", 4, [Stack("h", 8, [Text(d.answers.q3.rows[2].label, "body", "medium"), Badge(d.answers.q3.rows[2].cells[1], "neutral", null, "small")], "start", "between"), Text(d.answers.q3.rows[2].cells[0], "footnote", null, "secondary")]), Stack("v", 4, [Stack("h", 8, [Text(d.answers.q3.rows[3].label, "body", "medium")], "start", "between"), Text(d.answers.q3.rows[3].cells[0], "footnote", null, "secondary")])], null, null, null, true)
pick2_laLigaDetails = Disclosure("Coverage details", [Stack("v", 12, [Stack("v", 4, [Text(d.answers.q3.facts[0].label, "footnote", null, "secondary", 0), Text(d.answers.q3.facts[0].value, "body", "semibold", null, 0), Text(d.answers.q3.facts[0].detail, "footnote", null, "secondary")]), Stack("v", 4, [Text(d.answers.q3.facts[1].label, "footnote", null, "secondary", 0), Text(d.answers.q3.facts[1].value, "body", "semibold", null, 0), Text(d.answers.q3.facts[1].detail, "footnote", null, "secondary")]), Stack("v", 4, [Text(d.answers.q3.facts[2].label, "footnote", null, "secondary", 0), Text(d.answers.q3.facts[2].value, "body", "semibold", null, 0), Text(d.answers.q3.facts[2].detail, "footnote", null, "secondary")]), Stack("v", 4, [Text(d.answers.q3.facts[3].label, "footnote", null, "secondary", 0), Text(d.answers.q3.facts[3].value, "body", "semibold", null, 0), Text(d.answers.q3.facts[3].detail, "footnote", null, "secondary")]), Stack("v", 4, [Text(d.answers.q3.facts[4].label, "footnote", null, "secondary", 0), Text(d.answers.q3.facts[4].value, "body", "semibold", null, 0), Text(d.answers.q3.facts[4].detail, "footnote", null, "secondary")]), Stack("v", 4, [Text(d.answers.q3.facts[5].label, "footnote", null, "secondary", 0), Text(d.answers.q3.facts[5].value, "body", "semibold", null, 0), Text(d.answers.q3.facts[5].detail, "footnote", null, "secondary")]), Stack("v", 4, [Text(d.answers.q3.facts[6].label, "footnote", null, "secondary", 0), Text(d.answers.q3.facts[6].value, "body", "semibold", null, 0), Text(d.answers.q3.facts[6].detail, "footnote", null, "secondary")])], null, null, null, true)], false)
pick2_bundesligaRows = Stack("v", 12, @Each(d.answers.q4.rows, "r", Stack("v", 8, [Stack("h", 8, [Text(r.label, "body", "semibold", null, 0), Badge(r.cells[0], "neutral", null, "small")], "start", "between"), Stack("wrap", 8, [Badge(r.cells[1], "neutral", "tv", "small"), Badge(r.cells[2], "neutral", "play.rectangle", "small")]), Text(r.cells[3], "footnote", null, "secondary")])), null, null, null, true)
pick2_bundesligaDetails = Disclosure("Coverage details", [Stack("v", 12, @Each(d.answers.q4.facts, "f", Stack("v", 4, [Text(f.label, "footnote", null, "secondary", 0), Text(f.value, "body", "semibold", null, 0), Text(f.detail, "footnote", null, "secondary")])), null, null, null, true)], false)
Custom component built from primitives upon request. Season injury summaries, recovery updates and reported return dates.
root = Screen([header, overview, panels])
d = Query("sports_dataset", {run: "cacacfca-c933-4b95-8b5d-8d8bb69d515a"}, {})
header = Stack("v", 8, [Text(d.report.title, "title2", "semibold"), Stack("wrap", 8, [Badge("Chelsea men", "neutral"), Badge(d.report.season, "neutral"), Text(d.report.asOf, "footnote", null, "secondary")]), Text(d.report.scope, "footnote", null, "secondary")])
overview = Card([Stack("wrap", 8, [Badge("7 unavailable", "warn", "bandage.fill"), Badge("5 returned in season", "good", "checkmark.circle.fill")]), Text(d.report.returnNote, "footnote", null, "secondary")], "card", "container", 16, false, 12)
panels = SegmentedControl(["Injured · 7", "Returned · 5"], 0, [injuries, returns])
injuries = Stack("v", 12, @Each(d.report.injured, "p", Card([Stack("h", 12, [ZStack([Avatar(p.name, 80, p.imageUrl, null, "circle", "#144992", "player"), ZStack([Avatar("", 20, null, null, "circle", d.report.injuryColor), Icon("bandage.fill", 16, "inverse")], "center")], "bottom-trailing"), Stack("v", 4, [Text(p.name, "headline", "semibold"), Text(p.issue, "footnote", null, "secondary")])], "center"), Stack("v", 4, [Text("Est. return · media", "footnote", null, "secondary"), Text(p.returnShort, "body", "semibold")]), Disclosure("Details", [Stack("v", 8, [Text("Club update", "footnote", "semibold"), Text(p.update, "footnote"), Text(p.clubReturn, "footnote", "medium"), Text(p.source, "footnote", null, "tertiary"), Text("Media estimate · The Standard", "footnote", "semibold"), Text(p.estimate, "footnote"), Text("Reviewed 4 Nov 2026", "footnote", null, "tertiary")])], false), Text(p.summary, "footnote", null, "secondary")], "card", "container", 16, false, 12)))
returns = Stack("v", 12, @Each(d.report.returned, "p", Card([Stack("h", 12, [ZStack([Avatar(p.name, 80, p.imageUrl, null, "circle", "#144992", "player"), Badge("", "good", "checkmark")], "bottom-trailing"), Stack("v", 4, [Text(p.name, "headline", "semibold"), Badge(p.status, "good", null, "small")])], "center"), Text(p.issue, "footnote", null, "secondary"), Disclosure("Details", [Stack("v", 8, [Text(p.returnWindow, "footnote", "semibold"), Text(p.update, "footnote"), Text(p.source, "footnote", null, "tertiary")])], false), Text(p.summary, "footnote", null, "secondary")], "card", "container", 16, false, 12)))