Skip to content

PreactPress

The documentation framework for Preact libraries, APIs, and AI coding agents.

PreactPress

The documentation framework for Preact libraries, APIs, and AI coding agents

Ship library docs with MDX, TypeDoc, live playgrounds, validation, and AI-ready exports — all static, all Preact.

PreactPress in 30 seconds

Interactive demo

A small MDX example

Author mostly in Markdown, then drop in Preact components exactly where the page needs interactivity. Use the file tabs above the editor to open the MDX page or the full Counter.tsx source.

import Counter from"./components/Counter.tsx"# Interactive documentation<Counter initial={3} />
import { useState } from"preact/hooks"export function Counter({ initial = 0 }: { initial?: number }) {  const [count, setCount] = useState(initial);  return (    <div style={{ display: "inline-flex", alignItems: "center", gap: "0.5rem" }}>      <button        type="button"        onClick={() => setCount((value) => value - 1)}        aria-label="Decrease count"      >        −      </button>      <span>{count}</span>      <button        type="button"        onClick={() => setCount((value) => value + 1)}        aria-label="Increase count"      >        +      </button>    </div>  );}export default Counter;

Rendered result

Interactive documentation

3

Three main benefits

Focused on Preact documentation

Template gallery

Start with the shape of site you need

Compare all templates →

Documentation starter preview

Reference site

Documentation

The full reference starter used for this public demo — guides, examples, search, and i18n.

  • Default docs theme
  • Full guide + examples
  • English / German locales
pnpm dlx @kamod-ch/preactpress init my-docs --template docs
Open live demo →
Blog starter preview

Technical blog

Blog

Editorial starter with RSS, tags, authors, reading time, and a content-loader home page.

  • RSS + sitemap
  • Tag + author pages
  • Engineering blog theme
pnpm dlx @kamod-ch/preactpress init my-blog --template blog
Open live demo →
Product docs starter preview

Library / SDK

Product docs

Product and developer-library documentation with guides, concepts, FAQ, and changelog.

  • Indigo SDK branding
  • Install panel + version badge
  • Edit on GitHub
pnpm dlx @kamod-ch/preactpress init my-product --template product-docs
Open live demo →
API reference starter preview

JS/TS API

API reference

Scannable API pages with MDX components for signatures, parameters, and type definitions.

  • Protocol theme
  • OpenAPI + SDK MDX helpers
  • Deep-link headings
pnpm dlx @kamod-ch/preactpress init my-api --template api-docs
Open live demo →
SaaS docs starter preview

Product + admin

SaaS docs

Landing page plus onboarding, billing, roles, integrations, API, and troubleshooting.

  • Light product theme
  • Workspace onboarding
  • Admin role hints
pnpm dlx @kamod-ch/preactpress init my-saas --template saas-docs
Open live demo →
Knowledge base starter preview

Help center

Knowledge base

Support-focused help center with search-first home, categories, and contact CTAs.

  • Search-first home
  • Category hubs
  • Support contact CTAs
pnpm dlx @kamod-ch/preactpress init my-help --template knowledge-base
Open live demo →
Product + Docs starter preview

Marketing + docs

Product + Docs

A polished marketing landing page paired with a focused documentation area and custom theme.

  • Custom Preact theme
  • Product landing + docs
  • Built-in i18n demo
pnpm dlx @kamod-ch/preactpress init my-site --template hono
Open live demo →
Magazine starter preview

Editorial

Magazine

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

  • Custom magazine theme
  • Article teasers + tags
  • Content loader home
pnpm dlx @kamod-ch/preactpress init my-mag --template magazine
Open live demo →
Minimal starter preview

Quick start

Minimal

The smallest starter: a home page, an about page, and one guide — no custom theme.

  • Default docs theme
  • Tiny file tree
  • Fastest way to try PreactPress
pnpm dlx @kamod-ch/preactpress init my-site
Open live demo →

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 Nov 2, 2026