FreeToday

Today's free times on a studio's booking page, as chips under a quiet label. On the live page a tap starts the conversation; in setup's preview the same chips are drawn inert. Nothing shows when there are none.

Times

Free today

Any number

The chips share one width, the widest time's, and fill as few rows as they need, as full as each other: four are two by two where only three fit, five are three over two, and a short last row sits centred. FreeToday measures its own width (a container query): two a row under 16rem, three from 16rem, four from 20rem. Last below: four in a phone-wide box.

Free today

Free today

Free today

Waiting

While a reply is on its way, the chips wait.

Free today

API reference

PropTypeDefaultDescription
timesstring[]—HH:mm in the studio's own time; up to four that follow on from the day's bookings (venue-front on the live page, previewSlots in setup).
labelstring"Free today"In the page's language.
onPick(time: string) => void—A chip was tapped.
disabledbooleanfalseA reply is on its way.
className / stylestring / CSSProperties—Layout, or an entrance's delay.

Guidelines

  • Only real free times: a chip never offers a time the studio can't take.