Skip to main content
Generation Script: This file is generated from script(s): tools/scripts/generate-ui-templates.js.
Purpose: UI template catalog, preview routes, and snippet inventory derived from canonical template sources.
Run when: Page/block templates or component registry examples change.
Important: Do not manually edit this file; run node tools/scripts/generate-ui-templates.js --write.

Source of Truth

  • Canonical page templates live in snippets/templates/pages/**.
  • Canonical block templates live in snippets/templates/blocks/**.
  • Generated VS Code snippets live in .vscode/templates.code-snippets and .vscode/components.code-snippets.
  • Direct preview routes live under v2/templates/** and are intentionally excluded from docs.json navigation.

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.
OpenAPI Endpoint Templatesnippets/templates/pages/openapi-endpoint-page.mdxviewtemplate-openapi-endpoint-pageCopy-ready OpenAPI endpoint page scaffold with canonical reference frontmatter.
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.

Generated Outputs

  • docs-guide/catalog/ui-templates.mdx
  • v2/templates/pages/**/<name>-template.mdx
  • v2/templates/blocks/block-examples.mdx
  • .vscode/templates.code-snippets
  • .vscode/components.code-snippets
Last modified on March 16, 2026