---
title: "conversation"
description: "A chat transcript of two to four messages, with each side named, under a title that states what the exchange shows."
---

> Documentation Index
> Fetch the complete documentation index at: https://sandrinodm.github.io/deckster/llms.txt
> Use this file to discover all available pages before exploring further.

# conversation

The `conversation` layout sets a short chat transcript of two to four messages, with each speaker named, under a title that states what the exchange shows. Use it for a customer exchange, an assistant interaction or a handover, in the speakers' own words.

> **New in v0.6.0**
>
> The `conversation` layout needs `@deckster/cli` 0.6.0 or later. In 0.5.0, `deck lint` reports `layout: There is no "conversation" layout.`

## Example

[Live slide: "A handover ends with proof at the door", slide 112 of the lookbook deck](https://sandrinodm.github.io/deckster/decks/lookbook/#/conversation-handover)

`decks/lookbook/slides/conversation-handover.mdx`:

```mdx
---
layout: conversation
title: A handover ends with proof at the door
eyebrow: Inside the loop
surface: accent
reveal: true
budget: 50s
messages:
  - name: Odile Ferrand
    role: Brightloaf
    side: left
    text: The loaf is packed. What happens next?
  - name: Wrenhaul
    role: Merchant support
    side: right
    text: Flock batches drops into loops every 90 seconds.
  - name: Odile Ferrand
    role: Brightloaf
    side: left
    text: Can the recipient follow the rider, and how do I know the loaf reached the door?
  - name: Wrenhaul
    role: Merchant support
    side: right
    text: Track shows the rider and minutes to go. A check at the door sends drop.delivered back to the shop.
---

One parcel, one door, one promised window.

<Footnote>Illustrative exchange; Wrenhaul and Brightloaf Bakery are fictional.</Footnote>

<Notes>
`conversation` with four messages, speaker `role` labels and `reveal: true` on accent; use it to walk a room through an exchange, one turn per click.
[click] The loaf is ready. [click] Flock batches the waiting drops every ninety seconds. [click] Odile asks about visibility and proof. [click] Track follows the rider; the check at the door closes the loop and sends the event back to the shop.
</Notes>
```

Each turn in `messages:` has a `name`, a `side` and the `text`. Messages on `side: left` are neutral panels. Messages on `side: right` are our side, the lit panels, and are set further right; on an `accent` surface, as here, they take the inverse surface. The optional `role` appears under a speaker's name on their first message only, which is why "Brightloaf" and "Merchant support" show once. `reveal: true` brings in one message per click, and the final transcript stays in place for static slides and exports. The title is about the right-hand replies, as the layout asks.

*Slide still: Two message panels in staggered rows under the title: a pale panel on the left from Odile Ferrand asking whether the loaf can reach the door within the hour, and a terracotta panel set further right from Wrenhaul answering with a same-hour window. Both are in large type, with the speaker's name in a column on the left of each panel.* [Open the slide](https://sandrinodm.github.io/deckster/decks/lookbook/#/conversation-window)

A short exchange grows in type to fill the room. This one has two messages, no roles and no context line, and the speaker's name stays in its own column.

## When to use it

- **Two to four messages.** Split a longer exchange across slides. A `name` takes up to 18 characters, a `role` up to 20 and a `text` up to 112. The title takes up to 50 characters, the body up to 14 words and the footnote up to 16.
- **Our side on the right.** `side: right` is the side your talk speaks for, so write the title about those replies. The names and the left and right positions tell the sides apart, so colour never has to.
- **One paragraph per message.** Whitespace in `text` is collapsed, so a line break inside a message does not start a new paragraph.
- **Say whether it is staged.** The footnote is for "a source or caveat on the bottom line, such as whether the exchange is staged", as in "Illustrative exchange; Wrenhaul and Brightloaf Bakery are fictional."
- **Walk through it one turn at a time** with `reveal: true`, and put a `[click]` cue for each message in the notes. See [builds](https://sandrinodm.github.io/deckster/write-slides/builds/).
- **Use another layout when there is no dialogue.** [`quote`](https://sandrinodm.github.io/deckster/reference/layouts/quote/) holds one person's testimony, [`steps`](https://sandrinodm.github.io/deckster/reference/layouts/steps/) a process, [`proof`](https://sandrinodm.github.io/deckster/reference/layouts/proof/) a customer result with numbers, and a sequence [`diagram`](https://sandrinodm.github.io/deckster/reference/layouts/diagram/) the technical messages between systems.

## Reference

Frontmatter: `layout: conversation`; surface: the deck's default; title: required, 50 characters at most; PowerPoint: title-only slide.

A chat transcript of two to four messages under a title that states what the exchange demonstrates. Write each turn in `messages:` with `name`, `side` (left or right) and `text`, plus an optional `role`. Left panels are neutral; right panels are our side on the lit surface (accent, or inverse on accent and gradient slides). Make the title about the right-hand replies. Speaker names and roles sit in a separate column at every size. Short exchanges grow in type to fill the region. Write each message as one paragraph; whitespace is collapsed. A speaker’s optional role appears on their first message. Speaker names and alignment identify the sides without relying on colour. `reveal: true` brings messages in one per click, keeping the final transcript in place for static slides and exports. Use it to show a customer exchange, an assistant interaction or a handover in the speakers' own words. Use quote for one person's testimony, steps for a process without dialogue, proof for a customer result with numbers, and a sequence diagram for technical messages between systems.

*Slide still (a lookbook slide in this layout, not the example below): A slide in the conversation layout: The window is agreed before the rider leaves.* [Open the slide](https://sandrinodm.github.io/deckster/decks/lookbook/#/conversation-window)

**Slots**

| Slot | Required | Takes | Budget | What goes in it |
| --- | --- | --- | --- | --- |
| `body` | no | text | 14 words | One sentence of context under the title. Put the transcript in `messages:`. |
| `<Footnote>` | no | text | 16 words | A source or caveat on the bottom line, such as whether the exchange is staged. |

**Frontmatter fields**

| Field | Values | How to use it |
| --- | --- | --- |
| `eyebrow` | text | Write a few words of at most 40 characters, for example `eyebrow: Budget committee`, or leave it out. |
| `messages` (required) | text | List 2 to 4 messages in reading order. Each needs `name` (up to 18 characters), `side: left` or `side: right` (our side), and `text` (up to 112 characters). Write each message as one paragraph; whitespace is collapsed. Optionally add `role` (up to 20 characters), such as Customer or Assistant; shown on each speaker’s first message. Split longer exchanges across slides. |
| `reveal` | `true`, `false` (default) | Write `reveal: true` to show the items one per step, in order, or leave it out to show them all at once. |
| `chrome` | `true` (default), `false` | Write `chrome: false` to hide the page number, logo and progress bar on this slide, or `chrome: true` to show them. |

**Example**

```mdx
---
layout: conversation
title: A request ends with a planting date
eyebrow: Resident services
messages:
  - name: Maya
    role: Resident
    side: left
    text: "Can our street get a shade tree?"
  - name: Dana
    role: Programme lead
    side: right
    text: "Yes. We survey the pavement, then book the next planting season."
---

The resident gets a next step in the same exchange.

<Footnote>Illustrative exchange from the canopy programme.</Footnote>

<Notes>
Read the request, then the reply: the answer gives the resident something to act on.
</Notes>
```

## Common mistakes

- **A fifth message.** The schema stops at four:

  ```console
  $ deck lint launch-review
  decks/launch-review/slides/c-five.mdx
    error   schema (c-five): messages: Expected at most 4 messages, got a list of 5 items.
            Fix: List 2 to 4 messages in reading order. Each needs `name` (up to 18 characters), `side: left` or `side: right` (our side), and `text` (up to 112 characters). Write each message as one paragraph; whitespace is collapsed. Optionally add `role` (up to 20 characters), such as Customer or Assistant; shown on each speaker’s first message. Split longer exchanges across slides.

  launch-review: 1 error, 0 warnings.
  ```

- **A side that is not left or right.** `side: center` is a `schema` error: `messages[1].side: Expected "left" | "right", got "center".`
- **Expecting the role on every message.** A speaker's `role` is shown on their first message only. Speakers are matched by `name`, so spell it the same each time.
- **A title about the question.** The right-hand messages are the point. "A handover ends with proof at the door" names what the replies show; "A merchant asks about delivery" does not.

## Related layouts

- [`quote`](https://sandrinodm.github.io/deckster/reference/layouts/quote/): one person's testimony, with the whole stage.
- [`steps`](https://sandrinodm.github.io/deckster/reference/layouts/steps/): a process with no dialogue.
- [`proof`](https://sandrinodm.github.io/deckster/reference/layouts/proof/): a customer result with numbers.
- [`diagram`](https://sandrinodm.github.io/deckster/reference/layouts/diagram/): a sequence diagram for technical messages between systems.

Source: https://sandrinodm.github.io/deckster/reference/layouts/conversation/index.mdx
