Tern: documentationPRO
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.
The source is part of Ballmac UI Pro.
Log in with your licence key to read and copy it here, or install it through the shadcn CLI or the MCP server. You own the code once it is in your project.
$49 once regular price $99for this and every other Pro item. Tax included.Money back if it does not work.
Installation
Get a Pro licence key.
The source is part of Ballmac UI Pro.
Log in with your licence key to read and copy it here, or install it through the shadcn CLI or the MCP server. You own the code once it is in your project.
$49 once
regular price $99for this and every other Pro item. Tax included.Money back if it does not work.Once per project: add the Pro registry and your licence key.
components.json{ "registries": { "@ballmac": "https://ui.ballmac.com/r/{name}.json", "@ballmac-pro": { "url": "https://ui.ballmac.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${BALLMAC_LICENSE_KEY}" } } } }.env.localBALLMAC_LICENSE_KEY=your-licence-keyAdd it.
$ pnpm dlx shadcn@latest add @ballmac-pro/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
Quality scorecard
Every applicable check passes
Measured in Chromium 153.0.8010.12 on October 19, 2026, on version 1.0.1, across 5 examples.
Passed: Accessibility scan
No serious or critical issues in light and dark, on a phone and a desktop (axe-core 4.13.0, WCAG 2.1 AA and best-practice rules).
Passed: Small screens
No sideways scrolling at 360, 390 or 1280 px wide.
Passed: Reduced motion
Every endless animation stops when the visitor asks for less motion.
Not applicable: Right to left
Not mirrored by design: Contains code samples, which stay left-to-right.
Passed: Clean console
No console errors or React hydration errors while loading.
Passed: Keyboard
199 tab stops, each showing a visible change when it takes focus. 3 documented keys.
Not applicable: Loading, empty and error
Does not show data or take submissions.
Passed: Automated tests
Covered by templates-batch-d.test.tsx.
For information: Footprint
17.7 KB of source (gzip) in 13 files. Installs lucide-react.
Automated checks find a subset of problems and do not replace testing with a screen reader and a keyboard in your own app. What they miss.
Dependencies
- npm
- lucide-react
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-pro/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 (needs your licence key): https://ui.ballmac.com/r/pro/template-docs.json
Covered by the Ballmac UI Pro license.