Technical documentation site

Example image of the style Technical documentation site
Preview built in HTML and CSS in this style

Docs site · Developer docs · Documentazione per sviluppatori · Docusaurus look · Read the Docs · API reference · Documentación técnica

The pages programmers use to learn a piece of software. A sidebar with the section tree, clear central text, syntax-highlighted code blocks with a copy button, callout boxes and an on-page table of contents on the right.

Era
2010 – today
Origin
Comunità open source (globale)
Use
Mainstream
Domain
Web / UI
Mood
rationalclean
Explore

Live demo

View code
<div class="top"><b>🚲 velo.js</b><span class="v">v3.2 ▾</span><span class="se">Cerca  ⌘K</span></div><div class="g"><nav><p class="h">Introduzione</p><p>Installazione</p><p class="on">Primi passi</p><p>Configurazione</p><p class="h">API</p><p>pedala()</p><p>frena()</p></nav>
<main><h1>Primi passi</h1><p>Installa il pacchetto e crea il tuo primo percorso.</p><pre><span class="cp">Copia</span><i class="c">// percorso.js</i>
<b class="k">import</b> { pedala } <b class="k">from</b> <s>'velo.js'</s>;
pedala({ verso: <s>'Caffè Velò'</s>, km: <u>3</u> });</pre><div class="tip"><b>💡 Suggerimento</b> Usa <code>frena()</code> prima delle curve.</div><p class="nx"><span>← Installazione</span><span>Configurazione →</span></p></main>
<aside><b>In questa pagina</b><p class="on">Installazione</p><p>Primo percorso</p><p>Passi successivi</p></aside></div>
body{background:#fff;font-family:Inter,sans-serif;color:#1C1E21;font-size:12px}
.top{display:flex;align-items:center;gap:14px;padding:8px 16px;border-bottom:1px solid #e3e3e3;box-shadow:0 1px 2px #0001}.top b{font-size:14px}.v{font-size:11px;color:#606770}.se{margin-left:auto;background:#F5F6F7;border-radius:6px;padding:4px 60px 4px 10px;color:#888;font-size:11px}
.g{display:grid;grid-template-columns:140px 1fr 130px}
nav{border-right:1px solid #eee;padding:8px 10px}nav p{margin:0 0 3px;padding:3px 6px;border-radius:4px;color:#444}nav .h{font-weight:700;color:#1C1E21;margin-top:6px}nav .on{background:#2E855520;color:#2E8555;font-weight:600}
main{padding:8px 20px}h1{font-size:24px;margin:2px 0 6px}main p{margin:0 0 8px}
pre{position:relative;background:#282A36;color:#F8F8F2;border-radius:8px;padding:10px 12px;font:11px/1.6 'JetBrains Mono',monospace;margin:0 0 8px;white-space:pre}.c{color:#6272A4;font-style:normal}.k{color:#FF79C6;font-weight:400}s{text-decoration:none;color:#F1FA8C}u{text-decoration:none;color:#BD93F9}
.cp{position:absolute;right:8px;top:6px;font:10px Inter;border:1px solid #555;border-radius:4px;padding:1px 6px;color:#ccc}
.tip{background:#e6f6e6;border-left:5px solid #2E8555;border-radius:6px;padding:7px 10px}.tip b{display:block;margin-bottom:2px}code{background:#0000000d;border-radius:4px;padding:1px 4px;font-family:'JetBrains Mono'}
.nx{display:flex;gap:10px}.nx span{flex:1;border:1px solid #ddd;border-radius:6px;padding:6px;color:#2E8555;font-weight:600}.nx span+span{text-align:right}
aside{padding:10px;font-size:11px;color:#606770}aside b{color:#1C1E21}aside p{margin:4px 0;border-left:2px solid transparent;padding-left:6px}aside .on{border-color:#2E8555;color:#2E8555}

Characteristics

  • Three columns: navigation, content, on-page contents
  • Dark code blocks with highlighting and a Copy button
  • Coloured Note, Tip and Warning callouts
  • Search with a ⌘K shortcut and version picker
  • «← Previous · Next →» buttons at the bottom

Palette

Click a swatch to copy it

Typography

Headings · Inter Technical documentation site

Body · Inter The pages programmers use to learn a piece of software. A sidebar with the section tree, clear central text, syntax-highlighted code blocks with a copy button, callout boxes and an on-page table of contents on the right.

Prompt for your agent

Copy and paste into your prompt to have an agent or image generator reproduce this style.

For web pages and UI

Design the web page or interface in this style: Technical documentation site (Docs site, Developer docs).
The pages programmers use to learn a piece of software. A sidebar with the section tree, clear central text, syntax-highlighted code blocks with a copy button, callout boxes and an on-page table of contents on the right.
Characteristics: Three columns: navigation, content, on-page contents, Dark code blocks with highlighting and a Copy button, Coloured Note, Tip and Warning callouts, Search with a ⌘K shortcut and version picker, «← Previous · Next →» buttons at the bottom.
Palette: #FFFFFF, #F5F6F7, #1C1E21, #2E8555, #282A36, #FFBA00.
Typography: headings in Inter, body text in Inter (Google Fonts or equivalents).
Mood: rational, clean.
References: Docusaurus, Read the Docs, MDN Web Docs, GitBook, Stripe Docs.

Relations

Similar to: Code editor UICode editor UISimilar to: Encyclopedia wikiEncyclopedia wikiSimilar to: Document UIDocument UIContrasts with: ScrollytellingScrollytellingTechnical documentation site
Similar toContrasts withSee in the graph →

References

  • Docusaurus
  • Read the Docs
  • MDN Web Docs
  • GitBook
  • Stripe Docs