Skip to content

split

Text beside a picture or the evidence for it: a title and a short paragraph or bullets on one side, a photo, chart, diagram, table or component on the other.

The split layout sets text beside a picture or the evidence for it: a title and a short paragraph or bullets on one side, and a photo, chart, diagram, table, video or component on the other. Use it when the point needs something to look at and a few sentences to explain it.

Example

lookbook / split-photo-left-bleedOpen full deck
decks/lookbook/slides/split-photo-left-bleed.mdxmdx
---
layout: split
title: People are home when the drop arrives
ratio: 7:5
side: left
bleed: true
budget: 30s
---

A van brings tomorrow's parcel to an empty house. A same-hour drop reaches people while they are still where they ordered it, and the rider hands it over at the door.

<Media>
  <Image
    src="../assets/scenes/handover.svg"
    alt="Aoife hands a warm Brightloaf bag to an older woman at her front door, the hall lit behind her and a cat at her feet"
    focal={[66, 50]}
  />
</Media>

<Caption>Stop 7 of 9: 14 Weir Street, flat 2, at 09:21.</Caption>

<Notes>
`split` with `ratio: 7:5`, `side: left` and `bleed: true`; use it when a picture sets the scene and should run off the edge of the slide.
Next-day delivery fails at the door because nobody is home. Within the hour, the person who ordered is still there: this is the loaf from Brightloaf, at 14 Weir Street at 09:21. That is why a missed handover is rare for us, and why eight in ten recipients choose the hour when we offer it.
</Notes>

Slide 36 of the lookbook deckView on GitHub

ratio: 7:5 gives the text seven of the twelve columns, side: left puts the picture on the left, and bleed: true runs it to the edges of the slide. With a bleed, the caption moves to the foot of the text column.

A split slide titled Two kinds of shop pay 59%, with a short paragraph on the left and, on the right, a donut chart of revenue by merchant type with two green slices and 59% in its centre.
lookbook / split-donutOpen in the deck

Anything but a photo is centred in its frame, not cropped: here a <Donut> at ratio: 5:7, which gives the chart the wider side.

When to use it

  • There is something to show. With nothing to show, use content. When the photo needs only one line of text, use image.
  • The text explains the media. A chart that stands alone with a one-line “so what” belongs on chart; split is for a chart that needs a paragraph beside it.
  • Pick the ratio by what matters more. ratio: shares the columns text:media, 1:1 (the default), 5:7 or 7:5, and side: puts the media left or right (the default).
  • Fit the text to the ratio. The narrower the text column, the less it holds: 5:7 takes the fewest words, three bullets and a shorter title, and bleed: true takes a few words more off. The reference below gives each limit.
  • Credit the media in <Caption>. A source for the text goes in <Footnote>.

Reference

Frontmatter
layout: split
Surface
the deck's default
Title
required, 44 characters at most
PowerPoint
two-content slide

Text beside a picture or the evidence for it: a title and a short paragraph or bullets on one side, a photo, chart, diagram, table or component on the other. ratio shares the columns (text:media, 1:1, 5:7 or 7:5), side puts the media left or right, and bleed: true runs a photo to the edges of the slide. Photos fill the frame in the brand image treatment; other media is centred in it and can fill it with height: 100%. Use content when there is nothing to show.

A slide in the split layout: Riders know their streets by name.
A lookbook slide in this layout, not the example belowlookbook / split-photo-right

Slots

SlotTakesBudgetWhat goes in it
bodyrequiredtext, bullets48 words, 4 bulletsThe text side: a short paragraph, up to four bullets, or a sentence and bullets. Set the takeaway in title:. The 5:7 column holds about 30 words.
<Media>requiredimage, chart, diagram, table, video, component—What the text points at: one <img> with alt text (imported from the deck's assets/ or served from its public/ folder), a chart, diagram, table or component. Photos fill the frame and are cropped to it; anything else is centred and may fill it with height: 100% (the frame is a size container, so 100cqh works too).
<Caption>text20 wordsA caption or credit for the media, in a short sentence.
<Footnote>text24 wordsA source or caveat on the bottom line of the text side.

Frontmatter fields

FieldValuesHow to use it
eyebrowtextWrite a few words of at most 40 characters, for example eyebrow: Budget committee, or leave it out.
ratio1:1 (default) 5:7 7:5Share the columns text:media with ratio: 1:1, ratio: 5:7 (wider media) or 7:5.
sideleft right (default)Put the media on the left or the right (the default).
bleedtrue false (default)Write bleed: true to run a photo to the slide edges, or leave it out to frame it.
treatmenttextName one of the brand's image treatments, for example treatment: plain (every brand has it) to show a screenshot, map or chart in its own colors; deck brand --json lists them under imagery.treatments.
chrometrue (default) falseWrite chrome: false to hide the page number, logo and progress bar on this slide, or chrome: true to show them.

Variants

  • ratio 1:1 — body: 40 words
  • ratio 5:7 — body: 30 words, 3 bullets; footnote: 16 words; title: 40 characters
  • bleed — caption: 14 words
  • bleed at 1:1 — body: 34 words
  • bleed at 7:5 — body: 42 words

Example

---
layout: split
title: Eastgate has a quarter of the shade
ratio: "5:7"
---

Tree crowns shade 9% of Eastgate at noon, against 34% in Riverside.

<Media>
  <svg viewBox="0 0 640 480" role="img" aria-label="Canopy cover by district: Riverside 34%,
  city average 21%, Eastgate 9%" style={{ width: "100%", height: "100%" }}>
    <rect x="40" y="88" width="150" height="352" fill="var(--brand-color-accent)" />
    <rect x="245" y="222" width="150" height="218" fill="var(--brand-color-muted)" />
    <rect x="450" y="347" width="150" height="93" fill="var(--brand-color-muted)" />
  </svg>
</Media>

<Caption>Canopy cover at noon: Riverside, city average, Eastgate.</Caption>

<Notes>
Point at the tallest bar first, then the shortest: the gap is the argument.
</Notes>

Common mistakes

  • Bullets that fit at 1:1 but not at 5:7. Narrowing the text column tightens its budget:

    $ deck lint launch-review
    decks/launch-review/slides/shade.mdx
      error   content-budget (shade): The body slot holds 4 bullets; its layout allows 3 (ratio 5:7).
              Fix: Cut it to the essentials, split the slide, move detail into speaker notes, or pick a layout made for more content (`deck layouts`).
    
    launch-review: 1 error, 0 warnings in 1 slide (1 step checked).
  • Leaving out ratio: and writing for the widest column. The default is 1:1, so a 44-word body is over budget: “The body slot holds 44 words; its layout allows 40 (ratio 1:1).”

  • The media outside <Media>. The slot is required; without it deck lint reports a schema error, “The split layout needs its media slot.”

  • A chart or diagram that sits small. Only photos fill the frame. Give other media height: 100% to fill it.

  • content: the same text with nothing beside it.
  • image: one photo across the whole slide with at most a line of text.
  • chart: one chart filling the slide, with a short “so what” in <Aside>.
  • screen: a product screen shown whole in a drawn frame, when the picture matters more than the text.

Images, video and the paths they take are on media.

Type to search…

↑↓ navigate↵ selectEsc close