PreactPress – VitePress-style documentation for Preact

zahir7771 pts0 comments

PreactPress | PreactPress

Skip to content

Menu ×

PreactPress<br>The documentation framework for Preact.<br>PreactPress<br>The documentation framework for Preact<br>Build fast documentation, blogs and product sites with Markdown, MDX, Preact and Vite.<br>Get startedView demoGitHub

MarkdownMDXPreactStatic docs

Terminal — zsh<br>~%pnpm dlx @kamod-ch/preactpress init my-docs --template docs~%cd my-docsmy-docs%pnpm installmy-docs%pnpm dev

Interactive demo<br>A small MDX example<br>Author mostly in Markdown, then drop in Preact components exactly where the page needs interactivity.

pages/interactive.mdx<br>1import { Counter } from'./components/Counter'23# Interactive documentation45

Rendered result<br>Interactive documentation<br>−0+

Three main benefits<br>Focused on Preact documentation

01Preact components in MDX<br>Bring interactive examples, demos and product-specific widgets into otherwise simple content.<br>02Documentation features included<br>Navigation, sidebars, local search, outlines, tags, i18n and validation are ready in the docs template.<br>03Static deployment anywhere<br>Build once and publish the generated files to GitHub Pages, Netlify, Vercel, Cloudflare Pages or any static host.

Template gallery<br>Start with the shape of site you need

Documentation<br>The full reference starter used for this public demo.<br>pnpm dlx @kamod-ch/preactpress init my-docs --template docsCopy

Product + Docs<br>A polished product landing page with a complete documentation area.<br>pnpm dlx @kamod-ch/preactpress init my-site --template honoCopy

Magazine<br>A custom editorial theme for articles, tags and content-heavy sites.<br>pnpm dlx @kamod-ch/preactpress init my-mag --template magazineCopy

Minimal<br>A small starter with a home page, an about page and one guide.<br>pnpm dlx @kamod-ch/preactpress init my-docsCopy

Comparison<br>Pick the documentation tool that matches your stack<br>Each tool has a clear audience. PreactPress is for teams that want documentation built around Preact and MDX.

ProductComponentsBest forPreactPressPreact + MDXPreact documentationVitePressVueVue documentationDocusaurusReactLarge documentation portalsStarlightAstroCross-framework content sites

References<br>Used in real Kamod projects<br>PreactPress is not only a starter. It is used across Kamod documentation and open-source projects.

PreactPress documentation The public reference site you are reading now.OpenKamod UI Preact + Tailwind components that can be documented and demonstrated with MDX.OpenKamod Hooks A Preact hooks library with documentation built around the same tooling stack.OpenHono starter template A product-and-docs starter shipped with PreactPress.OpenMore Kamod projects Additional open-source projects from Kamod GmbH.Open

preactpress documentation preact docs kamod pnpm

Related Articles