Overview
Long presentations need structure. Sections break your deck into logical groups — each with its own title slide and focused content. The pptx.dev API makes it easy to build multi-section presentations with clear visual hierarchy.
Creating Sections with Title Slides
Use title slide layouts as section dividers. Place a title slide before each group of content slides:
{
"title": "Annual Strategy Review",
"colorScheme": "slate-gray",
"fontScheme": "calibri",
"slides": [
{
"layout": "title-center",
"content": {
"heading": "Annual Strategy Review",
"subheading": "March 2026"
}
},
{
"layout": "title-left-box",
"content": {
"heading": "Section 1: Financial Performance"
}
},
{
"layout": "number-4x-title-center",
"content": {
"heading": "Key Financials",
"items": [
{ "value": "$12M", "label": "Revenue" },
{ "value": "88%", "label": "Gross Margin" },
{ "value": "$2.1M", "label": "EBITDA" },
{ "value": "18mo", "label": "Runway" }
]
}
},
{
"layout": "chart-1x-title-center",
"content": {
"heading": "Revenue Trend",
"chart": {
"type": "LINE_WITH_MARKERS",
"categories": ["Q1", "Q2", "Q3", "Q4"],
"series": [{ "name": "Revenue ($M)", "values": [2.4, 2.8, 3.2, 3.6] }]
}
}
},
{
"layout": "title-left-box",
"content": {
"heading": "Section 2: Product Roadmap"
}
},
{
"layout": "list-3x-title-center",
"content": {
"heading": "Q2 Priorities",
"items": [
{ "heading": "Enterprise SSO", "body": "SAML + OIDC support" },
{ "heading": "API v2", "body": "Batch generation, webhooks" },
{ "heading": "Analytics Dashboard", "body": "Usage tracking and insights" }
]
}
},
{
"layout": "title-left-box",
"content": {
"heading": "Section 3: Next Steps"
}
},
{
"layout": "text-1x-center",
"content": {
"heading": "Key Decision",
"body": "Approve Q2 budget allocation and headcount plan."
}
}
]
}
Section Divider Patterns
| Pattern | Layout | Effect |
|---|---|---|
| Boxed divider | title-left-box |
Section title in a colored box |
| Clean divider | title-center |
Centered section title on blank slide |
| Image divider | title-center-slideimage |
Section title over a background image |
| Minimal divider | text-1x-center |
Short section intro as body text |
Using Narratives for Structure
Narratives automatically provide section structure. For example, the quarterly-review narrative creates a natural flow:
- KPIs section (chart slides)
- Risks section (list slides)
Use narratives when you want the API to determine the optimal section order.
Structuring Tips
- One idea per section. Each section should have a clear theme.
- Use consistent divider layouts. Pick one divider style and use it throughout.
- Limit sections to 3-5. More than that and the audience loses the thread.
- Include a section summary. End each section with a text slide that recaps the key takeaway.
Next Steps
- Choose narratives for automatic structuring
- Style dividers with color schemes
- Browse title layouts for section openers