Skip to content
Klarhimmel UI

Developer docs

Template

A documentation landing page for a developer product (Lodestar, an API for maps): the install command above the fold, a real terminal session, a three-step quickstart with copyable code, the guides, the latest releases and who builds on it. Near-black and green, monospaced, dense.

npx shadcn add @klarhimmel/template-developer-docs
developer-docs previewdeveloper-docs preview

Install

npx shadcn add @klarhimmel/template-developer-docs

The page

9 sections, in order

Each section is one block with this template's own copy. The anchor is the id in-page links point at.

AnchorBlockContent
#topnavigation/simpleLodestar
#herohero/installMaps, routes and places in one API
#demofeatures/terminalFrom install to a route in one terminal
#quickstartsteps/numberedYour first request in three steps
#guidesfeatures/gridLearn the parts you need
#changelogcontent/timelineWhat shipped lately
#used-bylogo-cloud/rowBuilt on Lodestar
#startcta/bannerGet a key and make your first call
#footerfooter/link-columnsLodestar

Install

CLI

npx shadcn add @klarhimmel/template-developer-docs

pnpm

pnpm dlx shadcn@latest add @klarhimmel/template-developer-docs
Style
  • Klarhimmel
  • Geist / Geist
  • radius 8
Needs
React 19, Tailwind CSS v4 and the theme import. The page and every block it uses land under components/klarhimmel/. New project? Set it up once: /get-started/installation.

Mount it

The CLI puts the page in components/klarhimmel/templates/. It wraps itself in Theme, so render it anywhere, once the theme.css import from Installation is in your main CSS. theme.css loads every font family; for production import theme-core.css and only the fonts/<family>.css files you use.

App.tsx
// src/App.tsx
import DeveloperDocsTemplate from '@/components/klarhimmel/templates/developer-docs';

export default function App() {
  return <DeveloperDocsTemplate />;
}

Before you ship

Wire these before shipping

The template is a finished page with placeholder wiring. These are yours to connect.

Links

#section links jump within the page. Links to https://example.com are placeholders: point them at your own pages.

Forms

Set action on the footer newsletter (it is /replace-with-your-endpoint now). With method: 'post' the form submits natively, with no JavaScript. The live demo never submits.

Style

Uses the default Klarhimmel palette, Geist fonts, radius and spacing. Import theme.css after Tailwind.