Skip to content
aicoolies logo
Starlight logo

Starlight

Build stellar documentation with Astro

Starlight is an open-source Astro-based documentation theme from the Astro team that produces fast, accessible, SEO-friendly docs sites with minimal config. Ships dark mode, full-text search via Pagefind, versioned navigation, i18n, auto-generated sidebars, and beautiful defaults out of the box. Ideal for open-source projects, product docs, and technical handbooks that want first-class performance.

About Starlight

Starlight is a documentation theme built on top of Astro that provides a full-featured, accessible, and performant documentation website framework with minimal configuration. It solves the challenge of building documentation sites that are fast by default by leveraging Astro's zero-JavaScript architecture — shipping static HTML with no client-side JavaScript for content pages while islands hydrate only where interactivity is needed. Writers focus on Markdown or MDX while Starlight handles layout, navigation, theming, and search automatically.

Its feature set includes light and dark mode with automatic theming, full-text search powered by Pagefind with no external service required, versioned documentation with branch-based navigation, internationalization with per-language content trees, autogenerated sidebars from file structure, table-of-contents components, reading time hints, and extensive customization via Astro components or CSS variables. Starlight also exposes slots and component overrides, so teams can drop in custom headers, footers, or landing-page hero sections without forking the theme.

Starlight is ideal for open-source maintainers, product teams, and technical writers who want a polished documentation site without the overhead of configuring Docusaurus, VitePress, or a custom Next.js setup. The project is maintained by the Astro core team, ships frequent releases, and has become a common choice for library docs and developer handbooks across the JavaScript ecosystem, often compared to VitePress and Docusaurus as the 'batteries included Astro' option.

Pricing & Platform Specs

Pricing Summary

100% free and open-source static documentation framework built on Astro under the MIT License ($0). Delivers zero client-side JavaScript by default for optimal Lighthouse performance, built-in offline Pagefind full-text search without cloud API dependencies, native internationalization (i18n) with RTL layout support, Expressive Code syntax highlighting, and Markdown/MDX component support with zero licensing or usage fees across any static hosting provider.

full pricing breakdown →

Supported Platforms

Node.js (Astro)

Explore categories, tags & use cases

Beautiful documentation that converts

AI-powered documentation platform that transforms markdown into beautiful, searchable docs sites with minimal config. Features AI writing suggestions, auto API reference generation from OpenAPI specs, built-in analytics, versioning, custom domains, and a web editor for non-technical contributors. Supports MDX for interactive components. GitHub integration for CI/CD updates. Used by Anthropic, Cursor, Turso, and hundreds of developer-focused companies.

freemium

Build optimized documentation sites

Meta's open-source documentation framework built on React with MDX support, versioning, internationalization, and search. Powers documentation sites for many open-source projects with 58k+ GitHub stars. The standard choice for open-source projects that need professional documentation with minimal setup, offering blog support and plugin extensibility alongside core docs features.

Open Source

Vite & Vue powered static site generator

Static site generator built on Vite and Vue.js for fast documentation sites. Write in Markdown with embedded Vue components. Automatic sidebar from file structure, full-text search, dark mode, i18n, code group tabs, and customizable themes with Tailwind CSS. Minimal JavaScript for near-instant page loads. Created by Evan You (Vue/Vite creator). Powers Vue, Vite, and Pinia docs. The standard docs tool for Vue ecosystem projects.

Open Source

Side-by-Side Comparisons

Community experience

Sources & verification

Sources checked
Content verified

Verification dates are editorial checks. Routine CMS saves and automatic updatedAt timestamps do not advance them.

FAQ

What is Starlight?

Starlight is an open-source Astro-based documentation theme from the Astro team that produces fast, accessible, SEO-friendly docs sites with minimal config. Ships dark mode, full-text search via Pagefind, versioned navigation, i18n, auto-generated sidebars, and beautiful defaults out of the box. Ideal for open-source projects, product docs, and technical handbooks that want first-class performance.

Is Starlight free?

Yes — Starlight is open source and free to use. 100% free and open-source static documentation framework built on Astro under the MIT License ($0). Delivers zero client-side JavaScript by default for optimal Lighthouse performance, built-in offline Pagefind full-text search without cloud API dependencies, native internationalization (i18n) with RTL layout support, Expressive Code syntax highlighting, and Markdown/MDX component support with zero licensing or usage fees across any static hosting provider.

Is Starlight open source?

Yes — Starlight is open source.

Is Starlight still maintained?

Yes — Starlight is active. Its listing was last verified on September 6, 2026.

What are the best Starlight alternatives?

The first editor-selected Starlight alternatives are Mintlify, Docusaurus, VitePress.