Compose

Compose is a documentation theme built three times over: once for Hugo, once for Astro and once for Next.js. Same design, same conventions, three frameworks.

Most themes make you check whether they support your stack before you can even consider them. This one has no wrong answer. The framework is your decision rather than the theme's.

Try it

What you get

  • A finished site, not a starter. Docs, blog, tags and categories, section landing pages, breadcrumbs, pagination and a 404 page, all built and working.
  • Instant search with Pagefind, indexed from the built HTML. No account, no quota, no bill.
  • A code block that behaves. Shiki highlighting at build time, so no highlighter reaches the browser, with a hover toolbar for copy, line numbers, soft wrap and expanding long snippets.
  • Mermaid diagrams and Chart.js charts written straight into your MDX, with charts that can read from a JSON, YAML, TOML or CSV file.
  • Dark mode that never flashes, resolved before the page paints.
  • Multiple documentation sections, each with its own sidebar, pager and tag namespace.
  • Every string translatable from one config object.

Free and paid

The Hugo theme is free and MIT licensed, on GitHub.

The Astro and Next.js ports are sold together as one purchase: perpetual, unlimited sites, client work included, with 12 months of updates.

Get Compose for Astro and Next.js