Starlight

Starlight

WHAT IS IT?

Starlight is a documentation framework built on top of Astro. It ships everything you need to publish a clean technical docs site — navigation, search, i18n, light/dark theme, syntax highlighting — without rewriting the same boilerplate every time. You write Markdown, MDX or Markdoc, Starlight handles the rest.

WHY IS IT INTERESTING?

  • Astro under the hood: static HTML output, zero client-side JS by default, top Lighthouse scores with no extra effort.
  • Built-in search: full-text indexing via Pagefind, Ctrl+K shortcut, no external service to wire up.
  • First-class i18n: ready-to-use multi-language structure, automatic fallback to the default locale, language picker included.
  • Typed frontmatter: TypeScript content schemas validate page metadata at build time — no more silent typos.
  • Multi-framework components: drop React, Vue, Svelte or Solid into your MDX pages, Astro hydrates only what needs interactivity.
  • Customizable: plugin system, component overrides, exposed CSS design tokens — easy to bend to an existing brand.

USE CASES

  • Technical docs for an open source or internal project
  • API references and developer guides
  • Product knowledge bases with search and multi-language support
  • Migrating away from Docusaurus, MkDocs or VitePress to gain performance