@mlc12/slide-editor-react
v0.1.0
Published
Embeddable React 19 presentation editor with Slide AI streaming, PPTX import, and editable PPTX export.
Downloads
17
Maintainers
Readme
@mlc12/slide-editor-react
Embeddable React 19 presentation editor built with Vite, shadcn/ui-compatible primitives, Recharts, and a per-editor Zustand store.
pnpm add @mlc12/slide-editor-react react react-domimport { PPTEditor } from "@mlc12/slide-editor-react"
import "@mlc12/slide-editor-react/styles.css"
export function PresentationPage() {
return (
<div style={{ height: "100svh" }}>
<PPTEditor
defaultDocument={document}
onChange={({ document: nextDocument }) => saveDraft(nextDocument)}
/>
</div>
)
}The host element must have an explicit height. AI, image search, and remote templates are supplied through PPTEditor adapters, so provider keys stay in the host application. The package contains compiled output, CSS, and its TypeScript source.
License
GNU AGPL-3.0-only. This is a modified work derived in part from PPTist; see NOTICE and LICENSE.
