Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A simple, modern and readable HTML template for your APIs documentations.
API Documentation HTML Template is a free, static HTML template for building readable API reference sites, shipping with two demo layouts and powered by vanilla JavaScript after version 1.0.5 removed jQuery.
API Documentation HTML Template is a simple, modern and readable HTML template designed for API documentations. It takes plain HTML content and presents it in a clean, three-column layout with a sidebar navigation menu, a content area, and optional code highlighting. The template runs entirely in the browser with no build step or server-side dependencies, and is maintained on GitHub where the repository has earned 245 stars. It is authored by Florian Nicolas and includes contributions from TheStami for the one-content-column variant.
one-content-column-version CSS class to the body element..central-overflow-x to wrap wide tables in a horizontal scroll area and .break-word to break long URLs without a scrollbar.Simply download the HTML files from the repository, open one in an editor, and replace the sample content with your own API details. To use the one-content-column version, add the one-content-column-version CSS class to the body element, as shown in the one-content-column.html example file. The template includes utility classes such as central-overflow-x for tables that might overflow the central column.
Yes, it is free to use. The project README states "This is a simple HTML template, do whatever you want with this!" and the repository is publicly available on GitHub.
No, it is a plain static HTML template. There are no npm dependencies, no React or similar frameworks, and no build tooling. You can open the HTML file directly in a browser or host it on any static web server.
Yes, it includes a responsive design with a burger icon menu button that expands the sidebar navigation. The layout adapts to smaller screens to keep the documentation readable.
The template bundles Highlight.js version 9.8.0 for color-coded code blocks. It also loads Roboto and Source Code Pro fonts from Google Fonts to keep the typography consistent.
Use the provided utility classes. Add central-overflow-x to a table to give it a horizontal scroll container, or add break-word to inline code so long URLs wrap instead of causing an overflow or a scrollbar.
