alepha@docs:~/framework/docs/packages/alepha/react$
cat sitemap.md | pretty
1 min read
Last commit: Nov 1, 2026 UTC

#Alepha - React Sitemap

#Installation

Part of the alepha package. Import from alepha/react/sitemap.

npm install alepha

#Overview

Sitemap, robots and web app manifest generation for React applications.

Exposes the $sitemap primitive, which serves a sitemap.xml built from the app's $page primitives - live at request time and prerendered to a static file at build time - $robots, a robots.txt that answers by host, and $manifest.

#API Reference

#Primitives

  • $manifest - Serve a web app manifest generated from code, and link it from every page.
  • $robots - Serve a robots.txt generated from code.
  • $sitemap - Expose a sitemap.xml generated from the application's $page primitives.