Prometheus Design System v0.2.0 — WIP

InfoPageLayout

Centered, max-width page layout wrapper for status/info pages.

Description

Centered, max-width page layout wrapper for status/info pages. Sets a max-width of 1000px and appropriate top margin. Equivalent to InfoPageStack in the Prometheus source.

✓ Do
  • Info/status pages (status, build info, TSDB, flags)
  • Pages composed of multiple InfoCard components
  • Consistent centering and max-width for content pages
✗ Don’t
  • List/accordion pages (Alerts, Rules, Targets)
  • Query page (uses its own custom layout)
  • Hardcoding maw={1000} on individual Stacks

Design

Layout Structure
max-width: 1000px, centered
Card 1
Card 2
Where this component exists in the Prometheus UI
View in Prometheus UI → /status InfoPageLayout on the Status page — stacked card layout

InfoPageLayout on the Status page — stacked card layout

Implementation

From components/InfoPageStack.tsx in the Prometheus codebase:

const InfoPageStack: FC<{ children: ReactNode }> = ({ children }) => {
  return (
    <Stack gap="lg" maw={1000} mx="auto" mt="xs">
      {children}
    </Stack>
  );
};

Layout Specs

PropertyValue
Max Width1000px
Gap20px (lg) default
Margin Top8px (xs) default
Padding0 (handled by AppShell main padding 16px)

Accessibility