Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA sheet to set adults, children and infants with steppers that enforce limits (at least one adult, a maximum total), a plain-language summary on the trigger and clear messages when a limit is reached. Use this when a phone booking flow asks how many of each kind of guest, with rules between them.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
Use it when a phone booking flow asks how many of each kind of guest, with rules between them.
Do not use it for a single quantity (use the quantity sheet) or free-text names.
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Default | Description |
|---|---|---|---|
max | number | 8 | Most guests in total. |
value | Guests | required | { adults, children, infants }. |
onValueChange | (guests: Guests) => void | required | Called when Done is pressed. |
The pattern ships with a Testing Library test (booking-guests-sheet.test.tsx) that drives it through roles and the keyboard.