Grain
A clear, product-focused documentation theme inspired by Better Auth.
Loading documentation…
Grain is a focused documentation shell with a structured sidebar, breadcrumbs in the header, and a quiet reading column. Its visual direction is inspired by Better Auth: restrained borders, a compact header, and an interface that keeps product documentation in the foreground.
Choose Grain in heyo-docs.config.ts and set the initial color mode. system
follows the visitor's operating-system preference; light and dark select a
fixed initial palette. A visitor can still switch modes from the interface.
The official React Router, Next.js, and Astro integrations generate and load
Grain's stylesheet from the selected theme automatically. To customize
colors, radius, or typography, see
Overriding styles.
Grain keeps navigation, search, and group tabs in the sidebar. On desktop the header shows the current breadcrumb, while the article remains the primary reading surface. Override semantic CSS variables to adapt color, radius, or typography without changing the page structure.