Skip to content
Netlify Docs
For the complete Netlify documentation index, see llms.txt. Markdown versions of any documentation page are available by appending .md to its URL.

The new Netlify experience is here. Learn more or join the waitlist.

Formatting samples

This page demonstrates all available custom components used throughout the Netlify documentation site.


Body text sets the reading rhythm for every page. It can include bold text, italic text, inline code, an internal link, and an external link.

A blockquote sets a quotation apart from the surrounding text.

  • Unordered list item
  • Unordered list item with bold text
    • Nested list item
    • Nested list item with inline code
  • Unordered list item with a link
  1. Ordered list item
  2. Ordered list item
    1. Nested ordered list item
    2. Nested ordered list item
  3. Ordered list item
Property Type Description
name string The display name.
enabled boolean Whether the option is on.
docs string A link to the reference.

Creates internal links within the documentation with consistent styling.

Displays navigation paths in the Netlify UI.

Navigate to Project configuration General in your dashboard.


Embeds YouTube videos with responsive design.

Displays images that can be clicked to zoom.

Architectural diagram showing how Connect works


Creates expandable content sections.

Creates tabbed content sections.

Terminal window
npm create astro@latest -- --template starlight

Spark UI buttons in each variant. With href, a button renders as a link.

Without href, it renders as a <button>.

Shows one variant of the content at a time. Pages that use it hold the table of contents until the selection is applied.

Select your language:

Write your function in a .mts file.

Write your function in a .mjs file.


Terms from the glossary get an info button on their first mention in running text. Open a Deploy Preview to share changes before they go live, or point a custom domain at your project.

DefaultNoteTipCautionDangerSuccess
SmallMediumLarge

To style a numbered list of tasks to create step-by-step guides, use the <Steps> component. This component is auto-imported, so no manual import is needed.

  1. Create your numbered list content within the <Steps> component.

  2. Each numbered item will be automatically styled as a step.

  3. Use this for tutorials, installation guides, or any sequential process.

Displays important information in styled boxes.

Displays pricing information for features.

This feature is in Beta and is available on all pricing plans.

Includes reusable content snippets. The snippet content is below:

To help you fix failed deploys, Netlify offers AI capabilities that diagnose and suggest solutions for deploy failures and build errors so you can get back to shipping code.

Learn more about Netlify’s AI capabilities to give solutions for failed deploys.


Creates promotional content cards.

Displays third-party integration widgets.

Start a deploy after form submissions
Netlify
Use this zap

Creates Deploy to Netlify buttons.

Deploy to Netlify


Card title

Cards group a short description with related links.

Overview
Get started

Two columns

The default grid lays cards out in two columns.

Second card

Cards in a row share the same height.

Three columns
Set threeColumns for a denser grid.
Second card
Short text.
Third card
Short text.

Creates visual flow diagrams for request processing.

Security

Compute

Caching

Static routing


function demo() {
// This line (#2) and the next one are highlighted
return 'This is line #3 of this snippet';
}
example-diff.js
function thisIsJavaScript() {
console.log('Old code to be removed')
console.log('New and shiny code!')
}

This covers the main components available in the Netlify documentation system.

The diagram components work together to create visual flow diagrams:

  • RequestDiagram: Container with legend
  • RequestDiagramItem: Individual process steps with 3D styling
  • RequestDiagramArrow: Connecting arrows between steps
  • RequestDiagramFork: Branching layout for complex flows

Each component supports different types (security, compute, cache, static-routing) that correspond to different colors in the legend.

Last updated: