Skip to content

Astro theme by Astro

Starlight

The official documentation theme from the Astro team: sidebar navigation, built-in search, translations and dark mode out of the box.

MIT Free for commercial and client use. Keep the license file; no visible credit needed.

Starlight on a desktop screen
Starlight on a phone
MIT

The license in plain words

Use it for anything, including paid client work, change it however you like and even share your changed copy. The one rule: keep the copyright notice and license text with the code (for example the LICENSE file). You do not have to show a credit on the page.

  • Commercial and client sitesYes
  • Change the code and designYes
  • Visible credit requiredNo
  • Keep the license text in the filesYes

Checked on October 27, 2026 from the LICENSE file in the source repository (Copyright (c) 2023 [Astro contributors](https://github.com/withastro/starlight/graphs/contributors)). Full text: MIT License. The license file that comes with the template is what counts. This is not legal advice.

Who it suits

Good to know: Needs Node.js to build.

How to use it

This is a Astro theme, so it is not a single HTML file: you write pages in Markdown and Astro builds the site. It needs Node.js on your computer, or a host that builds it for you.

  1. Start from the theme's guide. Open the GitHub repository and follow its install steps; most themes offer a starter you can copy in one click.
  2. Write your pages in Markdown. Each post or page is a simple text file.
  3. Publish. Free hosts like GitHub Pages, Netlify and Cloudflare Pages can build Astro sites automatically when you push changes.
  4. Keep the license. Leave the LICENSE file in the theme folder.

Prefer plain HTML with no build step? Try our originals or a plain HTML template.

Something changed with this template?

Similar templates

Editorial template home page
CC BY 3.0HTML5 and CSS (Sass)

Editorial

by HTML5 UP

Good for blog, school, course and tutor, nonprofit, church and community

Docsy template home page
Apache-2.0Hugo + Bootstrap

Docsy

by Google

Good for documentation and help center, school, course and tutor, startup and SaaS

Just the Docs template home page
MITJekyll

Just the Docs

by Just the Docs

Good for documentation and help center, school, course and tutor

Material for MkDocs template home page
MITMkDocs

Material for MkDocs

by Martin Donath

Good for documentation and help center, school, course and tutor

Made a free template, or found one we should list? Suggest it.