Docs
How opf.gallery works
opf.gallery publishes reusable OPF design choices and editable presentations. Browse the default catalog, open a deck in the editor, or read its design records as JSON.
Company galleries and collections
Your organization can run this gallery on its own domain or use the same code for a dedicated hosted instance. Set OPF_GALLERY_ORIGIN to the gallery URL and OPF_GALLERY_NAME to its display name when building.
Put your design records in collection/catalog.json and the presentations you want to publish incollection/decks/*.opf.json. A deck can select an organization palette withorganization:estuary. Rebuild to publish the collection. Each downloaded presentation includes the records it uses.
Two audiences, one catalog
The gallery serves two co-equal audiences. Every page is designed for both.
Humans
Browse real presentation designs visually. Use named design choices as a shared vocabulary when describing what you want, to a colleague or to an AI agent.
AI agents
Query the catalog during presentation generation. The JSON endpoints expose design records and sample documents that agents can read and reuse.
The OPF contract
OPF (Open Presentation Format) is the open presentation format specified at openpresentation.org. An OPF document describes a presentation as a collection of named choices — “use the slate-gray color scheme, the aptos font scheme, the problem-solution narrative” — instead of a pile of raw pixels.
Those names need a canonical home. Somewhere an agent or a human can look them up and see what they mean. That’s the gallery.
Use the record ID shown in the OPF example when referencing a default. A gallery page can also describe a technique, such as an image treatment, without defining a catalog record.
Gallery dimensions
These sections cover default design records, OPF vocabulary and practical examples.
| Dimension | Covers |
|---|---|
| Layouts | 38 patterns by category |
| Color Schemes | 14 schemes by mood and industry |
| Font Schemes | 93 schemes plus 4 legacy slugs |
| Backgrounds | 6 styles with guidance |
| Narratives | 50 frameworks with beats |
| Charts | 28 chart choices |
| Themes | 3 composed references |
| Audiences | 16 profiles with generation hints |
| Tones | 7 voice profiles with cues |
| Purposes | 9 records with outcomes |
| Languages | 93 records with BCP-47 tags |
| Socials | 10 platforms with URL patterns |
| Headers & Footers | 10 slide number, date and legal patterns |
| Content Blocks | 32 copyable section snippets |
| Image Treatments | 15 crop, overlay and mask treatments |
For AI agents
The gallery is built to be consumed programmatically. Today you can rely on:
- Stable URL structure:
/{dimension}for index,/{dimension}/{slug}for detail. - Per-item metadata on every page: JSON-LD structured data, Open Graph tags, and canonical URLs.
sitemap.xmlenumerating every catalog page and how-to article.llms.txtdiscovery atopf.gallery/llms.txt.- JSON API routes per live dimension (e.g.
/api/layouts.json,/api/charts.json) with structured catalog data.
Full endpoint and registry-format documentation lives in the API & registry reference.
Catalog and local editing
- Catalog references. Gallery items describe named design choices. A deck names one by its id, and every OPF snippet here embeds the record it names under
catalogs.default, so the deck renders the same anywhere. Open an item in the editor to use it in a deck. - Local slide editing. The visual OPF editor supports OPF import, content and property edits, live preview, undo/redo, and PowerPoint export in your browser. Save OPF to keep your changes; OPF stays the source of truth. By default body text is exported one box per wrapped line, so editing a paragraph in PowerPoint does not reflow it; the opt-in native body mode (
bodyText: "native") writes one editable paragraph body per text region instead. Review exported slides in PowerPoint with the chosen fonts installed. - LibreOffice. Opening OPF's PPTX in LibreOffice Impress is experimental; OPF checks it nightly in LibreOffice 26.8 on Linux. With OPF's open fonts, or a
typefaces: "safe"export, text, lists, images, tables and common charts open complete and inside their boxes. Treemap, waterfall, funnel and box-and-whisker charts needcharts: "picture".
Rendering notes
- Table text. Table cell text asks for the body size (about 19 pt) instead of a fixed 12 pt, so a table no longer looks small beside the bullets. The whole table shrinks together toward
composition.minFontSizePxwhen its text and rows do not fit the box. A table cell style can setbold, so a number cell can be bold and still use its numberformat. - Slide tag. The tag (the small eyebrow above a title) follows
titleAlignment, like the title, so a layout that centres its content no longer centres the tag over a left-aligned title. A slide that setsdesign.contentAlignmentkeeps the tag on content alignment. - Color variants. A deck, or a single slide, can run on another background of its one color scheme with
design.variant(light1,light2,dark1ordark2; the object form reorders the accents), as PowerPoint's color map does. Dark is a variant of a theme, not a theme of its own:{ "design": { "theme": "classic", "variant": "dark1" } }. Picture and gradient backgrounds take aappearanceofdarkorlightinstead. The theme pages list each theme's variants. - Version. This site uses core 0.37.1.
Ecosystem
opf.gallery sits alongside a small family of tools that all speak OPF:
openpresentation.org
The open format: specification, JSON Schemas, CLI and agent skills, published by OpenPresentation. The gallery package supplies the default catalog.
openpresentation.com
The separate hosted developer-platform project for presentation compute, storage, AI, APIs and MCP.
pptx.gallery
The companion gallery for PowerPoint.