SlideForge

Authoring

Layouts and components

Six layouts compose a small set of React components that emit predictable DOM for reliable conversion.

Choosing a layout

Keep one main idea per slide. Split crowded slides instead of shrinking text.

Layouts
layoutUse for
coverOpening slide with a large title and optional author
contentAn explanation with paragraphs, lists, and images
two-columnsComparisons such as before and after
cardsUp to six short parallel ideas
tableCompact grids of text
chartSimple nonnegative values, optionally with an explanation column

Components

Components are exported from the package root. They emit markup only; renderPresentation supplies the stylesheet, theme, font, and fixed canvas.

Components
ComponentOutput
SlideFull slide frame with title, content, footer, and notes
SlideTitle · SlideSubtitleHeader with heading and subtitle
SlideContent · SlideColumnsContent region and equal two-column grid
SlideCardTitled card
SlideImage · SlideTableImage figure with caption, semantic table
SlideChartHorizontal HTML/CSS bars with labels and values
SlideFooterFooter text and slide number

Custom trusted HTML

Give each slide a fixed 1280 × 720 box marked with data-pptx="slide". Keep text and simple fills as DOM and CSS when editability matters. Mark intentional decorative overlap so the overlap check skips it.

<section data-pptx="slide" style="width:1280px;height:720px">
  <h1>Editable title</h1>
  <div data-pptx-allow-overlap="true">…decorative layers…</div>
</section>