Skip to content
UI Kit
Accent color

Sports club

For clubs and teams. The next match with countdown, fixtures and results, the league table, the squad and membership with departments.

5 variants
Switch category

Sports club

Next match

Both crests fly in from their side, a countdown ticks, tickets and calendar below, the last meetings with results next to it.

Open in Studio

Fixtures and results

Upcoming matches and results on a gliding switch. The next match stands out, results are tinted as win, draw or loss.

Open in Studio

League table

Zones for promotion and relegation, your club highlighted, form as dots, points with a bar that grows. On phones only the columns that matter.

Open in Studio

Squad

Players by position on a gliding switch. Each card shows number and name over the portrait and turns to stats on a tap.

Open in Studio

Membership

Tiers to pick, departments to add, the fee yearly or monthly on a gliding switch, what the tier includes and the admission fee.

Open in Studio

Details

What Sports club brings along, read from the registry and the source.

Variants
5
Version
1.0.0 · since 1.1.0
File
components/ui/sports-club.tsx
Brings along
utilskitbuttoniconrevealsectionmotion
npm packages
None
Languages
English and German, 47 texts of its own

Props

The SportsClubProps interface from components/ui/sports-club.tsx, with the comments from the code.

  • variantoptional
    SportsClubVariant

    next-matchfixturestablesquadmembership

  • eyebrowoptional
    React.ReactNode
  • titleoptional
    React.ReactNode
  • descriptionoptional
    React.ReactNode
  • matchoptional
    ClubMatch

    next-match: the match, and earlier meetings

  • historyoptional
    ClubMatch[]
  • nowoptional
    string

    next-match: the moment to count from, ISO. Defaults to the browser clock.

  • matchesoptional
    ClubMatch[]

    fixtures

  • tableoptional
    ClubTableRow[]

    table: rows in order, and how many places go up or down

  • promotionoptional
    number
  • relegationoptional
    number
  • playersoptional
    ClubPlayer[]

    squad

  • tiersoptional
    ClubTier[]

    membership

  • departmentsoptional
    { id: string; label: string; price: number; icon?: IconName }[]
  • admissionFeeoptional
    number
  • currencyoptional
    string

Built-in texts

Sports club writes these texts itself. The language follows the KitProvider, the labels prop replaces single ones.

Show all 47 texts
kickoffEnglish Kick-offGerman Anstoß
daysEnglish daysGerman Tage
hoursEnglish hoursGerman Std.
minutesEnglish minGerman Min.
secondsEnglish secGerman Sek.
ticketsEnglish Get ticketsGerman Tickets sichern
calendarEnglish Add to calendarGerman In den Kalender
h2hEnglish Last meetingsGerman Letzte Duelle
upcomingEnglish UpcomingGerman Kommende
resultsEnglish ResultsGerman Ergebnisse
showEnglish ShowGerman Zeigen
homeEnglish HomeGerman Heim
awayEnglish AwayGerman Auswärts
winEnglish WinGerman Sieg
drawEnglish DrawGerman Unentschieden
lossEnglish LossGerman Niederlage
vsEnglish againstGerman gegen
versusEnglish vsGerman gegen
posEnglish Pos.German Pl.
teamEnglish TeamGerman Mannschaft
playedEnglish PGerman Sp.
playedLongEnglish PlayedGerman Spiele
wEnglish WGerman S
dEnglish DGerman U
lEnglish LGerman N
goalsEnglish GoalsGerman Tore
diffEnglish GDGerman Diff.
pointsEnglish PtsGerman Pkt.
pointsLongEnglish PointsGerman Punkte
formEnglish FormGerman Form
promotionEnglish PromotionGerman Aufstieg
relegationEnglish RelegationGerman Abstieg
positionsEnglish PositionsGerman Positionen
allEnglish AllGerman Alle
sinceEnglish Since {year}German Seit {year}
flipEnglish Show stats for {name}German Statistik von {name} zeigen
perYearEnglish / yearGerman / Jahr
perMonthEnglish / monthGerman / Monat
yearlyEnglish YearlyGerman Jährlich
monthlyEnglish MonthlyGerman Monatlich
departmentsEnglish Add departmentsGerman Abteilungen dazu
deptFeeEnglish +{price} per yearGerman +{price} pro Jahr
includedEnglish IncludedGerman Inklusive
joinEnglish Become a memberGerman Mitglied werden
totalEnglish Your feeGerman Dein Beitrag
entryEnglish One-time admission fee {price}German Einmalige Aufnahmegebühr {price}
popularEnglish Most chosenGerman Am häufigsten gewählt

Accessibility

Read from the source of the component.

  • Sports club handles the keys Arrow up, Arrow down, Arrow left, Arrow right and Home itself.
  • Sets aria-checked, aria-label, aria-live and aria-pressed, so screen readers announce purpose and state.
  • Uses the roles radio and radiogroup.
  • Announces changes through a live region without moving focus.
  • Every field has a label, visible or for screen readers.
  • Adds text for screen readers where icons and graphics stand alone.
  • Shows a visible focus ring when used with the keyboard.
  • The server renders the starting state in full, JavaScript only adds the interaction.

Motion

  • Brings animations of its own, calmly timed and without wobble.
  • With reduced motion (prefers-reduced-motion) it stays still. 5 places in the code switch motion off then.

Frequent questions

How do I install Sports club?

With aiw add @ai-website/sports-club. The command puts components/ui/sports-club.tsx into your project, the code is yours from then on. It brings along button, icon, reveal, section and motion. It needs no further npm packages.

Which variants does Sports club have?

5 variants, Next match, Fixtures and results, League table, Squad and Membership. You pick one with the variant prop, for example variant="fixtures".

Can I translate the texts of Sports club?

Yes. Sports club carries 47 texts of its own in English and German, such as “Kick-off”, “days” and “hours”. The language follows the KitProvider, single texts change through the labels prop.

Can an AI assistant build with Sports club?

Yes. Through the MCP server of the aiw CLI, Claude, Cursor, GitHub Copilot, Windsurf, Codex and Gemini find Sports club with aiw_components and install it with aiw_add @ai-website/sports-club. Name the variant in your prompt, for example variant="next-match", and the assistant writes your content straight into the props.

Can I adjust Sports club without code?

Yes, in the Studio. All 5 variants are editable there, texts, lists and switches. The Studio writes the matching SportsClub code to copy.

Often searched

Jump to

Copied to the clipboard