Skip to content

PreactPress

The documentation framework for Preact.

PreactPress

The documentation framework for Preact

Build fast documentation, blogs and product sites with Markdown, MDX, Preact and Vite.

MarkdownMDXPreactStatic docs
pnpm dlx @kamod-ch/preactpress init my-docs --template docscd my-docspnpm installpnpm dev

Interactive demo

A small MDX example

Author mostly in Markdown, then drop in Preact components exactly where the page needs interactivity.

import { Counter } from'./components/Counter'# Interactive documentation<Counter />

Rendered result

Interactive documentation

0

Three main benefits

Focused on Preact documentation

Template gallery

Start with the shape of site you need

Documentation

The full reference starter used for this public demo.

pnpm dlx @kamod-ch/preactpress init my-docs --template docs

Product + Docs

A polished product landing page with a complete documentation area.

pnpm dlx @kamod-ch/preactpress init my-site --template hono

Magazine

A custom editorial theme for articles, tags and content-heavy sites.

pnpm dlx @kamod-ch/preactpress init my-mag --template magazine

Minimal

A small starter with a home page, an about page and one guide.

pnpm dlx @kamod-ch/preactpress init my-docs

Comparison

Pick the documentation tool that matches your stack

Each tool has a clear audience. PreactPress is for teams that want documentation built around Preact and MDX.

ProductComponentsBest for
PreactPressPreact + MDXPreact documentation
VitePressVueVue documentation
DocusaurusReactLarge documentation portals
StarlightAstroCross-framework content sites

References

Used in real Kamod projects

PreactPress is not only a starter. It is used across Kamod documentation and open-source projects.

Last updated Jun 15, 2026