App UI kits › Touchline › Availability

Availability

In, maybe or out with a reason; the squad bar fills towards eleven and the keeper is counted on her own.

Availability is a screen from Touchline, an app ui kit with 11 screens: A grassroots football team app: drag the lineup onto a pitch, log the match from the touchline and the recap builds itself. Price: $5 for the whole pack.

Built with: three-way switch, squad bar, reasons.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Availability props

PropTypeDefaultDescription
darkbooleanLight by default; true gives the dark theme.
autoplayboolean
photosTlPhotos
onChange(r: { in: number; maybe: number; out: number }) => void

Methods on the ref

Use it in React

import TouchlineAvail from './TouchlineAvail';

<TouchlineAvail />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Touchline

Good for: Sports team app UI, UK (pounds).