The live room
Every deck that talks to a room server has a live room: one per deck, shared by the presenter, the projector and every phone. On deck.kadal.cc a published deck’s room is created for you; you can also host one yourself. For the whole flow of a talk, from the join code to the results, see Give a talk with a live audience.
Joining
Section titled “Joining”Put <QrJoin /> on a slide (or show the QR from the presenter view’s Room tab). The audience
scans it, or opens /join, and sees:
- the deck at your slide, in a stage-exact mirror (same scale, backgrounds and fitting as the projector), which they can tap to fill the screen sideways;
- buttons to react, ask and upvote, answer polls and quizzes, set the pace, raise a hand and bookmark a slide (bookmarks stay on their phone);
- your notes, when you share them.
Nobody installs anything or signs in; a nickname is optional and only shows on the quiz leaderboard. How many phones can be in a room at once depends on the plan; see pricing.
Following and roaming
Section titled “Following and roaming”A viewer who opens a live deck starts in step with you and is shown nothing about it: the deck simply moves. The moment they move themselves, by any means (a key, a swipe, the overview, search, a link), they stop following, and nothing moves them again: you can step through the whole deck and they stay where they stopped reading. A pill then offers Follow the presenter, which jumps them to you and puts them back in step.
What still reaches a viewer who is reading on their own: your drawings (on the slide they were drawn on), confetti, a shared term card (only on its own slide) and blackout. What does not: the laser and the spotlight, which point at a place on your slide and mean nothing on any other.
Live components
Section titled “Live components”<QrJoin caption="Scan to vote and ask questions" /><Presence /><Reactions />
<Poll id="lunch" question="Where should the team lunch be?" options={["The noodle bar", "The taco truck", "The park", "Order in"]}/><Poll id="pace-check" kind="rating" scale={5} question="How is the pace so far?" /><WordCloud id="oneword" question="One word for how this feels" />
<Quiz id="q1" question="Which separator starts a vertical slide?" options={["---", "----", "***", "==="]} correct={1} seconds={20}/><Leaderboard top={5} />
<Questions limit={5} /><Pace />| Component | What it does | Options |
|---|---|---|
<QrJoin /> |
the QR code and short link to /join |
size (pixels, default 260), caption |
<Presence /> |
how many people are following | |
<Reactions /> |
the reaction bar: 👏 🔥 ❤️ 😂 🤯 👀 🙋 💡 float across every screen, with session totals | |
<Poll /> |
a poll the presenter opens, closes and resets | id, question, options, kind, scale, liveResults |
<WordCloud /> |
a words poll drawn as a cloud: one-word answers, sized by how many gave them |
id, question |
<Quiz /> |
a timed question; answers score by speed, under a nickname | id, question, options, correct, seconds |
<Leaderboard /> |
the scores across every quiz in the talk | top (default 8) |
<Questions /> |
the audience’s questions, most upvoted first; the presenter marks them answered | limit (default 6) |
<Pace /> |
the pace gauge: how many said too slow, how many too fast |
kind is one of:
kind |
What people do |
|---|---|
choice (default) |
pick one of options |
multi |
pick any number of options |
rating |
pick a number from 1 to scale (default 5) |
words |
type a word or two (the same as <WordCloud>) |
id must be unique in the deck: the room keeps results under it. Results show as they come in;
liveResults={false} shows them only once the poll is closed. The presenter’s copy of the slide has
Open/Close and Reset buttons on the poll, and the presenter view’s Polls tab lists
every poll and quiz.
Quizzes
Section titled “Quizzes”correct is the position of the right option counting from 0, and seconds the time limit
(default 20). The presenter’s Start opens the quiz and starts the countdown on every phone;
Reveal, once it has closed, shows the right answer and the points. Faster right answers score
more.
Word cloud
Section titled “Word cloud”<WordCloud id question /> asks for a word or two and draws the answers as a cloud, each word sized
by how many people gave it, up to the 40 most common.
Questions and hands
Section titled “Questions and hands”The audience page has an ask box; each question can be upvoted once per person. The presenter view’s Questions tab lists them most votes first, to mark answered or delete. Raised hands show as a count in the Room tab and as a badge on the folded sidebar.
Rules the room enforces
Section titled “Rules the room enforces”Every viewer’s messages are throttled per person, and anything only a presenter may do (moving the deck, opening a poll, drawing for everyone) is dropped when a viewer sends it. A vote or an upvote counts once per person.
Switch features off in the headmatter: reactions: false, qa: false, polls: false, or
drawings: { enabled: false }. audienceNotes: true shows every slide’s notes on the audience page,
which is useful after the talk.
Without a room
Section titled “Without a room”On your laptop (kadal-deck dev with live: { api: null }, as the starter has it) and in exports,
live components show an offline version: a poll lists its options with “offline · 0 answers”, a quiz
says “ready”, <Reactions> shows its buttons, and <Presence> shows nothing. You can write and
rehearse the whole talk this way.
To try a room server you run while developing, start the dev server with its address:
KADAL_DECK_API=http://localhost:8797 npm run dev proxies /api to it and switches the room on
(the starter’s vite.config.ts does this).
Sessions and what is kept
Section titled “Sessions and what is kept”The presenter view’s Start session begins a session: its peak audience, questions, reactions and
poll results are saved while it runs and when it ends, so you can read them afterwards in /stats (or
the dashboard, on a hosted deck). The button reads Live while the session runs; click it to end.
The room’s own state survives a reload and a quiet period, so a phone that sleeps through a slide
comes back in step.
Bot checks
Section titled “Bot checks”A room can require a Cloudflare Turnstile check before a viewer connects: set live.turnstile to your
Turnstile site key, and give the room server the matching secret.