API reference
Deck
The single root that contains every Slide in a presentation.
presentation.tsx
<Deck title="Quarterly update">
<Slide id="slide-01">...</Slide>
<Slide id="slide-02">...</Slide>
</Deck>Props reference
Keep these values literal and serializable so Canvas, Inspector, validation, and export can process them reliably.
| API | Property | Type / values | Required | Description |
|---|---|---|---|---|
| Deck | title | string | Yes | Deck title; a valid presentation renders one Deck root. |
| children | ReactNode | Yes | One or more Slide children. |
Required prop
title is required and names the deck. A valid presentation renders exactly one Deck root.
Children
Place one or more Slide elements inside Deck. Do not nest another Deck or replace it with a generic HTML container.