A slide is not a wide web page
Web pages support scrolling and zooming at close range. Slides must work on a wall, from the back row, within the speaker's timing. These examples use the true 980 by 552 canvas and scale it as one unit, preserving every proportion.
Layouts, components and export instructions are in slides/README.md. This page explains the visual rules and the projection constraints behind them.
The canvas is fixed
The web scale changes with the viewport through clamp(). A slide has no breakpoints. Its 16:9 canvas is fixed at 980 by 552 points, so slide type uses absolute sizes.
Example data · Dealer presentation
Choose workwear by specification.
Body text uses 26 canvas points, about 25.5pt on a standard 16:9 slide.
One canvas point is one CSS pixel. Slidev exports at 96dpi to a 10.208 × 5.740 inch PPTX page, but PowerPoint scales that file to the presentation size. Measure type as presented, not from the export file alone.
On a standard 13.333 inch 16:9 slide, one canvas point is about 0.98pt. Body at 26 reads as about 25.5pt, heading-1 at 44 reads as 43pt, and display-1 at 66 reads as 64.5pt. D32 corrected the earlier scale, which used the export-file conversion and rendered one third too large.
Do not use the web scale on slides. body-sm is 14px on web, about 13.7pt when presented. Use the dedicated slide scale below.
Slide type scale
Each token includes its canvas size, presented size and role. Do not set slide text below the marked floor.
| Token | Canvas points | Presented pt | Role | Where |
|---|---|---|---|---|
| type.slide.display-1 | 64 | 62.7 | Chapter display | section (on inverse surface) |
| type.slide.display-2 | 58 | 56.8 | Closing, key figures | closing, id-stat |
| type.slide.display-3 | 52 | 51.0 | Title display | title |
| type.slide.display-4 | 44 | 43.1 | Quote | quote |
| type.slide.heading-1 | 36 | 35.3 | h1 | most layouts |
| type.slide.statement | 34 | 33.3 | Point statement, agenda heading | points, agenda |
| type.slide.heading-2 | 24 | 23.5 | h1 in dense layouts, h2 | comparison, pricing, chart |
| type.slide.heading-3 | 20 | 19.6 | h3 | subheadings |
| type.slide.body | 16 | 15.7 | Body text | set on .slidev-layout |
| type.slide.dense | 14 | 13.7 | Dense lists and insight lines | product, comparison, chart |
| type.slide.min | 12 | 11.8 | Floor, overlines, footer and spec marks | --slide-min, identifiers and size codes |
The type floor is mandatory
type.slide.min is 12 canvas points, about 11.8pt when presented. The floor is set by reading distance, not by habit: these decks are opened on a laptop or sent as a PDF, at 40 to 70 cm, not projected across a hall. Raise the whole ladder one step for a room, never a single slide. If content does not fit at the floor, edit it or divide it across slides.
Three points for the dealer
- Example data: size range
- Example data: logo service
- Permanent contact person
Three points for the dealer
- Example data: a long and unsupported stock statement
- Example data: logo service, embroidered or printed, with digital approval before production
- Permanent contact person with knowledge of your product range and your agreements
- Example data: a long and unsupported returns statement
- Example data: a long and unsupported portal statement
The incorrect example uses 16 canvas points, below the 22-point floor. Judge slides at presentation distance, not only on the authoring screen.
Keep content clear of the footer
The sender and slide number are absolutely positioned. The canvas bottom padding reserves their space. Content that enters this area overlaps the footer.
Example content
Verified delivery terms appear here when supplied by the approved source.
Example content
Example data: this unsupported delivery paragraph is intentionally too long and enters the footer area. Replace it with verified terms before use.
One point per slide, maximum six elements
Give each slide one dominant point. Split compound arguments across slides. Grid layouts stop at six cells, key figures at three, and lists at five items. Move additional detail to a handout.
One source keeps store, portal and slides aligned.
Range, delivery, logo and pricing
Product range and sector requirements
Delivery terms and tracking
Logo methods and approval
Staggered prices from 50 pcs., dealer discount on top, everything shown excl. VAT
Six web patterns that do not work on a projector
These web patterns need a different treatment on slides because the viewing distance and medium change.
Hairline borders
A 1-point web border can disappear in projection. Use surfaces, spacing or a 2-point rule to separate slide content.
Muted text in long passages
Muted ink passes AA on screen, but projection reduces effective contrast. Reserve it for one supporting line, not the main message.
Dense tables
Keep every row at or above the 22-point floor. Move the remaining table data to an appendix.
Hover states
A projected slide has no hover interaction. Put chart values and explanations directly on the marks.
Animated data
Data does not animate. Motion competes with the speaker and does not survive a PDF export.
Captions
Set a necessary caption at the 22-point floor. Otherwise move that detail to the speaker notes.
One source exports three formats
The same slides produce the web view, PDF and PowerPoint exports. Do not place meaning behind interaction, because exports are static.
Charts render as SVG in the DOM for export. A table carries the same data for screen readers and copying.
Choose a layout by task
Fourteen layouts each provide one dominant content area. Choose by communication task.
| Layout | Use |
|---|---|
| title | Open the deck with the display lockup and red closing line. |
| section | Change chapter. Inverse reason, large number, one word. |
| point | Present one statement and nothing else. |
| quote | One statement with a source. Never without a name. |
| data | Up to three key figures. Inter with tabular-nums, label below in mono. |
| chart | Present one chart with its conclusion beside it. |
| comparison | Two columns that actually need to be compared. Not two subjects. |
| product | Present one product with its item number. |
| pricing | Present one price table with its VAT note in the footer. |
| team | Present up to six people. |
| agenda | Numbered sequence. Only when the order is real (D20). |
| image-full | Full image, text lower left on scrim. |
| closing | Action and contact. The deck never ends with "thank you". |
| default | Ordinary content when none of the above fits. |