Lotus
Type to search documentation.

Prosefly themeBeautiful UIAccessible shellPageSpeed 100

Beautiful Astro docs, fast and accessible.

Lotus gives Astro developers a polished documentation shell with MDX, responsive navigation, search, i18n, dark mode, and design tokens. Your project stays in 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.

Configuretheme.config.json
{
  "$schema": "https://astro-theme-lotus.prosefly.dev/schema.json",
  "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

Shared appearance tokens

Components respond to the same accent, gray scale, radius, and color mode as Lotus.
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

Good-looking docs that stay accessible and fast.

Lotus pairs restrained visual defaults with semantic navigation, keyboard-friendly controls, and static-first output. The demo keeps external quality reports one click away without turning the homepage into a score dashboard.

  • Polished docs UI
  • Accessible navigation
  • Minimal client JavaScript

Add Lotus to an existing Astro project.

Install the theme package, add theme.config.json, and register the docs content collection.

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

export default defineConfig({
  integrations: [lotus()],
});
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.