Pass

The Pass is a reusable entry point into the Pass purchase flow, or shows Pass details when already owned.

Pass/Hero

Component checklist

Design

Up to date

Flutter

Up to date

Widgetbook

-

Overview

The Pass is the ticket-shaped card that takes a fan into the Pass purchase flow, and shows the details of a Pass they already own. It covers a single team, a competition and a bundle of matches, and takes its colour from the team it belongs to.

Usage

Form

The ticket shape keeps its aspect ratio when it scales.

Long Team Names

If a team’s name does not fit on 2 lines, whether because of a small device or a particularly long name, the name will be truncated, and an ellipsis will be used to indicate that additional content has been cut off.

Loading

TBC

Design

Colour

  • Where possible Team Passes use Team colours from the scores API and can be manually overridden in Retool. At the moment Competition and Bundle colours must be manually set in Retool
  • If no colour is assigned via API or Retool, the default colour is used (see variant 3 in Variants section below)
  • To maintain accessibility against varying colours a calculation is made in the back-end to select either black or white text regardless of the device’s light or dark theme [add calculation details]

Appearance

Pass/Appearance

Item

Usage

1

Light Mode

2

Dark Mode

Anatomy

Pass/Anatomy

Item

Usage

1

Offer name

2

Team: team badge, competition badge, provider logo
Competition: competition badge, provider logo
Bundle: provider logo

3

Team: season
Competition: season
Bundle: number of matches included

4

CTA

5

Right Content
- Pre-purchase: Price
- Post-purchase: N/A

Variants

Pass/Variants

Item

Variant

1

Team Pass

2

Competition Pass

3

Bundle using default colour

4

Post-purchase