Docs
Gantry, a container CLI: sidebar nav, ⌘K search, an outline that tracks your reading and MDX-ready blocks.
8 pages, 10 components, 30 files.
Pages
Installation
npx shadcn@latest add https://neonkit.heyaadi.com/r/docs.jsonWrites the pages to app/docs, their sections to components/templates/docs and adds the 10 NeonKit components it's built from. Then open /docs in your app.
Built from Alert, Command, Copy Button, Icons, Kbd, Scroll Area, Sheet, Sidebar, Table and Tabs.
Make it yours
components/templates/docs/config.ts
import type { NeonColor } from "@/lib/neon";
/** Where the template is mounted in your app. Every link between its pages starts here. */
export const basePath = "/docs";
/** The template's color. Change it here and every part of it follows. */
export const color: NeonColor = "green";
export const brand = "Gantry";
export const version = "2.8.1";
export const releasedOn = "30 Sep 2026";
export const repoUrl = "https://github.com/gantry-sh/gantry";
export const repoStars = "4.1k";
/** The install command for each package manager, shown in PackageTabs. */
export const installCommands = {
npm: "$ npm install -g @gantry/cli",
pnpm: "$ pnpm add -g @gantry/cli",
bun: "$ bun add -g @gantry/cli",
yarn: "$ yarn global add @gantry/cli",
};Change color and the whole template re-tints. To serve it somewhere else, move app/docs and update basePath; every link between its pages starts there.
What lands in your repo
30 files, all of them yours to edit.
- app/docs/[[...slug]]/page.tsx
- app/docs/layout.tsx
- app/docs/not-found.tsx
- app/docs/opengraph-image.tsx
- components/templates/docs/code.tsx
- components/templates/docs/config.ts
- components/templates/docs/content/cli-build.tsx
- components/templates/docs/content/cli-up.tsx
- components/templates/docs/content/configuration.tsx
- components/templates/docs/content/deploying.tsx
- components/templates/docs/content/index.ts
- components/templates/docs/content/installation.tsx
- components/templates/docs/content/introduction.tsx
- components/templates/docs/content/layer-stack.tsx
- components/templates/docs/content/quickstart.tsx
- components/templates/docs/content/run-diagram.tsx
- components/templates/docs/content/troubleshooting.tsx
- components/templates/docs/doc-page.tsx
- components/templates/docs/docs.ts
- components/templates/docs/feedback.tsx
- components/templates/docs/fonts.ts
- components/templates/docs/highlight.ts
- components/templates/docs/logo.tsx
- components/templates/docs/mdx.tsx
- components/templates/docs/mobile-toc.tsx
- components/templates/docs/nav.tsx
- components/templates/docs/search.tsx
- components/templates/docs/shell.tsx
- components/templates/docs/styles.ts
- components/templates/docs/toc.tsx