Skip to content
Navigation

Primary

Content blocks

Blocks that sit in the page text: alerts, steps, tabs, examples and more.

Component Purpose
Alert A note, tip or warning next to the text
Details An extra explanation that the reader opens on demand
Interactive example A live result next to its source code
Steps A numbered instruction of several steps
Tabs Several equivalent options, for example for different systems
File tree The structure of the project’s folders and files
Backlinks A list of the site’s pages that link to the current one

How to choose

When the reader must not miss a point, use an alert; when an announcement concerns the whole page, use an alert without a heading at the top of the page. Put an ordered procedure into steps and equal options, such as commands for different systems, into tabs. Hide details that not everyone needs in a details block. An interactive example shows a live result next to its source.