Ballmac UI home

Tern: documentation

A five-page documentation site: search-first landing, a guide with synced language tabs, filterable API reference, search with highlighted matches and a changelog, with ⌘K search in the header.

Open in v0 (opens in a new tab)

Installation

$ pnpm dlx shadcn@latest add @ballmac/template-docs

The page is added as a route in your app, with every block it uses.

What's inside

Pages
  • Home/docs
  • Guide/docs/guides
  • Reference/docs/reference
  • Search/docs/search
  • Changelog/docs/changelog
Fonts
Newsreader, Instrument Sans, JetBrains Mono (Google Fonts, loaded with next/font)
Files
13 files · 10 Ballmac blocks and components

Built with

Dependencies

Use with AI

Installs a five-page documentation site with ⌘K search, synced language tabs, an on-this-page list, endpoint cards and a changelog. Change content in docs-data.ts and the palette in docsCss. With the shadcn MCP server set up (guide), ask your agent:

Add the Ballmac UI Tern: documentation (@ballmac/template-docs) to this project with the shadcn MCP, then use it where it fits.

Use it for

  • Developer docs, API references and product help centres
  • Any site that needs search, a guide layout and a changelog

Not for

  • A long-form editorial site (use the publication template)
  • Marketing pages without reference content

Registry JSON: https://ui.ballmac.com/r/template-docs.json

Free to use in personal and commercial projects.