Skip to main content

UI System

This page tracks the internal UI authoring system for contributors and agents. It covers the governed component inventory, canonical template sources, and the generated VS Code snippets used to assemble new documentation pages.

Components

  • Governed JSX components live in snippets/components/.
  • The generated component inventory lives in docs-guide/catalog/components-catalog.mdx.
  • Component snippets are generated from docs-guide/config/component-registry.json.

Templates

The section below is generated from the canonical snippets/templates/** source tree.
Generated section: This section is synchronized by operations/scripts/generators/components/library/generate-ui-templates.js. Do not edit the generated block by hand.

Overview

  • Canonical page templates live in snippets/templates/pages/** and generate one direct preview route each.
  • Canonical block templates live in snippets/templates/blocks/** and render together on /templates/blocks/block-examples.
  • Generated authoring snippets live in .vscode/templates.code-snippets and .vscode/components.code-snippets.

Source Tree

snippets/templates

Page Templates

TemplateSourcePreviewSnippet PrefixDescription
FAQ Page Templatesnippets/templates/pages/faq-page.mdxviewtemplate-faq-pageCopy-ready FAQ page scaffold with canonical frontmatter and AccordionGroup structure.
How-To Page Templatesnippets/templates/pages/how-to-page.mdxviewlp-howtoTask-oriented page scaffold with prerequisites, steps, validation, and a next-step CTA.
Navigation Page Templatesnippets/templates/pages/landing-and-navigation/navigation-page.mdxviewtemplate-navigation-pageCopy-ready navigation page scaffold with route cards for readers who need a section map.
Portal Page Templatesnippets/templates/pages/landing-and-navigation/portal-page.mdxviewtemplate-portal-pageCopy-ready portal landing page scaffold with frame-mode hero content and mission cards.
Landing Frame Page Templatesnippets/templates/pages/landing-frame-page.mdxviewlp-landing-frameFrame-mode landing page scaffold with hero content, start-here cards, and key-path cards.
Overview Page Templatesnippets/templates/pages/overview-page.mdxviewlp-overviewReusable overview page scaffold with an overview section, key ideas, and related links.
OpenAPI Endpoint Templatesnippets/templates/pages/reference-and-api/openapi-endpoint-page.mdxviewtemplate-openapi-endpoint-pageCopy-ready OpenAPI endpoint page scaffold with canonical reference frontmatter.
Reference Page Templatesnippets/templates/pages/reference-page.mdxviewlp-referenceLookup-oriented reference scaffold with inputs, outputs, and a concrete example.
Multi-View Setup Templatesnippets/templates/pages/setup-and-code-layouts/multi-view-page.mdxviewtemplate-multi-view-pageCopy-ready scaffold for setup guides that switch between platform or environment views and include nested mode tabs, code blocks, reference cards, and validation steps.
Troubleshooting Page Templatesnippets/templates/pages/troubleshooting-page.mdxviewtemplate-troubleshooting-pageCopy-ready troubleshooting page scaffold with Symptom, Cause, Fix, and Verify sections.
Tutorial Page Templatesnippets/templates/pages/tutorial-page.mdxviewlp-tutorialEnd-to-end tutorial scaffold with goals, prerequisites, steps, and follow-up links.

Block Templates

TemplateSourcePreviewSnippet PrefixDescription
Comparison Matrix Templatesnippets/templates/blocks/comparison-matrix.mdxblock examplestemplate-comparison-matrixReusable comparison and decision matrix for product or architecture choice pages.
Comparison Table Blocksnippets/templates/blocks/comparison-table.mdxblock examplestemplate-comparison-tableReusable comparison table block for choosing between options, workflows, or deployment paths.
Related Pages Cards Blocksnippets/templates/blocks/related-pages-cards.mdxblock examplestemplate-related-pagesReusable related-pages card group for end-of-page CTA sections.
Related Pages CTA Templatesnippets/templates/blocks/related-pages-cta.mdxblock examplestemplate-related-pages-ctaReusable related-pages block template for routing readers to the next two pages.
//: # (AUTO-GENERATED:UI-TEMPLATES:END)

Snippets

  • Generic MDX helpers remain in .vscode/mdx.code-snippets.
  • Page/block template snippets are generated into .vscode/templates.code-snippets.
  • Component tag snippets are generated into .vscode/components.code-snippets.
Last modified on April 7, 2026