Getting started

Install the theme and render your first page.

Welcome to Compose, a documentation theme now available for Astro. This page is rendered from shared MDX in packages/content, using components that work the same across the Astro and (soon) Next.js apps.

Content lives once in @compose/content; each app renders it with equally-named components, so the source stays identical across frameworks.

Install

Add the theme packages to your app, point your content collection at @compose/content, and start the dev server.

bun add @compose/styles @compose/theme-config @compose/search-core
bun run dev
Bash
See the components