App screenPro
Calendar
Wire it up
All optional. With none, it plays exactly as it does here and hands over to whoever touches it.
<Calendar
events={events}
people={people}
busy={busy}
onBook={(event) => {}}
onEventChange={(event) => {}}
onAsk={(text) => {}}
/>Your data
eventsThis week’s events: title, day from Monday, start and end in minutes, calendar, and who’s invited. Standups repeat every week.
CalEvent[]peopleWho you can ask for time with. Their names are what the assistant listens for.
{ name, hue }[]busyWhen those people are busy. The assistant schedules around it.
{ who, day, start, end }[]assistantWhat the AI is called, everywhere the screen names it.
string'Detent'productThe product’s name beside its mark.
string'Detent'What it tells you
onBookCalled with the event a person books from a suggestion.
(event: CalEvent) => voidonEventChangeCalled with an event a person adds, renames or moves. The script doesn’t call it.
(event: CalEvent) => voidonAskCalled with what a person asks the assistant.
(text: string) => voidEvery block also takes accent, the one colour everything in it derives from; autoplay, which plays the demo until someone touches it; and className.