UI System
The UI system is the shared presentation layer for MDX content. Its job is to make reusable patterns easy without letting one-off page styling become the default architecture.UI Surfaces
Component Taxonomy
Live inventory found 59 JSX component files undersnippets/components/, including 24 in x-archive/.
The component framework still contains aspirational or stale counts. Contributors should validate against the filesystem before relying on counts in narrative docs.
Template System
Templates live undersnippets/templates/ and are surfaced through:
docs-guide/catalog/ui-templates.mdxdocs-guide/catalog/templates-catalog.mdx.vscode/templates.code-snippets- preview routes in the docs guide where configured
Generated section: This section is synchronized by
operations/scripts/generators/components/library/generate-ui-templates.js. Do not edit the generated block by hand. Generated Template Inventory
Runnode operations/scripts/generators/components/library/generate-ui-templates.js --write to refresh this generated section from snippets/templates/**.
//: # (AUTO-GENERATED:UI-TEMPLATES:END)
Style Governance
Authoring Workflow
- Check
snippets/components/anddocs-guide/catalog/components-catalog.mdxbefore creating UI. - If a template exists, start from
snippets/templates/or generated VS Code snippets. - If a new component is required, place it in the correct taxonomy folder and add required metadata.
- Keep data outside the component unless the component is explicitly an integrator.
- Run component and staged validation before handing work back.
UI System Gaps
Related
docs-guide/frameworks/component-framework-canonical.mdxdocs-guide/frameworks/styles-engineering-guide.mdxdocs-guide/catalog/components-catalog.mdxdocs-guide/catalog/ui-templates.mdxsnippets/guide.mdx