- What is open-slide (open-slide.dev)? A React-based presentation framework written by AI agents like Claude Code. Full guide: setup, skills, presentation mode, and HTML/PDF export.
open-slide has accumulated over 5,000 GitHub stars, is distributed under an open-source license (MIT), and works with Claude Code, Cursor, Gemini CLI, Windsurf, Zed, and more.
Presentations are essentially visual code, and AI agents excel at writing code. open-slide is the missing runtime that turns a request like "make me a presentation about X" into a polished, presentation-ready deck, without ever leaving your chat with the agent.
In this article we'll cover what open-slide is, how it works, how it differs from other presentation tools, and how to get started step by step.
What is open-slide?
open-slide is a React-based presentation framework written by AI agents. You describe a presentation in natural language, and your coding agent writes the React. The framework handles the canvas, scaling, navigation, hot reload, presentation mode, and export, so the agent can focus on content.
The core idea is simple: a slide is a file. Instead of a limited domain-specific language (DSL) or a Markdown pipeline, each slide is a plain React component. If you can build it in React, it can be a slide.
The project was developed by Yiwei (1weiho), is MIT-licensed, and has accumulated over 5,000 stars on GitHub. It is available as two npm packages: @open-slide/core (the runtime) and @open-slide/cli (the setup tool).
How does the 1920×1080 canvas work?
Every slide is rendered into a fixed 1920×1080 pixel box. The runtime scales that box uniformly to fit the screen, so the same slide looks identical on a phone, a 4K monitor, and a projector.
The practical implication: every pixel coordinate you write is the coordinate that will actually be rendered. The preview, presentation mode, and exported PDF stay in perfect sync. The constants are even exposed for use:
import { CANVAS_WIDTH, CANVAS_HEIGHT } from '@open-slide/core';
// 1920 × 1080
Inside a slide, two layout approaches work well: absolute coordinates (position: absolute with pixel values, predictable and easy for an agent to write) and flex/grid centering for flowing content. Responsive breakpoints are best avoided, since the canvas is fixed.
What does a slide look like in code?
A slide is a React component that fills the canvas. A full deck lives under slides/<id>/index.tsx, with its assets sitting alongside it in slides/<id>/assets/. Here is a minimal example:
import type { Page, SlideMeta } from '@open-slide/core';
const Cover: Page = () => (
<div style={{ width: '100%', height: '100%', background: '#08090a', color: '#f7f8f8' }}>
<h1 style={{ fontSize: 188, letterSpacing: '-0.04em' }}>
Hello, <em style={{ color: '#7170ff' }}>open-slide</em>.
</h1>
</div>
);
export const meta: SlideMeta = { title: 'Getting started', theme: 'corporate' };
export default [Cover] satisfies Page[];
Two rules only: the default export is an array of components (one per page), and each component fills its container (width: '100%' / height: '100%').
How do you get started? (Setup in three steps)
Three steps from an empty folder to a live, editable slide, all starting from a single command with no configuration:
- Scaffold, set up the environment. Run
npx @open-slide/cli init my-deck. This creates the workspace that all future decks will live in. - Author, ask the agent. Start the dev server and ask the agent (for example,
/create-slide for Q2 roadmap). The agent drafts the pages as React components. - Iterate, edit, annotate, apply. Click any element to fine-tune it visually, or leave a comment that the agent applies via
/apply-comments.
What are open-slide Skills?
Skills are built-in commands that any AI agent session can invoke to perform defined presentation tasks. The generated workspace comes with these skills pre-configured for Claude Code.
| Skill | What it does |
|---|---|
/create-slide | Creates a new slide or deck from a natural-language description |
/slide-authoring | The writing and design rules the agent applies when building slides |
/apply-comments | Reads the comments you left on the canvas and applies them in code |
/create-theme | Creates a new design theme for the deck |
/current-slide | Gives the agent context about the currently active slide |
What is the Inspector?
The Inspector is the visual editor that runs inside the dev server in the browser, and it supports two ways of working:
- Comments the agent applies: click a block, leave a comment, and the Inspector attaches it as an
@slide-commentmarker in the source code. Running/apply-commentscauses the agent to edit exactly what you flagged. - Direct visual editing: enable inspect mode, click an element, and change the text, font, color, or swap an image, directly on the canvas. Changes accumulate until you click Save.
Asset manager and logo library
open-slide includes a built-in asset manager for handling images and files within the deck. You drag images directly into the presentation and rename or replace them from the same panel. Also integrated is the svgl library with over 1,500 brand logos: search for a logo from within the editor and the SVG file lands in the assets folder ready to import.
Presentation mode and HTML/PDF export
open-slide includes a professional presentation mode: full-screen playback, presenter view, speaker notes, and a timer.
For sharing, the open-slide build command generates a static site under dist/. The output is zero-runtime, everything rendered client-side, no server required, and it can be deployed to any host (Vercel, Cloudflare Pages, Netlify, GitHub Pages). To export a PDF, choose Export → PDF from the toolbar. The runtime sets the paper size to 1920×1080 landscape, so each slide is exactly one page.
How is open-slide different from Reveal.js, Slidev, or PowerPoint?
The fundamental difference is total design freedom and an agent-first workflow. With Markdown-based or DSL-based tools you fight the layout. With open-slide every slide is free React code and there is no structure constraining you.
| Aspect | open-slide | Traditional tools |
|---|---|---|
| Slide unit | React component (free code) | Markdown / DSL / drag-and-drop |
| Who writes it | AI agent from a natural-language prompt | The user manually |
| Versioning and review | Code files in Git, reviewable | Binary / proprietary file |
| Export | Static HTML or PDF, no server | Tool-dependent |
The bottom line
open-slide offers a new approach to presentations: instead of wrestling with templates, you describe what you want and the AI agent builds React code that you can edit, version, and export with a click. For anyone already working with Claude Code or another coding agent, this is a natural way to produce professional presentations without leaving the chat, another example of how AI agents automate entire tasks end to end.

