LotusLotus
Type to search documentation.

Prosefly themeAstro v7Tailwind CSS v4MDX

Build Astro documentation without rebuilding the shell.

Lotus provides docs routes, responsive navigation, search, MDX components, and design tokens. The rest of the Astro project stays under your control.

$pnpm add @prosefly/astro-theme-lotus
Live token previewView live docs
Mobile token previewLive docs

One config, a docs collection, and generated routes.

Configure the shell once, write normal Markdown or MDX, and let the integration produce pages, Markdown source routes, and search data.

Configuresrc/theme.config.ts
export default defineLotusConfig({
  docsBase: '/docs',
  appearance: {
    accent: 'indigo',
  },
});
Writesrc/content/docs/en
  • src/content/docs/en/index.mdx
  • src/content/docs/en/installation.mdx
  • src/content/docs/en/components/callout.mdx
Read how content routing works

Use real UI components inside Markdown.

Import components from @prosefly/astro-components. Install the package directly when you use them in your own MDX.

  • Callouts for important context
  • Synced package-manager tabs
  • Steps, cards, accordions, file trees, badges, and icons
Browse all components
MDX building blocksrendered components
pnpm add @prosefly/astro-components
Steps
Cards
Accordions
appearance: {
  accent: 'indigo',
  gray: 'neutral',
  defaultMode: 'system',
  radius: 'medium',
}

Accent

Gray

Radius

Change the theme from one configuration object.

Configure accent color, gray scale, radius, and the default color mode in the Lotus theme config. Font and lower-level semantic CSS tokens stay available for project styles and local components.

Customize the theme

Fast, lightweight documentation by default.

Lotus keeps the docs shell static-first, with focused client JavaScript for navigation, search, and theme controls. External reports stay one click away without turning the homepage into a score dashboard.

  • Static output
  • Minimal client JavaScript
  • Deploy-friendly search

Add Lotus to an existing Astro project.

Install the theme package, pass the theme config directly to the integration, and register the docs content collection.

Read the installation guide
astro.config.tsReady
import { defineConfig } from 'astro/config';
import lotus from '@prosefly/astro-theme-lotus';
import themeConfig from './src/theme.config';

export default defineConfig({
  integrations: [lotus(themeConfig)],
});
Packages
@prosefly/astro-theme-lotus + @prosefly/astro-components
Content collection
docsLoader() + docsSchema()
Docs route
/docs on this site

The homepage remains a normal Astro route.